From: Gregory C. <gcf...@gm...> - 2013-10-15 02:45:27
|
Compiling revision 13634 against GCC 4.8.1 on SUSE10 with CFLAGS="-O3 -g0" causes the valgrind executable to crash with a SEGFAULT. Attaching with GDB shows Program received signal SIGSEGV, Segmentation fault. 0x000000003805ab5a in vgPlain_memset () (gdb) up #1 0x000000003805ab5f in vgPlain_memset () (gdb) up #2 0x000000003805ab5f in vgPlain_memset () (gdb) up ... which looks very similar to this http://llvm.org/bugs/show_bug.cgi?id=9795 but rebuilding with CFLAGS="-O3 -g0 -ffreestanding" did not help the situation. Debug builds work fine. -O2 works fine as well. |