This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/20539] GCC 7 -static -lm fails to link at -O3
- From: "andrew.n.senkevich at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 30 Aug 2016 18:19:08 +0000
- Subject: [Bug math/20539] GCC 7 -static -lm fails to link at -O3
- Auto-submitted: auto-generated
- References: <bug-20539-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20539
--- Comment #1 from Andrew Senkevich <andrew.n.senkevich at gmail dot com> ---
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
--
You are receiving this mail because:
You are on the CC list for the bug.