public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* use x86_64-linux-gnu compiler
@ 2022-01-03  6:40 Paul Zimmermann
  2022-01-03 12:50 ` H.J. Lu
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Zimmermann @ 2022-01-03  6:40 UTC (permalink / raw)
  To: libc-alpha

       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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-03 14:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03  6:40 use x86_64-linux-gnu compiler Paul Zimmermann
2022-01-03 12:50 ` H.J. Lu
2022-01-03 14:29   ` Paul Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).