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
# Fresh build of CodeChecker on master
git clone https://github.com/Ericsson/codechecker.git
cd codechecker
make venv package
source venv
export PATH="$PWD/build/CodeChecker/bin:$PATH"
cd ..
# Clone and log bitcoin project
git clone https://github.com/bitcoin/bitcoin.git -b v0.20.1
cd bitcoin
./autogen.sh && ./configure --disable-wallet --disable-static --disable-tests --without-gui
CodeChecker log -b 'make -j' -o compile_commands.json
Results in this error for all TUs:
CXX lib/libunivalue_la-univalue_get.lo
ERROR: ld.so: object 'ldlogger.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Expected behaviour
I expect the log to produce a compilation database, but it is empty.
Desktop (please complete the following information)
OS: WSL Ubuntu-24.04
Browser: not relevant
Version: not relevant
Additional context
I see that the issue came up in #3858, and I suspect that the regression to this error happened #4312.
I think the change should not just be reverted, but instead, the machine architecture of the TU analyzed should be added to LD_LIBRARY_PATH env variable of the compiler invocation to be logged.
The text was updated successfully, but these errors were encountered:
gamesh411
changed the title
LD_LIBRARY_PATH not found, regression with #4312
LD_LIBRARY_PATH not found, possible regression with #4312
Oct 11, 2024
gamesh411
changed the title
LD_LIBRARY_PATH not found, possible regression with #4312
LD_PRELOAD cannot be preloaded, possible regression with #4312
Oct 11, 2024
Describe the bug
On Ubuntu-24.04, when analyzing bitcoin v0.20.1, the logging phase fails.
CodeChecker version
master a6663b3
To Reproduce
Results in this error for all TUs:
Expected behaviour
I expect the log to produce a compilation database, but it is empty.
Desktop (please complete the following information)
Additional context
I see that the issue came up in #3858, and I suspect that the regression to this error happened #4312.
I think the change should not just be reverted, but instead, the machine architecture of the TU analyzed should be added to LD_LIBRARY_PATH env variable of the compiler invocation to be logged.
The text was updated successfully, but these errors were encountered: