This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
2.26.90 : missing 'libmvec_nonshared.a' ?
- From: Jason Vas Dias <jason dot vas dot dias at gmail dot com>
- To: libc-alpha at sourceware dot org, libc-help at sourceware dot org, "Carlos O'Donell" <carlos at redhat dot com>, Joseph Myers <joseph at codesourcery dot com>, Kirill Yukhin <kirill dot yukhin at gmail dot com>
- Date: Tue, 31 Oct 2017 14:42:10 +0000
- Subject: 2.26.90 : missing 'libmvec_nonshared.a' ?
- Authentication-results: sourceware.org; auth=none
Good day -
I just tried building latest glibc GIT tag 'glibc-2.26.9000', for
armv7hl-linux , with
the linaro GCC 6.4.1 compiler, and configure environment + args:
CC=arm-linux-gnueabihh
CFLAGS='-mtune=cortex-a15 -O3 -g'
../configure --prefix=/usr --with-headers=${path_to_kernel_4.9_headers} \
--build=x86_64-linux-gnu --host=arm-linux-gnueabihf --enable-multi-arch \
--enable-obsolete-rpc --enable-obsolete-nsl \
--enable-tunables=yes --enable-mathvec
which completed successfully , as did the 'make install' .
I specified '--enable-multi-arch' to get both the VFP and Neon
variants for ARM7.
But I see in the installed /usr/lib directory :
$ grep -I libmvec *
libm.a:GROUP ( /usr/lib/libm-2.26.90.a /usr/lib/libmvec.a )
libm.so:GROUP ( /lib/libm.so.6 AS_NEEDED (
/usr/lib/libmvec_nonshared.a /lib/libmvec.so.1 ) )
But there was no libmvec_nonshared.a produced by the build or installed:
$ find ../../lib ../../usr/lib -name 'libmvec*'
../../lib/libmvec.so.1
../../lib/libmvec-2.26.90.so
../../usr/lib/libmvec.a
../../usr/lib/libmvec.so
If I 'cd' to the build directory, and do
$ cd mathvec
$ make subdir=mathvec libmvec_nonshared.a
make: *** No rule to make target libmvec_nonshared.a. Stop.
$ cd ../math
$ make subdir=math libmvec_nonshared.a
make: *** No rule to make target libmvec_nonshared.a. Stop.
Why is this file missing ?
How is this missing file meant to be produced ?
Can I safely remove 'libmvec_nonshared.a' from /usr/lib/libm.{a,so} ?
Or should I replace 'libmvec_nonshared.a' with 'libmvec.a' ?
Should I raise a bug about this ?
Does libmvec support Neon SIMD instructions ?
Or should I just disable libmvec for ARM7hl (with Neon) ?
Any advice much appreciated .
Thanks in advance, Best Regards,
Jason Vas Dias <jason.vas.dias@gmail.com>
sorry for the To: list, which was from last mail to libc-alpha that
contained 'libmvec':
"Re: [RFC, VECTOR ABI] Allow __attribute__((vector)) in GCC by default."
.