X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9992c04bba629eccd44905b4db102436727a779d..817f17d7b319848500eaeb0985521ffa5fdbd4cd:/docs/source/Tutorial_Model-checking.rst diff --git a/docs/source/Tutorial_Model-checking.rst b/docs/source/Tutorial_Model-checking.rst index 0a5f1ca3ee..b74ef33c5b 100644 --- a/docs/source/Tutorial_Model-checking.rst +++ b/docs/source/Tutorial_Model-checking.rst @@ -290,6 +290,8 @@ If you want to run such analysis on your own code, out of the provided docker, t - You should pass some specific flags to the linker when compiling your application: ``-Wl,-znorelro -Wl,-znoseparate-code`` In the docker, the provided CMakeLists.txt provides them for you when compiling the provided code. ``smpicc`` and friends also add this parameter automatically. +- If you get error messages complaining about the Dwarf version used, try adding ``-gdwarf-4`` to you CFLAGS and CXXFLAGS. + If you find a situation where this flag is needed in ``smpicc``, please report this issue. - Also install ``libboost-stacktrace-dev`` to display nice backtraces from the application side (the one from the model-checking side is available in any case, but it contains less details). - Mc SimGrid uses the ``ptrace`` system call to spy on the verified application. Some versions of Docker forbid the use of this call by