[PATCH] configure: Add --enable-sanitize-undefined.

Mark Wielaard mjw at redhat.com
Wed May 27 13:13:43 UTC 2015


On Thu, 2015-05-21 at 23:36 +0200, Mark Wielaard wrote:
> Now that we are -fsanitize=undefined clean make sure we keep it that way.
> 
> We do have to disable alignment checking. Because we might explicitly
> use unaligned accesses (see ALLOW_UNALIGNED). And we have to disable
> integer overflow checking when running the tests under valgrind. Because
> those are unreliable under VEX emulation.

Turned out that was a bug in valgrind now fixed:
https://bugs.kde.org/show_bug.cgi?id=348247
Luckily that bug never made it into a released valgrind version.

I have pushed this change to master without the disabling of integer
overflow checking under valgrind.

Cheers,

Mark


More information about the elfutils-devel mailing list