NetBSD Problem Report #45270

From www@NetBSD.org  Fri Aug 19 10:45:19 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 84D3163BEE5
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 Aug 2011 10:45:19 +0000 (UTC)
Message-Id: <20110819104518.B81CC63B89A@www.NetBSD.org>
Date: Fri, 19 Aug 2011 10:45:18 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: archivers/xz does not link on Solaris with GCC 4.6
X-Send-Pr-Version: www-1.0

>Number:         45270
>Category:       pkg
>Synopsis:       archivers/xz does not link on Solaris with GCC 4.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 19 10:50:01 +0000 2011
>Last-Modified:  Sat Aug 20 09:13:13 +0000 2011
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
The configure script of archivers/xz fails to detect, that visibility is not supported when using GCC 4.6 and Sun ld.
>How-To-Repeat:

>Fix:
--- Makefile    2011/08/19 10:37:19     1.1
+++ Makefile    2011/08/19 10:39:41
@@ -26,6 +26,10 @@
 CONFIGURE_ARGS+=       --disable-assembler
 .endif

+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+=        gl_cv_cc_visibility=no
+.endif
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sat, 20 Aug 2011 09:13:13 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


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