My old desktop PC is not able to run some modern Docker images due to architecture version. That Desktop has an AMD Phenom II x6 1100T BE, and after a really long search on the internet, I found that that processor has an x86_64-v2 architecture.
Also, I know that, MongoDB (un)officially drop support for Raspberry Pi 4 after version 4.4.18, also due to the CPU architecture, in this case ARMv8.0-A.
How could you determine the exact architecture and architecture version?
-march=rv32gc+Zbb+whatever(gcc.gnu.org/onlinedocs/gcc/RISC-V-Options.html#index-march-13). Or maybe a tool exists which can do that. But for x86-64, simplifying to a feature level would be weird vs. reporting exact features for RV32 / RV64./proc/cpuinfohas a complete list of CPU features your CPU supports, includingsse4_2and lower SSE levels, which are most of what x86-64-v2 implies. According to techpowerup.com/cpu-specs/phenom-ii-x6-1100t-be.c698, your CPU only has up to SSE3, not SSSE3 or SSE4.1/4.2, so it's actually only x86-64-v1 / baseline. (It also has SSE4A, which is an AMD extension that's totally separate from Intel's SSE4.1 or 4.2. And 3dNow, another AMD extension. Yours is one of the newest CPUs to not support x86-64-v2, unfortunately. Also not PCLMUL, I was wrong earlier.)gcc -march=x86-64-v2doesn't enable it. (godbolt.org/z/7Mc78dz46)