This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: binutils 2.15.91 and 2.16.91: ctors from crtend.o not load on linux cross gcc (__cxa_throw)
- From: Henry Nestler <Henry dot ne at arcor dot de>
- To: binutils at sources dot redhat dot com
- Cc: bug-binutils at gnu dot org
- Date: Fri, 13 Jan 2006 11:46:47 +0100
- Subject: Re: binutils 2.15.91 and 2.16.91: ctors from crtend.o not load on linux cross gcc (__cxa_throw)
- References: <43C691DB.1060003@Arcor.de>
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