> > The missing BMI and BMI2 are included in git master with
> > https://sourceware.org/pipermail/libc-alpha/2022-October/142395.html
> > meanwhile. OSXSAVE was still missing, I sent a patch for that:
> > https://sourceware.org/pipermail/libc-alpha/2022-December/143936.html
> > Once that is merged, glibc, GCC and RPM have matching definitions.
>
> This is actually a fine example why such voodoo needs to be determined in
> exactly one place that everybody else then uses.
Agreed. Mostly because the feature detection is platform and language specific
and annoying to perform though - not because it's easy to get wrong. The list
of features is rather short and clearly defined in a single place, so I'm not
concerned about inconsistencies as much.
> It's also a fine example why glibc is a _much_ better place for it than rpm:
> those guys clearly know what they're talking about,
Funnily enough in this case glibc was the only place that got it wrong in a way
that actually matters (missing BMI/BMI2)...
ATM glibc is in sync even without my patch for OSXSAVE. It turns out that in
some other files the absence of OSXSAVE actually marks features such as AVX as
unusable, so checking for those is enough.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2315#issuecomment-1352905238
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2315/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint