pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/53568: perl-5.28.0 fails to build on Solaris 10
The following reply was made to PR pkg/53568; it has been noted by GNATS.
From: maya%netbsd.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/53568: perl-5.28.0 fails to build on Solaris 10
Date: Tue, 20 Nov 2018 09:10:31 +0000
Does a diff like the following do the trick to avoid the issue in
pkgsrc?
Index: hacks.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/perl5/hacks.mk,v
retrieving revision 1.20
diff -u -r1.20 hacks.mk
--- hacks.mk 20 Nov 2018 09:07:06 -0000 1.20
+++ hacks.mk 20 Nov 2018 09:10:16 -0000
@@ -22,6 +22,13 @@
BUILDLINK_TRANSFORM+= opt:-O[0-9]*:-Os
.endif
+# Alignment fault on perl 5.28.0
+# https://rt.perl.org/Public/Bug/Display.html?id=133495
+.if ${OPSYS} == "SunOS" && !empty(${MACHINE_ARCH:Msparc*})
+PKG_HACKS+=
+BUILDLINK_TRANSFORM+= opt:-O3:-O2
+.endif
+
### [Fri Jan 31 11:09:04 CST 2014 : schnoebe]
### [Fri Oct 28 11:53:57 EDT 2016 : dholland - extended to gcc5]
### gcc-[45].*.* in NetBSD/alpha causes unaligned access exception in perl.
Home |
Main Index |
Thread Index |
Old Index