Fw: Re: [PATCH] PPC64: First in the series of patches implementing POWER8 vector math.

GT tnggil@protonmail.com
Sun Feb 24 15:51:00 GMT 2019


>
> 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.



More information about the Libc-alpha mailing list