[Rpm-maint] [rpm-software-management/rpm] RFC: Add x86-64 architecture levels (v2-v4) as architectures (PR #2315)

Fabian Vogt notifications at github.com
Thu Dec 15 11:09:18 UTC 2022


> > 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/c1352905238 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221215/b9a0b027/attachment.html>


More information about the Rpm-maint mailing list