This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] more symbol exports
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: bkoz at redhat dot com, rittle at latour dot rsch dot comm dot mot dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Feb 2002 18:21:00 -0600 (CST)
- Subject: Re: [v3] more symbol exports
> Yep what I did was just
OK, I did the following:
<ignoring the comment:> edit config.status to add --enable-symvers three places
config.status --recheck
gmake clean all check
<verify that shared image was built with -Wl,--version-script=linker.map>
using GNU ld version 2.11.93 20020209
(built off the 2.12.X branch mere days ago)
I have new tests failing:
FAIL: 19_diagnostics/stdexceptions.cc execution test
FAIL: 21_strings/append.cc execution test
FAIL: 21_strings/ctor_copy_dtor.cc execution test
FAIL: 21_strings/element_access.cc execution test
FAIL: 21_strings/insert.cc execution test
FAIL: 21_strings/substr.cc execution test
FAIL: 23_containers/bitset_ctor.cc execution test
FAIL: 23_containers/bitset_members.cc execution test
[...]
Nothing reported in log file but core files are left. Here is the
backtrace from 19_diagnostics/stdexceptions.cc :
#0 0x2813ede4 in kill () from /usr/lib/libc.so.4
#1 0x2817b4e5 in abort () from /usr/lib/libc.so.4
#2 0x280c5bbc in __cxxabiv1::__terminate(void (*)()) (
handler=0x8048e94 <abort>)
at /usr/users/rittle/outside-cvs-src/gcc-mainline/libstdc++-v3/libsupc++/eh_terminate.cc:47
#3 0x280c5bf5 in std::terminate() ()
at /usr/users/rittle/outside-cvs-src/gcc-mainline/libstdc++-v3/libsupc++/eh_terminate.cc:57
#4 0x280c5db6 in __cxa_rethrow ()
at /usr/users/rittle/outside-cvs-src/gcc-mainline/libstdc++-v3/libsupc++/eh_throw.cc:77
#5 0x080493bb in test03() ()
at /usr/users/rittle/outside-cvs-src/gcc-mainline/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc:65
#6 0x08049813 in main ()
at /usr/users/rittle/outside-cvs-src/gcc-mainline/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc:112
#7 0x08049083 in _start (
arguments=0xbfbfe9f4 "/usr/users/rittle/tmp/gcc-build-latour-mainline-0218/i386-unknown-freebsd4.5/libstdc++-v3/testsuite/stdexceptions.sh-exe")
at /usr/src/lib/csu/i386-elf/crt1.c:96
Sorry I haven't been following it closely: Should this version of ld
work? I can test against mainline binutils or later 2.12.X branch
binutils but that will take some more time...