on main branch sanitizers fail to build for RISCV64 using binutils 2.40 ( to be released ) ld.
riscv64-yoe-linux-ld: relocation R_RISCV_JAL against `__interceptor_sigsetjmp' w
hich may bind externally can not be used when making a shared object; recompile with -fPIC
clang-16: error: linker command failed with exit code 1 (use -v to see invocation) |
Here we use tail macro to let linker do the relaxation.