Drrun again breaks with older distros via Glibc symbols
Trying to cross-compile dynamorio from source for linux arm using the arm32 toolchain file.
cmake -DCMAKE_TOOLCHAIN_FILE=../dynamorio/make/toolchain-arm32.cmake ../dynamorio
However, the result always links against glibc 2.34 and it drrun won't start without it. The target has only glibc 2.31 installed and I cannot change that.
nm lists this as problematic reference:
U __libc_start_main@GLIBC_2.34
Same problem, different symbol as here: https://github.com/DynamoRIO/dynamorio/issues/5474
Target was built on an X64 Ubuntu 22.04 with arm cross compilers installed. Should be gcc 11.