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
Description
We often want to compile object files with PIC flag, so we add it to corresponding compile commands. However it can be overriden if PIE flag is used in source compile commands.
Expected behavior
Tests are supposed to be executed successfully.
Actual behavior
Linker error.
Visual proofs (screenshots, logs)
error: /home/utbot/libyang/utbot_tests/makefiles/src/../../../build/utbot_files/utbot_build/recompiled/tests/style/CMakeFiles/cpp_compat.dir/cpp_compat.c.o: requires dynamic R_X86_64_PC32 reloc against 'main__' which may overflow at runtime; recompile with -fPIC
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered:
Description
We often want to compile object files with PIC flag, so we add it to corresponding compile commands. However it can be overriden if PIE flag is used in source compile commands.
To Reproduce
Steps to reproduce the behavior:
*2.1 Remove initialization of thread-local variables in log_wrapper.c if UTBotCpp does not support thread-local variables #616 is not resolved yet
Expected behavior
Tests are supposed to be executed successfully.
Actual behavior
Linker error.
Visual proofs (screenshots, logs)
The text was updated successfully, but these errors were encountered: