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

Fabian Vogt notifications at github.com
Tue Mar 7 14:42:22 UTC 2023


> GCC's __builtin_cpu_supports does unfortunately not support all features needed to detect these levels properly.

Looks like since GCC 12.2 it actually can do `__builtin_cpu_supports("x86-64-v3")`: https://github.com/gcc-mirror/gcc/commit/8ea292591e42aa4d52b4b7a00b86335bfd2e2e85#diff-64afd6a149a7486d332f3d75ac9479f58d0fb674be6920a6e7db0e54cd205e70R38

It's just not documented... Is that an option for RPM? I guess not. It's not implemented by clang.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2315#issuecomment-1458293778
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2315/c1458293778 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230307/e3261995/attachment.html>


More information about the Rpm-maint mailing list