Hi
I am seeing this error while trying to create a package on Ubuntu 22 (gcc 11). I am able to do a regular build without errors.
I know there were some issues with newer glibc versions and Ubuntu 22 but I am not fully on top of all the details and what is expected to work.
I did see issue 5130 (drrun has too-recent import) but that has been fixed already and I am on the latest rev (commit 628314df334a214275b8aeaaaf2ae605fa440cc3).
This is the cmd I ran (I think this is close to what the CI runs)
$ ctest -VV -S "../dynamorio/make/package.cmake,automated_ci;build=1;64_only"
-- The C compiler identification is GNU 11.3.0
[ 31%] Linking C executable ../bin64/drconfig
CMake Error at /home/jenkins/DR/dynamorio/core/CMake_readelf.cmake:165 (message):
*** Error:
/home/jenkins/DR/release/build_debug-64/bin64/drconfig
has too-recent import(s):
GLOBAL DEFAULT UND _[...]@GLIBC_2.34
glibc version is 2.35
$ /lib64/ld-linux-x86-64.so.2 --version
ld.so (Ubuntu GLIBC 2.35-0ubuntu3.1) stable release version 2.35.
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Thanks
Prasun