Bug 516 - Change Dynamic Shared Object (DSO) linking to be explicit
Summary: Change Dynamic Shared Object (DSO) linking to be explicit
Status: VERIFIED FIXED
Alias: None
Product: Meta-yocto
Classification: Build System, Metadata & Runtime
Component: meta-yocto (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.0 M3
Assignee: Nitin Kamble
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-11-01 08:03 UTC by Joshua Lock - Disabled
Modified: 2011-02-15 16:29 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Lock - Disabled 2010-11-01 08:03:35 UTC
By the default the gcc linker will automatically link any dependant objects/libraries.

"Inherited" linkages can cause issues, for example, where a shared object changes its dependencies but a program has come to rely on symbols from an implicitly linked library.

Fedora 13 adopted explicit link requirements and have some deeper explanation of the matter:
https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
Comment 1 Joshua Lock - Disabled 2010-11-01 08:17:43 UTC
Fedora use the following patch to gcc: http://pkgs.fedoraproject.org/gitweb/?p=gcc.git;a=blob_plain;f=gcc45-no-add-needed.patch;hb=HEAD

we may also need a slightly newer binutils
Comment 2 Nitin Kamble 2010-12-15 09:53:12 UTC
I will look into this.
Comment 3 Nitin Kamble 2011-01-07 10:10:55 UTC
(In reply to comment #1)
> 
> we may also need a slightly newer binutils

Josh,
 Why slightly newer binutils is needed ?
Comment 4 Nitin Kamble 2011-01-21 11:20:15 UTC
As of today the patch is in the master: http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=95fc6ae1649c86b5c2686385772cda35f5e7631f
Comment 5 Joshua Lock - Disabled 2011-01-28 03:43:34 UTC
Verify this as in master and working