This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/60762] [ASAN] -fsanitize=address fails with LTO


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]