privload_os_finalize stuck on 32-bit drcachesim
Running on Linux kernel 5.18 with glibc 2.35, the following command gets stuck on the 32-bit build:
$ ./bin32/drrun -t drcachesim -- ./suite/tests/bin/simple_app
Works fine under plain DR (without drcachesim).
Looking at -log_to_stderr
logs, I see that it gets stuck in privload_os_finalize
at calling __libc_early_init
. Maybe something changed in glibc 2.35 that broke the workaround we put for glibc 2.34 in #5437?
This wasn't detected yet because we don't have a 32-bit CI on glibc 2.35, and also when I worked on #5431 (closed), I focused on only 64-bit.