Thanks for the info!
On Sat, 2017-09-09 at 10:07 +0200, Michael Soegtrop wrote:
Dear Jabier,
As far I know this new branch can be used with modern linux distributions but not broke older ones. Is correct?
To have all 4 modes you need gcc 6 or clang as compiler. There shouldn't be any other requirements. With gcc 4 (Debian 8) you get only the address sanitizer mode, not the other 3 modes. It is not so that older OSes are broken, they just use a default C compiler which doesn't support this form of code instrumentation. I also tried to configure the inkscape build to use a non default compiler on Debian 8, but it got a bit messy. I don't think it is worthwhile to support such a debug/test only feature setup for Debian 8 & Co now that gcc 6 becomes standard.
Btw.: Here are links to the wiki pages for the 4 sanitizer modes:
https://github.com/google/sanitizers/wiki%C2%A0%C2%A0%C2%A0%C2%A0(address, memory & thread sanitizer overview) https://github.com/google/sanitizers/wiki/AddressSanitizer https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#ubsan-che cks
Best regards,
Michael
.