|
From: Eric H. <eah...@lo...> - 2004-07-11 17:47:08
|
On Sunday 11 July 2004 12:28, you wrote: > > So, something is screwy in my configuration, somewhere, eh? > > Not sure, IIRC the ABI reserves r2 usage for system (kernel + glibc), > but we need to be free to use r2 for MacOS ABI. I will build a static > Linux binary for testing. Or will you know where is crashes. > g++ -g paranoia.cpp > gdb ./a.out > run > [crash] Program received signal SIGSEGV, Segmentation fault. 0x0fd173d0 in __errno_location () from /lib/libc.so.6 > bt #0 0x0fd173d0 in __errno_location () from /lib/libc.so.6 #1 0x0fd45c04 in vfprintf () from /lib/libc.so.6 #2 0x0fd4e33c in printf () from /lib/libc.so.6 #3 0x10000960 in paranoia_check() () at paranoia.cpp:144 #4 0x10000d1c in main () at paranoia.cpp:229 #5 0x0fd17120 in __libc_start_main () from /lib/libc.so.6 --Eric |