[Bug math/20469] [x86_64] Link fail with -fopenmp and -ffast-math

guanx.bac at gmail dot com sourceware-bugzilla@sourceware.org
Mon Aug 15 18:12:00 GMT 2016


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.


More information about the Glibc-bugs mailing list