This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/60762] [ASAN] -fsanitize=address fails with LTO
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 05 Apr 2014 08:20:47 +0000
- Subject: [Bug middle-end/60762] [ASAN] -fsanitize=address fails with LTO
- Auto-submitted: auto-generated
- References: <bug-60762-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60762
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Hmm, the problem turns out to be more subtle: I compiled the same program on
CentOS 6.4 and on openSUSE 13.1. Result:
* On CentOS, both binaries fail with the assert (also independent of the use
of a linker plugin)
* On openSUSE, both binaries work fine.
Also copying libasan.so to the other system made no difference. While without
-flto, the code runs fine on CentOS 6.4.