pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45265: visibility in graphics/MesaLib still broken with GCC 4.6 on Solaris



>Number:         45265
>Category:       pkg
>Synopsis:       visibility in graphics/MesaLib still broken with GCC 4.6 on 
>Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 18 08:20:00 +0000 2011
>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



Home | Main Index | Thread Index | Old Index