This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/15546] New: Bootstrap stage3: Undefined references to basic_string


Build failure in stage 3, latest CVS, linking abi_check

mushroom~...gcc-obj>uname -a
SunOS mushroom 5.7 Generic_106541-19 sun4u sparc SUNW,Ultra-2

mushroom~...gcc-obj>alias CONFIGURE
setenv CC gcc ; /mnt/home3/utilities/gcc/configure
--prefix=/mnt/home3/utilities --verbose --with-as=/mnt/home3/utilities/bin/as
--with-ld=/mnt/home3/utilities/bin/ld --with-gnu-as --with-gnu-ld
--disable-multilib --disable-libmudflap --enable-languages=c++

mushroom~...gcc-obj>alias BUILD
nice gmake CFLAGS='-O' BOOT_CFLAGS='-O' LIBCFLAGS='-g -O' CXXFLAGS='-O'
LIBCXXFLAGS='-g -O -fno-implicit-templates' bootstrap


/export/home/mckelvey/utilities/gcc-obj/gcc/g++ -shared-libgcc
-B/export/home/mckelvey/utilities/gcc-obj/gcc/ -nostdinc++
-B/mnt/home3/utilities/sparc-sun-solaris2.7/bin/
-B/mnt/home3/utilities/sparc-sun-solaris2.7/lib/ -isystem
/mnt/home3/utilities/sparc-sun-solaris2.7/include -isystem
/mnt/home3/utilities/sparc-sun-solaris2.7/sys-include -g -O2 -D_GLIBCXX_ASSERT
-ffunction-sections -fdata-sections -fmessage-length=0
-DLOCALEDIR=/export/home/mckelvey/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3/po/share/locale
-O -o abi_check abi_check.o 
-L/export/home/mckelvey/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3/src
-L/export/home/mckelvey/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3/src/.libs
-lv3test
-L/export/home/mckelvey/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3/testsuite
-lm -Wl,--rpath -Wl,/export/home/mckelvey/utilities/gcc-obj/gcc -Wl,--rpath
-Wl,/export/home/mckelvey/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3/src/.libs
/export/home/mckelvey/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZNSs12_S_constructIN9__gnu_cxx17__normal_iteratorIPcSsEEEES2_T_S4_RKSaIcESt20forward_iterator_tag+0xb8):
In function `char* std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_S_construct<__gnu_cxx::__normal_iterator<char*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
>(__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, std::allocator<char> const&,
std::forward_iterator_tag)':
/mnt/home3/utilities/gcc/libstdc++-v3/testsuite/testsuite_abi.cc:210: undefined
reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_terminal'
/export/home/mckelvey/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3/testsuite/libv3test.a(testsuite_abi.o)(.gnu.linkonce.t._ZNSs12_S_constructIN9__gnu_cxx17__normal_iteratorIPcSsEEEES2_T_S4_RKSaIcESt20forward_iterator_tag+0xbc):/mnt/home3/utilities/gcc/libstdc++-v3/testsuite/testsuite_abi.cc:106:
undefined reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_terminal'
/export/home/mckelvey/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::_Rep::_S_max_size'
/export/home/mckelvey/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3/src/.libs/libstdc++.so:
undefined reference to `std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep::_S_max_size'
collect2: ld returned 1 exit status
gmake[4]: *** [abi_check] Error 1
gmake[4]: Leaving directory
`/mnt/home3/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3/testsuite'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/mnt/home3/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/mnt/home3/utilities/gcc-obj/sparc-sun-solaris2.7/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/mnt/home3/utilities/gcc-obj'
gmake: *** [bootstrap] Error 2

-- 
           Summary: Bootstrap stage3: Undefined references to basic_string
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: James dot W dot Mckelvey at jpl dot nasa dot gov
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.7
  GCC host triplet: sparc-sun-solaris2.7
GCC target triplet: sparc-sun-solaris2.7


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15546


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]