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/20469] [x86_64] Link fail with -fopenmp and -ffast-math


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.

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