[Bug build/28742] New: how to use the x86_64-linux-gnu compiler ?

zimmerma+gcc at loria dot fr sourceware-bugzilla@sourceware.org
Mon Jan 3 14:28:32 GMT 2022


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

            Bug ID: 28742
           Summary: how to use the x86_64-linux-gnu compiler ?
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: zimmerma+gcc at loria dot fr
                CC: carlos at redhat dot com
  Target Milestone: ---

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-gl\
ibc-linux-gnu-gcc
-I/localdisk/zimmerma/glibc-many/install/host-libraries/inclu\
de -L/localdisk/zimmerma/glibc-many/install/host-libraries/lib -DWITHOUT_OMP
-D\
LIBMVEC -Ofast -DSTR=$f check_exhaustive.c -mavx2 -lm -lmpfr -lgmp -o
/tmp/chec\
k_${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
fou\
nd (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?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list