This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/20469] [x86_64] Link fail with -fopenmp and -ffast-math
- From: "guanx.bac at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 15 Aug 2016 18:12:19 +0000
- Subject: [Bug math/20469] [x86_64] Link fail with -fopenmp and -ffast-math
- Auto-submitted: auto-generated
- References: <bug-20469-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20469
--- Comment #7 from guanx <guanx.bac at gmail dot com> ---
(In reply to H.J. Lu from comment #6)
>
> /usr/lib64/libm.so is incorrect. It should be
>
> --
> /* GNU ld script
> */
> OUTPUT_FORMAT(elf64-x86-64)
> GROUP ( /lib64/libm.so.6 AS_NEEDED ( /usr/lib64/libmvec_nonshared.a
> /lib64/libmvec.so.1 ) )
> ---
Putting this script into "/usr/lib64/libm.so" solved the problem.
Thank you!
--
You are receiving this mail because:
You are on the CC list for the bug.