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

* Re: use x86_64-linux-gnu compiler
  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
  0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 2022-01-03 12:50 UTC (permalink / raw)
  To: Paul Zimmermann; +Cc: GNU C Library

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.

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

* Re: use x86_64-linux-gnu compiler
  2022-01-03 12:50 ` H.J. Lu
@ 2022-01-03 14:29   ` Paul Zimmermann
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Zimmermann @ 2022-01-03 14:29 UTC (permalink / raw)
  To: H.J. Lu; +Cc: libc-alpha

       Dear H.J.,

> Please open a glibc bug.

done: https://sourceware.org/bugzilla/show_bug.cgi?id=28742

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