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: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 31 Aug 2016 12:31:25 +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 #5 from Florian Weimer <fweimer at redhat dot com> ---
Sorry, yes, you are right. Assuming that it only happens after including
<math.h>. If it happens due to GCC autovectorization, I think it would have to
be libc.a (and the existing libc.so linker script, in an as-needed section).
Otherwise, the linker command line will be compiler- and architecture-specific,
which is not what we want.
--
You are receiving this mail because:
You are on the CC list for the bug.