This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld coredump while compiling parma polyhedra library for i686-w64-mingw32 target
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: Alen Skondro <askondro at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Sat, 12 Mar 2011 17:41:57 +0000
- Subject: Re: ld coredump while compiling parma polyhedra library for i686-w64-mingw32 target
- References: <AANLkTimwCXzHX1Kj1ppt2pHMy35woG35EVZL=0ccbrV4@mail.gmail.com>
On 04/03/2011 18:02, Alen Skondro wrote:
> While compiling PPL v0.11.2 for i686-w64-mingw32 target (cross compiler host is
> i686-pc-cygwin) ld.exe coredumps with:
>
> I'm using
> * GNU Binutils 2.21.51.20110304
> * GCC 4.6
While I'm working on reproducing this, here's a couple of things you can try:
1) If you haven't already done so, try setting your heap_chunk_in_mb setting
to 1024 or even 1536, as described here:
http://cygwin.com/cygwin-ug-net/setup-maxmem.html
2) The problem I think may be related to an increase in the number of comdat
sections output by 4.6 versions of gcc relative to earlier ones, perhaps in
conjunction with some inefficiency in the linker's handling of them. This
might be mitigated by trying a build of PPL with CFLAGS including the new
"-fno-keep-inline-dllexport" flag available in 4.6, but that could also
conceivably lead to an incomplete library because it's a rather blunt tool (it
needs the sources to be designed to take it into account for it to be
guaranteed to work completely correctly).
cheers,
DaveK