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: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/48500: lang/perl5 cause an unaligned access exception.
Date: Tue, 07 Jan 2014 14:26:52 +0900
On Sun, 05 Jan 2014 10:35:00 +0900, <nullnilaki%gmail.com@localhost> wrote:
>> Fix:
> Please apply this patch at pkgsrc/lang/perl5/hacks.mk
> ### 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.*.*)
> # XXX: is there any good way to replace the default -O2 with multiple args?
> #PKG_HACKS+= optimisation
> #BUILDLINK_TRANSFORM+= rename:-O[2-9]*:-O2 -fno-tree-ter
> CFLAGS+=-O2 -fno-tree-ter
> .endif
How about adding only "-fno-tree-ter" to CFLAGS if it works well with any
optimization level?
--
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index