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 Sat, Jul 06, 2013 at 05:00:00PM +0000, Izumi Tsutsui wrote:

>  pkgsrc/devel/bison/ 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.

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index