libstdc++/4617: /usr/ccs/bin/ld: Duplicate symbol "std::__timepunct<char>::_M_put_helper(char*, unsigned, char const*, tm const*) const" in files .libs/locale-inst.o and .libs/time.o

dave.anglin@nrc.ca dave.anglin@nrc.ca
Thu Oct 18 20:46:00 GMT 2001


>Number:         4617
>Category:       libstdc++
>Synopsis:       /usr/ccs/bin/ld: Duplicate symbol "std::__timepunct<char>::_M_put_helper(char*, unsigned, char const*, tm const*) const" in files .libs/locale-inst.o and .libs/time.o
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 18 20:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dave Anglin
>Release:        gcc-3.1 20011017 (experimental)
>Organization:
>Environment:
hppa1.1-hp-hpux10.20
>Description:
libstdc++ fails to build.  This is a regresion from 3.0.x.

The following error occurs linking .libs/libstdc++.sl.4.0:

/usr/ccs/bin/ld: Duplicate symbol "std::__timepunct<char::_M_put_helper(char*, unsigned, char const*, tm const*) const" in files .libs/locale-inst.o and .libs/time.o
/usr/ccs/bin/ld: Duplicate symbols are not allowed in shared libraries
collect2: ld returned 1 exit status
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list