This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/20539] GCC 7 -static -lm fails to link at -O3


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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Andrew Senkevich from comment #1)
> I think no, it is separate library.
> 
> For static builds needed to add both options with the following order:
> -lmvec -lm.
> It is reflected in documenation at https://sourceware.org/glibc/wiki/libmvec

I think we need to turn libc.a into a linker script as well.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]