Subject: port-mips/24438: build of libstdc++-v3 on sgimips fails
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@netbsd.org>
List: netbsd-bugs
Date: 02/16/2004 01:19:24
>Number: 24438
>Category: port-mips
>Synopsis: build of libstdc++-v3 on sgimips fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-mips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 16 00:20:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Havard Eidnes
>Release: NetBSD 1.6ZK 15 Feb 2004
>Organization:
Unorganized, Inc.
>Environment:
System: NetBSD viola.urc.uninett.no 1.6ZK NetBSD 1.6ZK (VIOLA) #18: Sun Feb 15 12:09:20 CET 2004 he@viola.urc.uninett.no:/usr/obj/sys/arch/sgimips/compile/VIOLA sgimips
Architecture: sgimips
Machine: mips
>Description:
The build of libstdc++-v3 fails.
The tools (including compiler) has been updated to
mipseb--netbsd-gcc (GCC) 3.3.3 20040209 (prerelease/NetBSD)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The end of the build log is:
# build libstdc++-v3/libstdc++.so.5.0
rm -f libstdc++.so.5.0
/usr/tools/bin/mipseb--netbsd-gcc -Wl,-nostdlib -B/usr/dest/usr/lib/ -B/usr/dest/usr/lib/ -Wl,-rpath-link,/usr/dest/lib:/usr/dest/usr/lib -L/usr/dest/lib -Wl,-x -shared -Wl,-soname,libstdc++.so.5 -o libstdc++.so.5.0 -Wl,--whole-archive libstdc++.a -Wl,--no-whole-archive -L/usr/dest/usr/lib
/usr/tools/lib/gcc-lib/mipseb--netbsd/3.3.3/../../../../mipseb--netbsd/bin/ld: libstdc++.so.5.0: undefined versioned symbol name std::time_get_c@@GLIBCPP_3.2
/usr/tools/lib/gcc-lib/mipseb--netbsd/3.3.3/../../../../mipseb--netbsd/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
*** Failed target: libstdc++.so.5.0
*** Failed command: /usr/tools/bin/mipseb--netbsd-gcc -Wl,-nostdlib -B/usr/dest/usr/lib/ -B/usr/dest/usr/lib/ -Wl,-rpath-link,/usr/dest/lib:/usr/dest/usr/lib -L/usr/dest/lib -Wl,-x -shared -Wl,-soname,libstdc++.so.5 -o libstdc++.so.5.0 -Wl,--whole-archive libstdc++.a -Wl,--no-whole-archive -L/usr/dest/usr/lib
*** Error code 1
Stop.
nbmake: stopped in /usr/src/gnu/lib/libstdc++-v3
>How-To-Repeat:
Try to build today's tree natively, watch it fail after
updating tools.
>Fix:
Sorry, don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: