bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13557] Undef. ref. err. when linking with slim LTO obj. in stati


From: lrn1986 at gmail dot com
Subject: [Bug ld/13557] Undef. ref. err. when linking with slim LTO obj. in static lib. (mingw32 target)
Date: Mon, 05 May 2014 15:30:08 +0000

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

--- Comment #9 from LRN <lrn1986 at gmail dot com> ---
Also, to build a working static library one must use the -s option to `ar', or
(preferably) run `ranlib' on the static library (ranlib is preferable, as `ar'
from 2.24 may not do the right thing when called with -s, even if you call it
via `gcc-ar'; git versions of binutils don't have this problem).
Not doing so results in a static archive that, when slurped, looks like it only
has multiple functions, all named either __gnu_lto_slim or __gnu_lto_v1.

-- 
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]