|
From: | Henry Nestler |
Subject: | Re: binutils 2.15.91 and 2.16.91: ctors from crtend.o not load on linux cross gcc (__cxa_throw) |
Date: | Fri, 13 Jan 2006 11:46:47 +0100 |
User-agent: | Mozilla Thunderbird 0.6 (Windows/20040502) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |