NetBSD Problem Report #16567
Received: (qmail 27975 invoked from network); 30 Apr 2002 02:10:55 -0000
Message-Id: <200204300210.g3U2Ard09387@bondage.mcmahill.net>
Date: Mon, 29 Apr 2002 22:10:53 -0400 (EDT)
From: dmcmahill@netbsd.org
Reply-To: dmcmahill@netbsd.org
To: gnats-bugs@gnats.netbsd.org
Subject: kdelibs2 needs different libstdc++(?)
X-Send-Pr-Version: 3.95
>Number: 16567
>Category: pkg
>Synopsis: kdelibs2 needs different libstdc++(?)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: jlam
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Apr 30 02:11:03 +0000 2002
>Closed-Date: Sun Oct 20 09:21:41 +0000 2002
>Last-Modified: Sun Oct 20 09:21:41 +0000 2002
>Originator: Dan McMahill
>Release: 1.5.3<NetBSD-current source date>
>Organization:
NetBSD
>Environment:
recent pkgsrc
System: NetBSD bondage 1.5.3_ALPHA NetBSD 1.5.3_ALPHA (BONDAGE) #9: Wed Mar 20 15:41:48 EST 2002 dan@bondage:/export/disk1/src/syssrc-1-5/sys/arch/alpha/compile/BONDAGE alpha
>Description:
kdelibs2 installs /usr/X11R6/lib/libmcop.so.0.0 which has an undefined reference to ostream::write(char const *, long)
dan@bondage 2347 # nm /usr/X11R6/lib/libmcop.so.0.0 | /usr/pkg/gcc-2.95.3/bin/c++filt | grep "ostream::write"
U ostream::write(char const *, long)
dan@bondage 2348 # nm /usr/lib/libstdc++.so | /usr/pkg/gcc-2.95.3/bin/c++filt | grep "ostream::write"
0000000000051500 T ostream::write(signed char const *, int)
0000000000051540 T ostream::write(unsigned char const *, int)
000000000004f900 T ostream::write(char const *, int)
00000000000514c0 T ostream::write(void const *, int)
dan@bondage 2349 # nm /usr/pkg/gcc-2.95.3/lib/libstdc++.a.2.10.0nb1 | /usr/pkg/gcc-2.95.3/bin/c++filt | grep "ostream::write"
U ostream::write(char const *, long)
0000000000003400 W ostream::write(signed char const *, long)
00000000000033e0 W ostream::write(unsigned char const *, long)
0000000000002c60 T ostream::write(char const *, long)
0000000000003420 W ostream::write(void const *, long)
U ostream::write(char const *, long)
maybe we should link in /usr/pkg/gcc-2.95.3/lib/libstdc++.a.2.10.0nb1?
>How-To-Repeat:
on alpha, cd /usr/pkgsrc/x11/kdebase2 && make
this will build kdelibs2 and try to build kdebase2 but fail due to a missing reference in libmcop.
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->skrll
Responsible-Changed-By: wiz
Responsible-Changed-When: Sun Jul 14 14:13:31 PDT 2002
Responsible-Changed-Why:
Nick is the KDE guru.
Responsible-Changed-From-To: skrll->jlam
Responsible-Changed-By: jlam
Responsible-Changed-When: Sat Sep 28 17:13:52 PDT 2002
Responsible-Changed-Why:
Nick may be the KDE guru, but this is a more a problem with using lang/gcc.
I think using some buildlink2 magic can solve this problem, and I'm the
buildlink guru.
State-Changed-From-To: open->closed
State-Changed-By: jlam
State-Changed-When: Sun Oct 20 02:20:34 PDT 2002
State-Changed-Why:
A combination of buildlink2 magic and changing the libstdc++.so major number
in the lang/gcc package solves the problem noted in this PR.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.