Date: Wed, 16 Apr 2008 09:10:45 +0900 From: gnn@freebsd.org To: David Xu <davidxu@freebsd.org> Cc: stable@freebsd.org Subject: Re: A bug in g++ exceptions on 7? Message-ID: <m263uiveuy.wl%gnn@neville-neil.com> In-Reply-To: <480486C9.1000102@freebsd.org> References: <m21w57wmve.wl%gnn@neville-neil.com> <480486C9.1000102@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 15 Apr 2008 18:43:21 +0800, David Xu wrote: > > 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 > Yes, this works, thanks! Best, George
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m263uiveuy.wl%gnn>