Richard Henderson <[email protected]> writes:
>> The eh-1.o reference to _Unwind_Resume drags in one copy of the unwinder
>> from libgcc_eh.a, while libstdc++.so is linked against libgcc_s.so.1,
>> providing another copy.
>
> So... are we linking with the gcc binary, not the g++ binary?
Right. This was just copied over from libgomp, like most of the libitm
build and test framework.
> Because I thought -shared-libgcc is the default for C++.
Indeed: manually replacing xgcc with g++ in the link line fixes the
test, and is certainly far better than a per-platform per-test
workaround.
I'll see what it takes to properly fix that.
> If this goes too far down a rat-hole, your original patch is ok.
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University