Recent libstdc++ regression on i686-linux: abi/cxx_runtime_only_linkage.cc

Sebastian Redl sebastian.redl@getdesigned.at
Fri Aug 22 16:39:00 GMT 2008


Paolo Carlini wrote:
> H.J. Lu wrote:
>> /export/gnu/import/svn/gcc-test/bld/x86_64-unknown-linux-gnu/32/libstdc++-v3/libsupc++/.libs/libsupc++.a(eh_throw.o): 
>>
>> In function `__exchange_and_add_dispatch':^M
>> /export/gnu/import/svn/gcc-test/bld/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/ext/atomicity.h:84: 
>>
>> undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*,
>> int)'^M
> Thanks HJ. Essentially, is again the same annoying issue: this test 
> fails on i686-linux (not x86_64-linux, of course) because currently 
> libsupc++  depends on libstdc++ to export __exchange_and_add... We 
> have to find a way to decouple the two, or maybe just provide the 
> C++0x exception propagation only on targets supporting the atomic 
> builtins. Probably the latter, barring better ideas, because I'm 
> really fed up with this atomic builtins story, frankly...
Could we simply export __exchange_and_add and __atomic_add from 
libsupc++ instead of libstdc++? They are pretty basic building blocks in 
my opinion.

Sebastian



More information about the Libstdc++ mailing list