bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12496] Linker fails with "could not read symbols: Bad value" mes


From: hjl.tools at gmail dot com
Subject: [Bug ld/12496] Linker fails with "could not read symbols: Bad value" message
Date: Thu, 24 Feb 2011 21:12:50 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12496

--- Comment #13 from H.J. Lu <hjl.tools at gmail dot com> 2011-02-24 21:12:43 
UTC ---
(In reply to comment #12)
> > I think it is the correct behavior since the LTO version of
> > the function isn't used anyway.
> 
> Do you mean it's a linker "feature" rather then a bug? That is, if GCC
> generates a call to some function on the LTO stage, and this function is in an
> object file which is in a static library, then care should be taken to *not*
> create that object with -flto.

If a file with IR isn't used during LTO stage, it shouldn't be used
at all.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]