Skip to content
Snippets Groups Projects
Commit 63041a9b authored by Studer Gabriel's avatar Studer Gabriel
Browse files

Add Known Issues to compile instructions

First entry is about adding the -pthread flag to resolve linking
problems. Has been observed on the scicore cluster and reported
by Yuri (FreeBSD 12.2).
parent e3b28b17
No related branches found
No related tags found
No related merge requests found
......@@ -268,6 +268,13 @@ Build Options
* `HIDDEN_VISIBILITY` can be turned on to add "-fvisibility=hidden" to gcc's
compile flags (only if GNU compiler used). By default, this is switched off.
Known Issues
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
* Depending on how the dependecies (e.g. Boost) are compiled, linking might fail
with something like: `error: undefined reference to pthread_condattr_destroy`.
Add "-pthread" to the linking options by appending the following to your cmake
command: `-DCMAKE_EXE_LINKER_FLAGS=" -pthread"`
Example Configurations
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment