bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/12549] --as-needed should ignore weak references


From: rose.garcia-eggl2fk at yopmail dot com
Subject: [Bug binutils/12549] --as-needed should ignore weak references
Date: Sun, 15 Sep 2013 14:19:23 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=12549

Rose Garcia <rose.garcia-eggl2fk at yopmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |address@hidden
                   |                            |.com

--- Comment #18 from Rose Garcia <rose.garcia-eggl2fk at yopmail dot com> ---
Created attachment 7198
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7198&action=edit
as-needed patch for binutils 2.23.2

as of binutils 2.23.2, this issue still exists

gcc 4.5.4, 4.7.3 (and probably all others as well) fail to build during target
library compilation because libgcc_s.so.1 is getting used unconditionally,
despite --as-needed being passed.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58427

if libgcc_s.so happens to be installed already, this bug will go unnoticed.
in my case, the first gcc is built with --disable-shared, so no libgcc_s.so is
installed.

applying an extract of the original patch makes the gcc compilation error (and
the inclusion of libgcc_s) go away.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]