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: Michael van Elst <mlelstv%serpens.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: toolchain-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
        netbsd-bugs%NetBSD.org@localhost
Subject: Re: toolchain/48026: devel/bison crashes on earm because of compiler
 bug
Date: Sun, 7 Jul 2013 12:14:29 +0200

 On Sat, Jul 06, 2013 at 05:00:00PM +0000, Izumi Tsutsui wrote:
 
 >  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
 
 I included MACHINE_PLATFORM:MNetBSD-*-earm, and the bison compiled
 with just -O does not crash.
 
 
 Greetings,
 -- 
                                 Michael van Elst
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index