From Fedora Project Wiki

Revision as of 22:13, 25 November 2009 by Rgrunber (talk | contribs) (moved Features/ldNoAddNeeded to Features/ChangeInImplicitDSOLinking: This new change better describes what is happening on a lower level.)

Change to the default behaviour of ld

Summary

Change the default behaviour of ld. Previously the ld command would default to --add-needed, the change would cause ld to default to --no-add-needed. This will prevent ld from automatically searching in the dependencies of linked objects.


Owner

TBA

Current status

  • Targeted release: Fedora 13
  • Last updated: 2009-11-25
  • Percentage of completion: 50%

Detailed Description

Change the default behaviour of ld. Previously the ld command would default to --add-needed, the change would cause ld to default to --no-add-needed. This will prevent ld from automatically searching in the dependencies of linked objects.

Benefit to Fedora

As described in User_talk:Valce, the new default behaviour will help address potential problems further down the line if shared objects ever change their dependencies.

Scope

Changes the default behaviour of ld, which will affect compilation.

Test Plan

  1. Run mass mock builds, notify owners of packages that have problems under the new ld.

User Experience

Some packages may need to explicitly link shared objects if they have neglected to do so.

Dependencies

None

Contingency Plan

  • Continue without such capability.

Documentation

None yet. A temporary description (still a work-in-progress) is up in User_talk:Valce

Release Notes