pkgsrc-Bugs archive

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

Re: pkg/48500 lang/perl5



The following reply was made to PR pkg/48500; it has been noted by GNATS.

From: Dennis Lindroos <denafcm%gmail.com@localhost>
To: NetBSD PR <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: pkg/48500 lang/perl5
Date: Sat, 10 May 2014 12:08:55 +0300

 I use pkgsrc on OpenBSD-*-alpha and this bug is evident there, too.
 
 # gcc -v
 Reading specs from /usr/lib/gcc-lib/alpha-unknown-openbsd5.5/4.2.1/specs
 Target: alpha-unknown-openbsd5.5
 Configured with: OpenBSD/alpha system compiler
 Thread model: posix
 gcc version 4.2.1 20070719
 
 This should help...
 
 --- hacks.mk.orig       Tue Apr  8 21:07:41 2014
 +++ hacks.mk    Sat May 10 10:51:30 2014
 @@ -87,7 +87,7 @@
  ### [Fri Jan 31 11:09:04 CST 2014 : schnoebe]
  ### gcc-4.*.* in NetBSD/alpha causes  unaligned access exception in perl.
  ### -O works around, and there is a report that -O2 -fno-tree-ter is enough.
 -.if !empty(MACHINE_PLATFORM:MNetBSD-*-alpha) && !empty(CC_VERSION:Mgcc-4.*.*)
 +.if !empty(MACHINE_PLATFORM:MNetBSD-*-alpha) ||
 !empty(MACHINE_PLATFORM:MOpenBSD-*-alpha) &&
 !empty(CC_VERSION:Mgcc-4.*.*)
  # XXX: is there any good way to replace the default -O2 with multiple args?
  PKG_HACKS+=            alpha-optimisation
  #BUILDLINK_TRANSFORM+=  rename:-O[2-9]*:-O2 -fno-tree-ter
 
 TIA.
 Dennis
 


Home | Main Index | Thread Index | Old Index