pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48500 lang/perl5 cause an unaligned access exception.
The following reply was made to PR pkg/48500; it has been noted by GNATS.
From: Rin Okuyama <rokuyama%rk.phys.keio.ac.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/48500 lang/perl5 cause an unaligned access exception.
Date: Fri, 28 Oct 2016 17:19:24 +0900
Unfortunately, this problem, unaligned access by miniperl, occurs also
with GCC 5.4 in NetBSD/alpha-current. Please apply the attached patch
to pkgsrc-HEAD.
Thanks,
Rin
====
--- pkgsrc/lang/perl5/hacks.mk.orig 2016-10-28 00:16:22.675678997 +0900
+++ pkgsrc/lang/perl5/hacks.mk 2016-10-28 00:19:25.163993253 +0900
@@ -55,10 +55,10 @@
.endif
### [Fri Jan 31 11:09:04 CST 2014 : schnoebe]
-### gcc-4.*.* in NetBSD/alpha causes unaligned access exception in perl.
+### gcc-[45].*.* 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(MACHINE_PLATFORM:MOpenBSD-*-alpha)) \
- && !empty(CC_VERSION:Mgcc-4.*.*)
+ && !empty(CC_VERSION:Mgcc-[45].*.*)
# XXX: is there any good way to replace the default -O2 with multiple args?
PKG_HACKS+= alpha-optimisation
#BUILDLINK_TRANSFORM+= opt:-O[2-9]*:-O2 -fno-tree-ter
Home |
Main Index |
Thread Index |
Old Index