A bug in g++ exceptions on 7?
davidxu at freebsd.org
Tue Apr 15 10:41:57 UTC 2008
gnn at freebsd.org wrote:
> 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:
More information about the freebsd-stable