X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/36a0d0b51540870a0e1ebf537781ed3217063462..112849de03f2fae9fb4755887bc15322dbe03206:/src/mc/inspect/ObjectInformation.cpp diff --git a/src/mc/inspect/ObjectInformation.cpp b/src/mc/inspect/ObjectInformation.cpp index 0dedb75bf1..75b39d40f9 100644 --- a/src/mc/inspect/ObjectInformation.cpp +++ b/src/mc/inspect/ObjectInformation.cpp @@ -233,7 +233,10 @@ void find_object_address(std::vector const& maps, simgrid:: // This is the GNU_RELRO-part of the data segment: else if (reg.prot == PROT_READ) { - xbt_assert(not result->start_ro, "Multiple read only segments for %s, not supported", maps[i].pathname.c_str()); + xbt_assert(not result->start_ro, + "Multiple read-only segments for %s, not supported. Compiling with the following may help: " + "-Wl,-znorelro -Wl,-znoseparate-code", + maps[i].pathname.c_str()); result->start_ro = (char*)reg.start_addr; result->end_ro = (char*)reg.end_addr; }