This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
other/9274 update
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: geoffk at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 14 Mar 2003 21:36:00 -0000
- Subject: other/9274 update
- Reply-to: Benjamin Kosnik <bkoz at redhat dot com>
The following reply was made to PR other/9274; it has been noted by GNATS.
From: Benjamin Kosnik <bkoz at redhat dot com>
To: gcc-bugs at gcc dot gnu dot org
Cc: gcc-gnats at gcc dot gnu dot org
Subject: other/9274 update
Date: Fri, 14 Mar 2003 15:28:09 -0600
for x86/linux with gcc version 3.4 20030314 (experimental)
It looks like I get:
FAIL: 19_diagnostics/stdexceptions.cc (test for excess errors)
Excess errors:
/mnt/hd/src/gcc/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc:78: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string[in-charge](char const*, std::allocator<char> const&)'
/mnt/hd/src/gcc/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc:85: undefined reference to `std::logic_error::logic_error[in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/mnt/hd/src/gcc/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc:78: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string[in-charge](char const*, std::allocator<char> const&)'
/mnt/hd/src/gcc/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc:85: undefined reference to `std::domain_error::domain_error[in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/mnt/hd/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:809: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string[in-charge](char const*, std::allocator<char> const&)'
/tmp/ccsFAXpV.o(.text._Z6test03v+0x3f):/mnt/hd/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:809: undefined reference to `std::logic_error::logic_error[not-in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/mnt/hd/src/gcc/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc:78: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string[in-charge](char const*, std::allocator<char> const&)'
/tmp/ccsFAXpV.o(.text._Z6test04v+0x31):/mnt/hd/src/gcc/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc:114: undefined reference to `std::runtime_error::runtime_error[in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/mnt/hd/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/bits/atomicity.h:38: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string[in-charge](char const*, std::allocator<char> const&)'
/mnt/hd/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:812: undefined reference to `std::runtime_error::runtime_error[in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/mnt/hd/bld/gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_alloc.h:581: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string[in-charge](char const*, std::allocator<char> const&)'
/mnt/hd/src/gcc/libstdc++-v3/testsuite/19_diagnostics/stdexceptions.cc:99: undefined reference to `std::runtime_error::runtime_error[in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: ld returned 1 exit status
this is odd, because I have the following in the libstdc++.so:
%nm libstdc++.so.6.0.0 | grep logic_error
00081fe0 T _ZNKSt11logic_error4whatEv
00081df0 T _ZNSt11logic_errorC1ERKSs
00081d90 T _ZNSt11logic_errorC2ERKSs
00081f50 T _ZNSt11logic_errorD0Ev
00081ed0 T _ZNSt11logic_errorD1Ev
00081e50 T _ZNSt11logic_errorD2Ev
0004e3f0 T _ZSt19__throw_logic_errorPKc
000a2214 V _ZTISt11logic_error
0009b240 V _ZTSSt11logic_error
000a2200 V _ZTVSt11logic_error
Moving the .gch file to another place so that it is not found makes the compilation and link work.
What's up? There was some commentary about this maybe being fixed. If so, is there a patch? Can I see it? If not, could you spend a minute or so to explain what is going on to me, so I can look at it and maybe come up with a solution?
thanks,
benjamin