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

Paolo Carlini paolo.carlini@oracle.com
Fri Aug 22 16:30:00 GMT 2008


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...

Paolo.



More information about the Libstdc++ mailing list