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 libstdc++/12175] New: Tru64 UNIX bootstrap failure: multiply defined symbols linking libstdc++.so


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Tru64 UNIX bootstrap failure: multiply defined symbols
                    linking libstdc++.so
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alpha-dec-osf4.0f
  GCC host triplet: alpha-dec-osf4.0f
GCC target triplet: alpha-dec-osf4.0f

Bootstrapping on alpha-dec-osf4.0f (and alpha-dec-osf5.1) started failing
between 20030804 and 20030819: libstdc++.so fails to link due to duplicate
symbols.

/bin/ksh ../libtool --tag CXX --mode=link /vol/gcc/obj/gcc-3.4-20030901/4.0f-gcc/gcc/xgcc -shared-libgcc -B/vol/gcc/obj/gcc-3.4-20030901/4.0f-gcc/gcc/ -nostdinc++  -L/vol/gcc/obj/gcc-3.4-20030901/4.0f-gcc/alpha-dec-osf4.0f/libstdc++-v3/src -L/vol/gcc/obj/gcc-3.4-20030901/4.0f-gcc/alpha-dec-osf4.0f/libstdc++-v3/src/.libs -B/vol/gcc/share/alpha-dec-osf4.0f/bin/ -B/vol/gcc/share/alpha-dec-osf4.0f/lib/ -isystem /vol/gcc/share/alpha-dec-osf4.0f/include -isystem /vol/gcc/share/alpha-dec-osf4.0f/sys-include   -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings  -fdiagnostics-show-location=once     -o libstdc++.la -rpath /vol/gcc/lib -version-info 6:0:0  -lm  allocator-inst.lo codecvt.lo complex_io.lo concept-inst.lo ctype.lo demangle.lo ext-inst.lo fstream-inst.lo functexcept.lo globals.lo io-inst.lo ios.lo istream-inst.lo limits.lo locale.lo locale-inst.lo localename.lo misc-inst.lo ostream-inst.lo sstream-inst.lo stdexcept.lo stl_tree.lo streambuf-inst.lo string-inst.lo !
 st!
rstream.lo valarray-inst.lo wstring-inst.lo codecvt_members.lo collate_members.lo ctype_members.lo messages_members.lo monetary_members.lo numeric_members.lo time_members.lo basic_file.lo c++locale.lo ../libmath/libmath.la ../libsupc++/libsupc++convenience.la -lm
/usr/bin/ld:
.libs/misc-inst.o: _GLOBAL__F__ZNKSt5ctypeIcE2isEjc: multiply defined
.libs/ostream-inst.o: _GLOBAL__F__ZNSt15basic_streambufIcSt11char_traitsIcEE5sputcEc: multiply defined
.libs/sstream-inst.o: _GLOBAL__F__ZNSt15basic_streambufIcSt11char_traitsIcEE5sputcEc: multiply defined
collect2: ld returned 1 exit status

E.g., the first of those three is defined here:

_GLOBAL__F__ZNKSt5ctypeIcE2isEjc | 0000000000103432 | D | 0000000000000000
.libs/locale-inst.o
_GLOBAL__F__ZNKSt5ctypeIcE2isEjc | 0000000000004928 | D | 0000000000000000
.libs/misc-inst.o

This symbol didn't occur in the 20030804 versions of those objects.

Environment:
System: OSF1 rimsky V4.0 1229 alpha
Machine: alpha
	
host: alpha-dec-osf4.0f
build: alpha-dec-osf4.0f
target: alpha-dec-osf4.0f
configured with: '/vol/gnu/src/gcc/gcc-dist/configure' '--prefix=/vol/gcc '--with-local-prefix=/vol/gcc '--disable-nls 'alpha-dec-osf4.0f

How-To-Repeat:
Bootstrap as above.


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