-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[regression in 0.2.1.6] relocation R_X86_64_PC32 cannot be used against symbol __stack_chk_guard; recompile with -fPIC #553
Comments
Also please consider using #549 instead so I could track issues better |
-fPIC is missing in some command lines. Adding it to CXXFLAGS and CFLAGS environment variables solved the problem. |
Right. Unless I'm missing something here, CMakeLists.txt#L173 already sets this flag. And consider this line is above any other target is created/imported, this should have effect on all targets created by CMake. Are you sure |
So |
No, on FreeBSD CMAKE_SYSTEM_NAME=FreeBSD |
clang-8
FreeBSD 12
The text was updated successfully, but these errors were encountered: