Danny Backx wrote: > global constructors keyed to main () at hello.C:8 > 8 } > Current language: auto; currently c++ > (gdb) > __static_initialization_and_destruction_0 (__initialize_p=1, > __priority=65535) at hello.C:8 > 8 } > (gdb) > 72 static ios_base::Init __ioinit; > (gdb) > Cannot access memory at address 0x4235174a > (gdb) > Cannot find bounds of current function > (gdb) up > #1 0x0040109e in _fu2___ZNSt8ios_base4InitC1Ev () > > at > /opt/x86mingw32ce/lib/gcc/i386-mingw32ce/4.4.0/../../../../i386-mingw32ce/include/c++/4.4.0/iostream:72 > 72 static ios_base::Init __ioinit; > (gdb) fin > Run till exit from #1 0x0040109e in _fu2___ZNSt8ios_base4InitC1Ev () > > at > /opt/x86mingw32ce/lib/gcc/i386-mingw32ce/4.4.0/../../../../i386-mingw32ce/include/c++/4.4.0/iostream:72 > > Program received signal SIGSEGV, Segmentation fault. > 0x4235174a in ?? () > (gdb) bt > #0 0x4235174a in ?? () > #1 0x0040109e in _fu2___ZNSt8ios_base4InitC1Ev () > at > /opt/x86mingw32ce/lib/gcc/i386-mingw32ce/4.4.0/../../../../i386-mingw32ce/include/c++/4.4.0/iostream:72
Hmmpf. Maybe a linker bug is mangling that auto-import fixup somehow. What does "disass 0x401000 0x4010af" show? cheers, DaveK ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel