Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 18:43:21 +0800
From:      David Xu <davidxu@freebsd.org>
To:        gnn@freebsd.org
Cc:        stable@freebsd.org
Subject:   Re: A bug in g++ exceptions on 7?
Message-ID:  <480486C9.1000102@freebsd.org>
In-Reply-To: <m21w57wmve.wl%gnn@neville-neil.com>
References:  <m21w57wmve.wl%gnn@neville-neil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
gnn@freebsd.org wrote:
> Howdy,
> 
> We believe we've found a bug in the libgcc or libstdc++ library (not
> sure which one) packaged with the gcc43 port in fbsd7 on an Intel
> x86-64.  A program linked against those libraries aborts when an
> exception is thrown.  It does not abort if -lpthread is added to the
> link line, even though the program does not use threads.  I believe
> the problem is related to the pthread stubs in libgcc, but I don't
> know enough to find the exact problem or fix it.  An example is below.

Not sure if this patch might help you:

http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/gcc/gthr-posix.h.diff?r1=1.1.1.8;r2=1.1.1.8.4.1;f=h

Regards,
David Xu




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?480486C9.1000102>