[Buildroot] [git commit] assimp: work around gcc bug on SuperH
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Feb 27 21:09:28 UTC 2017
Hello,
On Mon, 27 Feb 2017 22:00:03 +0100, Peter Korsgaard wrote:
> > +# workaround SuperH compiler failure when static linking (i.e -fPIC is
> > +# not passed) in gcc versions 5.x or older. The -Os optimization level
> > +# causes a "unable to find a register to spill in class
> > +# __GENERAL_REGS__" error. -O2 works fine.
>
> Any specific reason for the unicode quotes?
Nope, this message was copy/pasted from the gcc output, so the quotes
come from here.
> > +ifeq ($(BR2_sh):$(BR2_STATIC_LIBS):$(BR2_HOST_GCC_AT_LEAST_6),y:y:)
>
> HOST_GCC? Don't you mean BR2_TOOLCHAIN_GCC_AT_LEAST_6?
Gaah. Shit. I'll fix this. Thanks for reviewing.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list