Re: valgrind "uninitialized value" for __cxa_begin_catch? (Only if -static)

2008-03-26 Thread Joe Buck
On Tue, Mar 25, 2008 at 12:01:19PM -0400, Benjamin Redelings wrote: > Hi, > > I have noticed that, when I link my code statically, valgrind complains > about every exception that is caught. Hmm. Until recently valgrind didn't work on statically linked executables at all. But I did duplicate yo

valgrind "uninitialized value" for __cxa_begin_catch? (Only if -static)

2008-03-25 Thread Benjamin Redelings
Hi, I have noticed that, when I link my code statically, valgrind complains about every exception that is caught. In the example code below, the error is: ==32195== Conditional jump or move depends on uninitialised value(s) ==32195==at 0x44B8A4: __cxa_begin_catch (in /home/bredelings/Dev