use x86_64-linux-gnu compiler

Paul Zimmermann Paul.Zimmermann@inria.fr
Mon Jan 3 06:40:26 GMT 2022


       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?

Best regards,
Paul



More information about the Libc-alpha mailing list