Large-Address awareness on 64 bit systems
Yaakov (Cygwin/X)
yselkowitz@users.sourceforge.net
Tue Jul 12 04:10:00 GMT 2011
On Mon, 2011-06-27 at 21:52 -0500, Yaakov (Cygwin/X) wrote:
> I have also been getting SIGABRT from throwing exceptions
> across C++ DLLs, with GDB pointing to RtlUpdateClonedSRWLock() in ntdll,
> but I was seeing that sometimes before this as well. (This is with
> 1.7.9; recent snapshots haven't been working for me but I haven't had
> the time to track down why.)
I've managed to narrow this down somewhat. With Ports' gcc-4.5.3 built
with binutils-2.21, libstdc++6 and libgcj11 break wrt throwing
exceptions if rebased *above* their natural ImageBases (IOW the ones
they were created with at link time), but not if rebased to a lower
address.
Purely speculation at this point, but I have to wonder if this is
somehow left over from a previous problem with libstdc++6, where it
completely broke if rebased at all:
http://sourceware.org/ml/binutils/2009-12/msg00080.html
Otherwise, so far so good.
Yaakov
More information about the Cygwin-developers
mailing list