NetBSD-Bugs archive

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

Re: toolchain/48026: devel/bison crashes on earm because of compiler bug



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

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: toolchain/48026: devel/bison crashes on earm because of compiler
         bug
Date: Sun, 7 Jul 2013 01:57:27 +0900

 > >Synopsis:       devel/bison crashes on earm because of compiler bug
 
 pkgsrc/devel/bison/hacks.mk already has the following lines:
 ---
 ### gcc-4.5.3 in NetBSD/arm 5.99.59 also breaks bison in net/libIDL.
 ### -O seems enough for workaround in this case.
 .if !empty(MACHINE_PLATFORM:MNetBSD-*-arm) && !empty(CC_VERSION:Mgcc-4.5.*)
 PKG_HACKS+=             optimisation
 BUILDLINK_TRANSFORM+=   rename:-O[0-9]*:-O
 .endif
 ---
 
 How about -O (or -O2 -fno-ipa-sra as mentioned in PR/47798) even for earm?
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index