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: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 15 Aug 2016 18:06:07 +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 #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to guanx from comment #5)
> (In reply to H.J. Lu from comment #4)
> > (In reply to guanx from comment #2)
> > > Created attachment 9435 [details]
> > > strace output of gcc
> > >
> > > The library "/usr/lib64/libmvec_nonshared.a" exists but gcc does not try to
> > > link to it according to the output from strace.
> >
> > Please show the output of
> >
> > # ls -l /lib64/libm.so
> > # file /lib64/libm.so
>
> $ ls -l /lib64/libm.so
> /bin/ls: cannot access '/lib64/libm.so': No such file or directory
> $ ls -l /usr/lib64/libm.so
> lrwxrwxrwx 1 root root 21 Jul 25 11:55 /usr/lib64/libm.so ->
> ../../lib64/libm.so.6*
> $ ls -l /lib64/libm.so.6
> lrwxrwxrwx 1 root root 12 Jul 25 11:55 /lib64/libm.so.6 -> libm-2.23.so
> $ file /lib64/libm-2.23.so
> /lib64/libm-2.23.so: ELF 64-bit LSB shared object, x86-64, version 1
> (GNU/Linux), dynamically linked, not stripped
/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 ) )
---
--
You are receiving this mail because:
You are on the CC list for the bug.