NetBSD Problem Report #43129

From www@NetBSD.org  Mon Apr  5 20:25:27 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id F417963C4AF
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  5 Apr 2010 20:25:26 +0000 (UTC)
Message-Id: <20100405202526.9264863C4AE@www.NetBSD.org>
Date: Mon,  5 Apr 2010 20:25:26 +0000 (UTC)
From: schaecsn@gmx.net
Reply-To: schaecsn@gmx.net
To: gnats-bugs@NetBSD.org
Subject: lang/gcc3.4: libstdc++ has depencency on libint
X-Send-Pr-Version: www-1.0

>Number:         43129
>Category:       pkg
>Synopsis:       lang/gcc3.4: libstdc++ has depencency on libint
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 05 20:30:00 +0000 2010
>Closed-Date:    Fri Feb 01 22:58:19 +0000 2013
>Last-Modified:  Fri Feb 01 22:58:19 +0000 2013
>Originator:     Stefan
>Release:        linux
>Organization:
>Environment:
>Description:
$ cat hello.cpp 
int main(){return(0);}
$

$ /usr/current/gcc34/bin/g++ hello.cpp 
/usr/current/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libstdc++.so: undefined reference to `libintl_textdomain'
/usr/current/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../libstdc++.so: undefined reference to `libintl_bindtextdomain'
collect2: ld returned 1 exit status
$

$ /usr/current/gcc34/bin/g++ hello.cpp -lintl
$

For c++ programs, one needs to explicitly link libintl. Is it supposed to be like this?
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->shannonjr
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 06 Apr 2010 06:10:29 +0000
Responsible-Changed-Why:
Over to maintainer


State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 29 Aug 2012 14:41:40 +0000
State-Changed-Why:
sbd just committed a fix for this, can you please retry?


Responsible-Changed-From-To: shannonjr->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 01 Feb 2013 22:58:19 +0000
Responsible-Changed-Why:
Back to role account.


State-Changed-From-To: feedback->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 01 Feb 2013 22:58:19 +0000
State-Changed-Why:
Feedback timeout.


>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.