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.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users