NetBSD Problem Report #45265
From www@NetBSD.org Thu Aug 18 08:16:01 2011
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 38FE163CA38
for <gnats-bugs@gnats.NetBSD.org>; Thu, 18 Aug 2011 08:16:01 +0000 (UTC)
Message-Id: <20110818081600.ABF6963B89A@www.NetBSD.org>
Date: Thu, 18 Aug 2011 08:16:00 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: visibility in graphics/MesaLib still broken with GCC 4.6 on Solaris
X-Send-Pr-Version: www-1.0
>Number: 45265
>Category: pkg
>Synopsis: visibility in graphics/MesaLib still broken with GCC 4.6 on Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 18 08:20:00 +0000 2011
>Closed-Date: Sun Dec 29 23:54:51 +0000 2013
>Last-Modified: Sun Dec 29 23:54:51 +0000 2013
>Originator: Jörn Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
See pkg/45256 for reference.
Despite the release notes of GCC 4.6.1, visibility on Solaris when using the Sun linker is still broken.
>How-To-Repeat:
>Fix:
--- hacks.mk 2011/08/18 08:04:40 1.1
+++ hacks.mk 2011/08/18 08:05:39
@@ -29,7 +29,7 @@
#CFLAGS+= -ffast-math
. endif
-. if !empty(CC_VERSION:Mgcc-[4-9]*)
+. if !empty(CC_VERSION:Mgcc-[4-9]*) && ${OPSYS} != "SunOS"
# Don't hide symbols for glut by default, it doesn't know how to unhide them.
. if empty(PKGNAME:M*glut*)
PKG_HACKS+= gcc-hidden-visibility
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 19 Aug 2011 10:20:15 +0000
Responsible-Changed-Why:
Solaris pkgsrc PR
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/45265
Date: Tue, 14 Aug 2012 15:56:58 +0200
Just a yearly reminder: This patch is still necessary on Solaris 10, now
with GCC 4.7.0.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/45265
Date: Tue, 14 Aug 2012 22:13:17 +0000
On Tue, Aug 14, 2012 at 02:00:07PM +0000, J?rn Clausen wrote:
> From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: pkg/45265
> Date: Tue, 14 Aug 2012 15:56:58 +0200
>
> Just a yearly reminder: This patch is still necessary on Solaris 10, now
> with GCC 4.7.0.
The original report says it's necessary when using the Sun linker;
shouldn't part of the conditional test for that?
--
David A. Holland
dholland@netbsd.org
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: David Holland <dholland-pbugs@NetBSD.org>, solaris-pkg-people@NetBSD.org,
gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/45265
Date: Wed, 15 Aug 2012 11:17:00 +0200
On 15.08.12 00:15, David Holland wrote:
> The original report says it's necessary when using the Sun linker;
> shouldn't part of the conditional test for that?
If you find a method to test for the linker, you'd have solved a long
standing problem in a lot of packages. There are several places like
this, where a test for the compiler is actually used to guess the linker.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
From: "Filip Hajny" <filip@joyent.com>
To: =?iso-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
Cc: <gnats-bugs@NetBSD.org>,
"David Holland" <dholland-pbugs@NetBSD.org>,
<solaris-pkg-people@NetBSD.org>,
<pkgsrc-bugs@NetBSD.org>
Subject: Re: pkg/45265
Date: Wed, 15 Aug 2012 11:41:35 +0200
On 15. 8. 2012, at 11:17, J=F6rn Clausen <joern.clausen@uni-bielefeld.de> w=
rote:
> On 15.08.12 00:15, David Holland wrote:
>> The original report says it's necessary when using the Sun linker;
>> shouldn't part of the conditional test for that?
>=20
> If you find a method to test for the linker, you'd have solved a long sta=
nding problem in a lot of packages. There are several places like this, whe=
re a test for the compiler is actually used to guess the linker.
+1
Also note that the aforementioned patch is no longer needed for the Sun lin=
ker that ships with Illumos.
-F=
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 23 May 2013 17:55:38 +0000
State-Changed-Why:
The recent update to MesaLib removed hacks.mk; hopefully that means this
should no longer be an issue.
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: dholland@NetBSD.org, solaris-pkg-people@NetBSD.org, pkgsrc-bugs@NetBSD.org,
gnats-admin@NetBSD.org
Subject: Re: pkg/45265 (visibility in graphics/MesaLib still broken with GCC
4.6 on Solaris)
Date: Mon, 27 May 2013 14:55:16 +0200
On 23.05.13 19:55, dholland@NetBSD.org wrote:
> Synopsis: visibility in graphics/MesaLib still broken with GCC 4.6 on Solaris
>
> State-Changed-From-To: open->feedback
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Thu, 23 May 2013 17:55:38 +0000
> State-Changed-Why:
> The recent update to MesaLib removed hacks.mk; hopefully that means this
> should no longer be an issue.
I can't say. I gave in and now use a GCC 4.7.3 outside pkgsrc that was
built with /usr/sfw/bin/gobjdump, so visibility is no longer an issue
for me.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 01 Jun 2013 23:21:40 +0000
State-Changed-Why:
Submitter can't test.
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/45265 (visibility in graphics/MesaLib still broken with GCC
4.6 on Solaris)
Date: Sat, 1 Jun 2013 23:21:23 +0000
On Mon, May 27, 2013 at 02:55:16PM +0200, J?rn Clausen wrote:
> >State-Changed-From-To: open->feedback
> >State-Changed-By: dholland@NetBSD.org
> >State-Changed-When: Thu, 23 May 2013 17:55:38 +0000
> >State-Changed-Why:
> >The recent update to MesaLib removed hacks.mk; hopefully that means this
> >should no longer be an issue.
>
> I can't say. I gave in and now use a GCC 4.7.3 outside pkgsrc that
> was built with /usr/sfw/bin/gobjdump, so visibility is no longer an
> issue for me.
My inclination is to close the PR and hope the problem's gone away if
nobody else complains. That ok?
--
David A. Holland
dholland@netbsd.org
From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: David Holland <dholland-pbugs@NetBSD.org>, solaris-pkg-people@NetBSD.org,
gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/45265 (visibility in graphics/MesaLib still broken with GCC
4.6 on Solaris)
Date: Mon, 03 Jun 2013 09:04:13 +0200
On 02.06.13 01:25, David Holland wrote:
> My inclination is to close the PR and hope the problem's gone away if
> nobody else complains. That ok?
Absolutely! Please close this PR.
--
Jörn Clausen joern.clausen@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 29 Dec 2013 23:54:51 +0000
State-Changed-Why:
submitter can't test and we're hoping/assuming it's fixed.
>Unformatted:
(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.