This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Fw: Re: [PATCH] PPC64: First in the series of patches implementing POWER8 vector math.
- From: GT <tnggil at protonmail dot com>
- To: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Sun, 24 Feb 2019 15:51:40 +0000
- Subject: Fw: Re: [PATCH] PPC64: First in the series of patches implementing POWER8 vector math.
- References: <nN0kG0GXbx7wYro2oE34bwvcauTJw_WuDyP-obLhVMc-zwTK071-mQXBD8hiITyOHI6WoxiwvNezhvebbsjFnNlAk8mCi5yX6NYpge4SAas=@protonmail.com> <alpine.DEB.2.21.1902190117000.480@digraph.polyomino.org.uk> <b7VIpuRTdy3ZwQBiTlgUL3a5zz5kQNT6OUuyOfyxrAhNG_1Xp8LolqtRZ1CssqxB5HAUcZ2-FYf64L8sAjgmfW4qiwng59NPWvSc8K0JQyo=@protonmail.com>
- Reply-to: GT <tnggil at protonmail dot com>
>
> The error I get when I try to compile against the new glibc:
>
> /usr/bin/ld:
> cannot find /usr/lib64/libmvec_nonshared.a inside /home/fedora/my-install-glibc
>
> collect2: error: ld returned 1 exit status
>
> The compile command used:
>
> gcc -L${SYSROOT}/usr/lib64/ -I${SYSROOT}/include/ --sysroot=${SYSROOT} \
> -Wl,-rpath=${SYSROOT}/lib64 -Wl,--dynamic-linker=${SYSROOT}/lib64/ld-2.29.9000.so \
> -O1 -fopenmp -ffast-math -lm -mvsx -o testcos testcos.c
>
> SYSROOT is set to the same directory I used for DESTDIR in the make install step.
>
> I'm uncertain on how to proceed. I appreciate any and all assistance in solving this.
>
Creating a link libmvec_nonshared.a to libmvec.a which is installed by 'make install'
allows compilation of the executable. So, I'm able to continue on with the other
tasks.
If creating that link is required on every installation of libmvec, this should be
specified prominently in the documentation for libmvec.