use x86_64-linux-gnu compiler

H.J. Lu hjl.tools@gmail.com
Mon Jan 3 12:50:08 GMT 2022


On Sun, Jan 2, 2022 at 10:40 PM Paul Zimmermann
<Paul.Zimmermann@inria.fr> wrote:
>
>        Hi,
>
> thanks to the help of H.J., I was able to build a x86_64-linux-gnu compiler
> with build-many-glibcs.py.
>
> Now I want to use that compiler to check the accuracy of the recent libmvec
> patches. For this I need to link with MPFR, GMP and libmvec. How to proceed?
>
> So far with the following compilation line:
>
> /localdisk/zimmerma/glibc-many/install/compilers/x86_64-linux-gnu/bin/x86_64-glibc-linux-gnu-gcc -I/localdisk/zimmerma/glibc-many/install/host-libraries/include -L/localdisk/zimmerma/glibc-many/install/host-libraries/lib -DWITHOUT_OMP -DLIBMVEC -Ofast -DSTR=$f check_exhaustive.c -mavx2 -lm -lmpfr -lgmp -o /tmp/check_${f}f
>
> I get:
>
> /tmp/check_acosf: /lib/x86_64-linux-gnu/libmvec.so.1: version `GLIBC_2.35' not found (required by /tmp/check_acosf)
> /tmp/check_acosf: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /tmp/check_acosf)
>
> When builing glibc there is a testrun.sh wrapper script to use it, is there a
> similar wrapper script when using a compiler build from build-many-glibcs.py,
> and how to use it?
>

Please open a glibc bug.

Thanks.

-- 
H.J.


More information about the Libc-alpha mailing list