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



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