public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/3537: libstdc++-v3 bootstrap failure: multiple definitions (always involving basic_string.h:717)
@ 2001-07-03  1:56 nirkko
  0 siblings, 0 replies; 2+ messages in thread
From: nirkko @ 2001-07-03  1:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3537
>Category:       bootstrap
>Synopsis:       libstdc++-v3 bootstrap failure: multiple definitions (always involving basic_string.h:717)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 03 01:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     A.Nirkko
>Release:        gcc version 3.0
>Organization:
>Environment:
Solaris 2.6 on Ultra-1 (UltraSPARC-II), 32bit kernel,
working gcc-2.95.2 installed, GNU as, GNU ld GNU make
environment settings: see under how to repeat.
>Description:
gmake bootstrap fails building libstdc++-v3
because of multiple definitions
always involving basic_string.h:717

...building ok up to here...
...
/package/gcc/gcc-3.00-obj/gcc/xgcc -B/package/gcc/gcc-3.00-obj/gcc/ -nostdinc++  -L/package/gcc/gcc-3.00-obj/sparc-sun-solaris2.6/libstdc++-v3/src -L/package/gcc/gcc-3.00-obj/sparc-sun-solaris2.6/libstdc++-v3/src/.libs -B/usr/local/gcc-3.00/sparc-sun-solaris2.6/bin/ -B/usr/local/gcc-3.00/sparc-sun-solaris2.6/lib/ -isystem /usr/local/gcc-3.00/sparc-sun-solaris2.6/include -shared -nostdlib /package/gcc/gcc-3.00-obj/gcc/crti.o /usr/ccs/lib/values-Xa.o /package/gcc/gcc-3.00-obj/gcc/crtbegin.o  .libs/limitsMEMBERS.o .libs/stdexcept.o .libs/functexcept.o .libs/bitset.o .libs/globals.o .libs/basic_file.o .libs/ios.o .libs/complex_io.o .libs/strstream.o .libs/c++locale.o .libs/locale.o .libs/localename.o .libs/codecvt.o .libs/locale-inst.o .libs/stl-inst.o .libs/misc-inst.o .libs/valarray-inst.o .libs/string-inst.o .libs/wstring-inst.o -Wl,--whole-archive ../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive  -L/package/gcc/gcc-3.00-obj/sparc-sun-solaris2.6/libstdc++-v3/src -L/package/gcc/gcc-3.00-obj/sparc-sun-solaris2.6/libstdc++-v3/src/.libs -lm ../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a -lm -L/package/gcc/gcc-3.00-obj/gcc -L/usr/ccs/bin -L/usr/ccs/lib -lgcc_s -lgcc -lgcc_s -lgcc -lm -lgcc_s -lgcc -lgcc_s -lgcc   -lc /package/gcc/gcc-3.00-obj/gcc/crtend.o /package/gcc/gcc-3.00-obj/gcc/crtn.o  -Wl,-soname -Wl,libstdc++.so.3 -o .libs/libstdc++.so.3.0.0
.libs/functexcept.o: In function `std::__throw_ios_failure(char const*)':
/package/gcc/gcc-3.00/libstdc++-v3/src/functexcept.cc:94: multiple definition of `bool std::lexicographical_compare<signed char const*, signed char const*>(signed char const*, signed char const*, signed char const*, signed char const*)'
.libs/stdexcept.o:/package/gcc/gcc-3.00/libstdc++-v3/include/bits/basic_string.h:717: first defined here
...
...lots of similar error messages...
...
.libs/valarray-inst.o: In function `void std::__valarray_copy<unsigned>(unsigned const*, unsigned, unsigned*)':
/package/gcc/gcc-3.00/libstdc++-v3/include/bits/valarray_array.h:237: multiple definition of `int std::__lexicographical_compare_3way<signed char const*, signed char const*>(signed char const*, signed char const*, signed char const*, signed char const*)'
.libs/stdexcept.o:/package/gcc/gcc-3.00/libstdc++-v3/include/bits/basic_string.h:717: first defined here
.libs/string-inst.o: In function `std::reverse_iterator<std::__normal_iterator<char const*, std::string> >::reverse_iterator(std::reverse_iterator<std::__normal_iterator<char const*, std::string> > const&)':
/package/gcc/gcc-3.00/libstdc++-v3/include/bits/stl_iterator.h:217: multiple definition of `bool std::lexicographical_compare<signed char const*, signed char const*>(signed char const*, signed char const*, signed char const*, signed char const*)'
.libs/stdexcept.o:/package/gcc/gcc-3.00/libstdc++-v3/include/bits/basic_string.h:717: first defined here
.libs/string-inst.o: In function `std::reverse_iterator<std::__normal_iterator<char const*, std::string> >::reverse_iterator(std::reverse_iterator<std::__normal_iterator<char const*, std::string> > const&)':
/package/gcc/gcc-3.00/libstdc++-v3/include/bits/stl_iterator.h:217: multiple definition of `int std::__lexicographical_compare_3way<signed char const*, signed char const*>(signed char const*, signed char const*, signed char const*, signed char const*)'
.libs/stdexcept.o:/package/gcc/gcc-3.00/libstdc++-v3/include/bits/basic_string.h:717: first defined here
collect2: ld returned 1 exit status
gmake[4]: *** [libstdc++.la] Error 1
gmake[4]: Leaving directory `/package/gcc/gcc-3.00-obj/sparc-sun-solaris2.6/libstdc++-v3/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/package/gcc/gcc-3.00-obj/sparc-sun-solaris2.6/libstdc++-v3'
gmake[2]: *** [all-recursive-am] Error 2
gmake[2]: Leaving directory `/package/gcc/gcc-3.00-obj/sparc-sun-solaris2.6/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/package/gcc/gcc-3.00-obj'
gmake: *** [bootstrap] Error 2
>How-To-Repeat:
on Sparc / Solaris 2.6
setenv CONFIG_SHELL /bin/ksh
setenv CCFLAGS = "-Wall -fPIC -O3 -fkeep-inline-functions -funroll-loops -msupersparc -Qn -Wa,-Qn -fno-ident -fno-implicit-templates -s"
cd gcc-3.00-obj
../gcc-3.00/configure \
      --prefix=/usr/local/gcc-3.00 --enable-shared \
      --with-gnu-as --with-as=/usr/local/links/bin/gas \
      --with-gnu-ld --with-ld=/usr/local/links/bin/gld \
      --enable-threads --enable-threads=solaris \
      --with-cpu=supersparc --enable-cpp --enable-checking \
      --enable-version-specific-runtime-libs
gmake CONFIG_SHELL=/bin/ksh \
             BOOT_CFLAGS="$CCFLAGS" \
             CFLAGS="$CCFLAGS" \
             LIBCFLAGS="$CCFLAGS" \
             LIBCXXFLAGS="$CCFLAGS" \
             bootstrap
>Fix:
don't know
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bootstrap/3537: libstdc++-v3 bootstrap failure: multiple definitions (always involving basic_string.h:717)
@ 2002-03-03 20:51 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-03-03 20:51 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nirkko, nobody

Synopsis: libstdc++-v3 bootstrap failure: multiple definitions (always involving basic_string.h:717)

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Mar  3 20:51:32 2002
State-Changed-Why:
    Successful bootstrap of gcc 3.0.4 on this 
    platform reported here: http://gcc.gnu.org/gcc-3.0/buildstat.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3537


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-04  4:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-03  1:56 bootstrap/3537: libstdc++-v3 bootstrap failure: multiple definitions (always involving basic_string.h:717) nirkko
2002-03-03 20:51 rodrigc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).