On Fedora 34 or later, you can use “/lib64/ld-linux-x86-64.so.2 --help”.
If x86-64-v2 shows up as “supported”, there is compatibile:
| Subdirectories of glibc-hwcaps directories, in priority order:
| x86-64-v4
| x86-64-v3 (supported, searched)
| x86-64-v2 (supported, searched)