Computing x86 ISA level at configure time
H.J. Lu
hjl.tools@gmail.com
Tue Apr 23 19:03:26 GMT 2024
On Tue, Apr 23, 2024 at 12:01 PM Florian Weimer <fweimer@redhat.com> wrote:
>
> I'm trying to build glibc with these configure arguments:
>
> CC="gcc -march=x86-64-v3" CXX="g++ -march=x86-64-v3" \
> --with-rtld-early-cflags=-march=x86-64
>
> It does not quite work because the ld.so trampolines are now initialized
> early, and at that point, -march=x86-64 is in effect. I tried to move
> the computation to the configure state, so that it is frozen using the
> default (not early) CC/CFLAGS combination. I've got a prototype patch,
> but I've trouble understanding the meaning of “baseline” vs the other
> options. Any suggestions how to proceed?
>
Can you open a glibc bug report, and CC Sunil and me?
Thanks.
--
H.J.
More information about the Libc-alpha
mailing list