Subject: Re: PR/35555 CVS commit: pkgsrc/mk/wrapper
To: None <rillig@NetBSD.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-bugs
Date: 02/07/2007 14:30:02
The following reply was made to PR pkg/35555; it has been noted by GNATS.

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: rillig@NetBSD.org, gnats-admin@NetBSD.org, gnats-bugs@NetBSD.org
Cc: 
Subject: Re: PR/35555 CVS commit: pkgsrc/mk/wrapper
Date: Wed, 7 Feb 2007 15:27:59 +0100 (CET)

 I forgot: Studio11 still support -KPIC for sparc and is equivalent to
 -xcode=pic32.
 
 Gilles
 
 >  
 >  Roland , thanks for this fast patch.
 >  but it does not solve fully python24 on amd64.
 >  here is a wished patch for sunpro wrapper, because of Sun compiler bug:
 >  
 >  --- mk/wrapper/transform-sunpro-cc.orig Wed Feb  7 10:04:16 2007
 >  +++ mk/wrapper/transform-sunpro-cc      Wed Feb  7 12:24:03 2007
 >  @@ -89,7 +89,10 @@
 >   --export-dynamic |\
 >   -shared                ) transform_to "-G" ;;
 >   
 >  --fPIC          |\
 >  +# This day 7 feb 2007 , SUNpro amd64 don't know -xcode option
 >  +# Sun bug, and Sun don't schedule to correct it. See Sunsolve :(
 >  +-xcode=pic*    ) transform_to "-KPIC" ;;
 >  +-fPIC          ) transform_to "-KPIC" ;;
 >   -fpic          ) transform_to "-Kpic" ;;
 >   -KPIC          ) transform_pass ;;
 >