g++ testing problem (check_cxa_atexit_available)
Steve Ellcey
sje@cup.hp.com
Thu May 18 21:58:00 GMT 2006
Following up to my own email, it looks like I didn't break
check_cxa_atexit_available, but that it has been broken for a while.
I ran the GCC 4.1 libstdc++-v3 testsuite on a Linux box that has
__cxa_atexit and the following tests were reported as unsupported:
UNSUPPORTED: ext/mt_allocator/deallocate_local_thread-5.cc
UNSUPPORTED: ext/mt_allocator/deallocate_local_thread-7.cc
UNSUPPORTED: ext/mt_allocator/deallocate_local-6.cc
UNSUPPORTED: ext/mt_allocator/deallocate_local-8.cc
The reason they get reported as UNSUPPORTED (I believe) is that I
don't have libstdc++.so.6 installed in my /usr/lib directory and
LD_LIBRARY_PATH is not being used to find the just-built one. Thus
the test program that check_cxa_atexit_available builds fails to run
and the test harness thinks that means that __cxa_atexit is not
implemented correctly when in fact it is.
I still don't know how to fix this though so any advise would be
appreciated.
Steve Ellcey
sje@cup.hp.com
More information about the Libstdc++
mailing list