[Bug math/20723] Static linking fails on Haswell and Sandy Bridge when certain math functions are used

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Oct 20 15:36:00 GMT 2016


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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
That wiki page explicitly says "For static builds with gcc needed to add both
options with the following order: -lmvec -lm.", but there's the question of
whether we should make libm.a into a linker script like libm.so (we don't have
any precedent for making .a files into linker scripts, however).

*** This bug has been marked as a duplicate of bug 20539 ***

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


More information about the Glibc-bugs mailing list