This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/19590] Fail to build shared objects that use libmvec.so functions.
- From: "andrew.n.senkevich at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 16 Feb 2016 15:40:46 +0000
- Subject: [Bug math/19590] Fail to build shared objects that use libmvec.so functions.
- Auto-submitted: auto-generated
- References: <bug-19590-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19590
--- Comment #6 from Andrew Senkevich <andrew.n.senkevich at gmail dot com> ---
(In reply to H.J. Lu from comment #3)
> (In reply to Andrew Senkevich from comment #2)
> > Test case is:
> >
> > -bash-4.2$ cat ./log.c
> > #include <math.h>
> >
> > int N = 3000;
> > double a[3000];
> > double b[3000];
> >
> > int test ()
> > {
> > int i = 0;
> >
> > #pragma omp simd
> > for (i = 0; i < N; i++)
> > {
> > b[i] = log(a[i]);
> > }
> >
> > return 0;
> > }
> >
> > gcc ./log.c -O3 -fopenmp -ffast-math -I/INSTALL_PATH/include -fPIC -shared
> > -o ./log.so -lm -L/INSTALL_PATH/lib/
> > will fail w/o fix.
> > Also with -mavx, -mavx2, -mavx512f for other vector variants.
>
> Does it compile with all versions of GCC supported for glibc build?
> Does it fail with all of them?
Fail with all GCC versions >= 4.9
--
You are receiving this mail because:
You are on the CC list for the bug.