You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running IA2 tests locally with ninja check, I keep getting errors like this on almost all of the tests:
/home/kkysen/work/rust/ia2/build/runtime/tracer/ia2-sandbox: error while loading shared libraries: libmemory_map.so: cannot open shared object file: No such file or directory
ldd also indicates libmemory_map.so is not found in ia2-sandbox:
❯ ldd build/runtime/tracer/ia2-sandbox
linux-vdso.so.1 (0x00007ffe2f1c7000)
libmemory_map.so => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x0000797256c00000)
/lib64/ld-linux-x86-64.so.2 (0x0000797256ec6000)
And ia2-sandbox also doesn't have any RPATH/RUNPATH:
I can work around this by setting LD_LIBRARY_PATH="$PWD/build/runtime/tracer/release/" ninja check.
This is still working in CI, but not locally (and reproducible locally by @fw-immunant). It also used to work locally, so we should hopefully be able to bisect to find where this broke.
The text was updated successfully, but these errors were encountered:
I git bisected and tracked this down to 5828dee, which is when the ia2-sandbox runtime was added to tests, so I'm not sure this was ever working locally. Note that I did have to switch to LLVM 16 to bisect correctly, as a lot of old commits don't compile on LLVM 17 and 18.
When running IA2 tests locally with
ninja check
, I keep getting errors like this on almost all of the tests:/home/kkysen/work/rust/ia2/build/runtime/tracer/ia2-sandbox: error while loading shared libraries: libmemory_map.so: cannot open shared object file: No such file or directory
ldd
also indicateslibmemory_map.so
is not found inia2-sandbox
:And
ia2-sandbox
also doesn't have anyRPATH
/RUNPATH
:This is the command that's building ia2-sandbox:
I can work around this by setting
LD_LIBRARY_PATH="$PWD/build/runtime/tracer/release/" ninja check
.This is still working in CI, but not locally (and reproducible locally by @fw-immunant). It also used to work locally, so we should hopefully be able to bisect to find where this broke.
The text was updated successfully, but these errors were encountered: