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: Mon, 8 Jul 2013 01:21:51 +0200

 On Sun, Jul 07, 2013 at 12:14:29PM +0200, Michael van Elst wrote:
 > 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.
 
 The same problem exists for graphics/png. The hack that disables the
 optimization should probably always match for arm and earm platforms
 until the compiler bug is fixed.
 
 
 -- 
                                 Michael van Elst
 Internet: mlelstv%serpens.de@localhost
                                 "A potential Snark may lurk in every tree."
 


Home | Main Index | Thread Index | Old Index