Henry Nestler wrote:

* Bug: Cross compile from linux for mingw32 don't init the ctors from crtend.o! Every 'throw' in a program crashes with a "NULL-Pointer read" in function __cxa_throw.
[...]
Problem is, that "*crtend.o (.ctors)" in linker script does not include the function pointer to "__reg_frame_ctor". With other words: The default linker script from mingw32 not loads contructors from crtend.o.

It's low priority, because the syntax *crtend.o(.ctors) was added by mingw32 only, and only not works on cross builds from linux to mingw32.
Native buils works.

Perhaps is something wrong with filename parsing?

Henry



_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to