[PATCH v3] x86: Disable x86-64 level marker [BZ #27318]

H.J. Lu hjl.tools@gmail.com
Mon Mar 1 19:09:14 GMT 2021


On Mon, Mar 1, 2021 at 10:05 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * H. J. Lu:
>
> >> I think we should do the following: (a) disable the build note
> >> generation in glibc, (b) backport --list-diagnostics or something
> >> similar.  The second part will hopefully help with analyzing failures
> >> due to CPU support mismatches.
> >
> > My patch does (a).
>
> But not completely so, see the issue regarding post-v4 flags.

It is the issue of "works on processors with the ISA level" since
we don't check if other ISA features are required.

> > But I think the ISA level meaning should be changed from "works on
> > processors with the ISA level" to "require processors with the ISA
> > level to work".
>
> Hmm.  Is this compatible with the glibc-hwcaps directory assignment
> logic in ldconfig?

Given that we don't check the extra ISA features in the binary, this
is a logical change.

-- 
H.J.


More information about the Libc-alpha mailing list