When compiling against recent glibc (>= 2.35) but old kernel headers (< 4.18), SYS_rseq is not defined and thus llvm-exegesis fails to build. So also check that SYS_rseq is defined before trying to use it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@MaskRay Thanks for reviewing this.
It's reported above in this UI that it causes some build failure, but I doubt the build failure are related to this. Is it ok to ignore them ? Also, can you please post this patch for me, as I have no right to push in the github repository ?
Comment Actions
Since this is probably a configuration that people will be running the 17.x release on, I've opened up https://github.com/llvm/llvm-project/issues/64482#issuecomment-1667352876 to backport this change. Thanks for the patch!