pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36187: SunPro does not know the options related to Position Independent Executables
>Number: 36187
>Category: pkg
>Synopsis: SunPro does not know the options related to Position
>Independent Executables
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 21 11:50:00 +0000 2007
>Originator: Naoto Morishima
>Release: NetBSD 3.1_STABLE
>Organization:
>Environment:
SunOS XXX 5.8 Generic_108528-27 sun4u sparc SUNW,Sun-Fire-480R
>Description:
SunPro does not know the options related to Position Independent Executables
such as -pie, -fpie and -fPIE.
>How-To-Repeat:
Build a package which uses -pie option. e.x. net/freeradius.
>Fix:
We might need to discard these options with following patch to
mk/wrapper/transform-sunpro-cc:
--- mk/wrapper/transform-sunpro-cc.orig 2007-04-21 14:01:12.365006000 +0900
+++ mk/wrapper/transform-sunpro-cc 2007-04-21 14:01:53.973042000 +0900
@@ -106,6 +106,11 @@
# (at least until it can be statically linked).
-fast ) transform_to_and_split "-fast -xnolibmopt" ;;
+# Ignore options related to Position Independent Executables.
+-pie |\
+-fpie |\
+-fPIE ) transform_discard ;;
+
# Pass through those options that SunPro understands.
-Bdynamic |\
-Bstatic |\
Home |
Main Index |
Thread Index |
Old Index