On 7/26/24 14:32, Jim Shu wrote:
Let gen-vdso tool to use QEMU's internal ELF header. It could avoid compatibility issue of glibc version in the environment. QEMU RISC-V zicfiss/lp extension patchset will add "EM_RISCV" symbol to it. This symbol is not supported in the legacy glibc.
I see EM_RISCV added added (by myself, amusingly, as part of a bulk merge) in 2016, included in glibc 2.24.
From repology, vs our oldest supported OS, centos stream 8: 2.28 debian 11: 2.31 fedora 39: 2.37 opensuse leap 15: 2.28 ubuntu 20.04: 2.31 So unless there's some *other* symbol you require, all supported OS will have EM_RISCV. r~