NetBSD Problem Report #24438

Received: (qmail 5228 invoked by uid 605); 16 Feb 2004 00:19:28 -0000
Message-Id: <20040216001924.CBBB421037@smistad.uninett.no>
Date: Mon, 16 Feb 2004 01:19:24 +0100 (CET)
From: he@netbsd.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: he@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: build of libstdc++-v3 on sgimips fails
X-Send-Pr-Version: 3.95

>Number:         24438
>Category:       port-mips
>Synopsis:       build of libstdc++-v3 on sgimips fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    skrll
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 16 00:20:00 +0000 2004
>Closed-Date:    Tue Feb 17 12:24:18 +0000 2004
>Last-Modified:  Tue Feb 17 12:24:18 +0000 2004
>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:

From: Havard Eidnes <he@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: Re: port-mips/24438: build of libstdc++-v3 on sgimips fails
Date: Mon, 16 Feb 2004 01:55:15 +0100 (CET)

 Hm,

 this bug appears to only affect the big-endian MIPS ports; a
 recent cross-build of hpcmips went OK, whereas a similar cross-
 build of sbmips-eb failed.

 Regards,

 - H=E5vard
State-Changed-From-To: open->analyzed 
State-Changed-By: skrll 
State-Changed-When: Mon Feb 16 11:30:53 UTC 2004 
State-Changed-Why:  
This is because mknative hasn't been run for mipseb. 


Responsible-Changed-From-To: port-mips-maintainer->skrll 
Responsible-Changed-By: skrll 
Responsible-Changed-When: Mon Feb 16 11:30:53 UTC 2004 
Responsible-Changed-Why:  
I'll fix it. 

From: Nick Hudson <skrll@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/24438 CVS commit: src/gnu
Date: Mon, 16 Feb 2004 16:06:38 +0000 (UTC)

 Module Name:	src
 Committed By:	skrll
 Date:		Mon Feb 16 16:06:38 UTC 2004

 Modified Files:
 	src/gnu/lib/libg2c3/arch/mipseb: config.h defs.mk
 	src/gnu/lib/libstdc++-v3/arch/mipseb: c++config.h config.h
 	src/gnu/usr.bin/gcc3/arch/mipseb: configargs.h

 Log Message:
 Re-run mknative for mipseb (sgimips). Should close PR 24438.


 To generate a diff of this commit:
 cvs rdiff -r1.1 -r1.2 src/gnu/lib/libg2c3/arch/mipseb/config.h
 cvs rdiff -r1.2 -r1.3 src/gnu/lib/libg2c3/arch/mipseb/defs.mk
 cvs rdiff -r1.4 -r1.5 src/gnu/lib/libstdc++-v3/arch/mipseb/c++config.h
 cvs rdiff -r1.3 -r1.4 src/gnu/lib/libstdc++-v3/arch/mipseb/config.h
 cvs rdiff -r1.3 -r1.4 src/gnu/usr.bin/gcc3/arch/mipseb/configargs.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: analyzed->closed 
State-Changed-By: he 
State-Changed-When: Tue Feb 17 12:23:45 UTC 2004 
State-Changed-Why:  
Submitter confirms that the problem is fixed by the aforementioned 
commit. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.