[opensuse-factory] Broken -fsanitize=address in local installation
Hi: In my local workstation, I have both gcc5 and gcc6 installed from the devel:gcc repository.. since maybe a month.. ASAN is broken and I can't figure out how to fix it. cat t.c #include <stdio.h> int main(void) { return 0; } gcc-5 -fsanitize=address t.c ➜ ~ ./a.out ==59605==AddressSanitizer CHECK failed: ../../../../libsanitizer/asan/asan_rtl.cc:556 "((!asan_init_is_running && "ASan init calls itself!")) != (0)" (0x0, 0x0) <empty stack> same result if I use GCC-6. any pointers about what exactly I screwed up ? ;) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, 14 Apr 2016, Cristian Rodríguez wrote:
Hi:
In my local workstation, I have both gcc5 and gcc6 installed from the devel:gcc repository.. since maybe a month.. ASAN is broken and I can't figure out how to fix it.
cat t.c
#include <stdio.h>
int main(void) { return 0; }
gcc-5 -fsanitize=address t.c ➜ ~ ./a.out ==59605==AddressSanitizer CHECK failed: ../../../../libsanitizer/asan/asan_rtl.cc:556 "((!asan_init_is_running && "ASan init calls itself!")) != (0)" (0x0, 0x0) <empty stack>
same result if I use GCC-6. any pointers about what exactly I screwed up ? ;)
You can try watching 'asan_init_is_running' with a debugger. Richard. -- Richard Biener <rguenther@suse.de> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
On Fri, Apr 15, 2016 at 6:10 AM, Richard Biener <rguenther@suse.de> wrote:
On Thu, 14 Apr 2016, Cristian Rodríguez wrote:
Hi:
In my local workstation, I have both gcc5 and gcc6 installed from the devel:gcc repository.. since maybe a month.. ASAN is broken and I can't figure out how to fix it.
cat t.c
ame result if I use GCC-6. any pointers about what exactly I screwed up ? ;)
You can try watching 'asan_init_is_running' with a debugger.
Richard.
Somebody else got it too.. fixed..(just needs package). https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71160 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On May 20, 2016 7:44:43 AM GMT+02:00, "Cristian Rodríguez" <crrodriguez@opensuse.org> wrote:
On Thu, 14 Apr 2016, Cristian Rodríguez wrote:
Hi:
In my local workstation, I have both gcc5 and gcc6 installed from
On Fri, Apr 15, 2016 at 6:10 AM, Richard Biener <rguenther@suse.de> wrote: the
devel:gcc repository.. since maybe a month.. ASAN is broken and I can't figure out how to fix it.
cat t.c
ame result if I use GCC-6. any pointers about what exactly I screwed up ? ;)
You can try watching 'asan_init_is_running' with a debugger.
Richard.
Somebody else got it too.. fixed..(just needs package). https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71160
Unlikely, that's for glibc 2.24. Richard. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Richard Biener