public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* libc.so.6: CPU ISA level is lower than required
@ 2021-02-03 19:50 Khem Raj
  2021-02-03 21:32 ` H.J. Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2021-02-03 19:50 UTC (permalink / raw)
  To: GNU C Library

Hi All

In Yocto we use -march=core2 to compile glibc and rest of system for
x86_64 and after upgrading to 2.33, we are seeing an error

/lib/libc.so.6: CPU ISA level is lower than required

when executing the binaries on qemu with -cpu core2duo option, this
works out ok If I use
-cpu Nehalem or newer.

I know ldso in 2.33 has got new hwcaps features to check the x86 ISA
and perhaps thats causing it
but I am trying to find why would it reject -cpu core2duo from qemu
when we also ensured
that -march and -mtune values stay at core2 when compiling glibc and
rest of system.

I was looking at

https://sourceware.org/git/?p=glibc.git;a=commit;h=ecce11aa0752735c4fd730da6e7c9e0b98e12fb8

since that seems to be the cause and checking if there was some option
to configure it out.
I wonder if there is minimal ISA default now which is newer than core2 perhaps ?

I am looking for some help on how can we get to this point and what is
the right way forward.

Thanks
-Khem

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

end of thread, other threads:[~2021-02-03 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 19:50 libc.so.6: CPU ISA level is lower than required Khem Raj
2021-02-03 21:32 ` H.J. Lu

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