[Buildroot] [autobuild.buildroot.net] Build results for 2014-10-28

Jörg Krause jkrause at posteo.de
Fri Oct 31 15:30:00 UTC 2014


On Fr, 2014-10-31 at 15:02 +0100, Peter Korsgaard wrote:
> >>>>> "Jörg" == Jörg Krause <jkrause at posteo.de> writes:
> 
>  > On Do, 2014-10-30 at 05:46 -0500, Mike Zick wrote:
>  >> On Thu, 30 Oct 2014 08:17:11 +0100
>  >> Jörg Krause <jkrause at posteo.de> wrote:
>  >> 
>  >> > >      powerpc |                    mp4v2-2.0.0 | NOK |
>  >> > > http://autobuild.buildroot.net/results/e93653ccc815c805f4af55910c2995372587e7b4/  
>  >> > 
>  >> > toolchain error?
>  >> >         powerpc-ctng_e500v2-linux-gnuspe-g++: error: unrecognized
>  >> >         command line option '-mfloat-Wa,-me500x2'
>  >> >         
>  >> 
>  >> Run together options.
>  >> Or
>  >> the compiler was not able to compute subtracting 
>  >> 'Warn All' from -mfloat.  
>  >> ;)
> 
>  > You're right! It should be -mabi=spe -mfloat-gprs=double -Wa,-me500x2.
> 
>  > How can this happen?
> 
> I believe it comes from this snippet in configure.ac:
> 
> ###############################################################################
> # disable debugging
> ###############################################################################
> 
> if test "$enable_debug" = "no"; then
>     changequote(<<,>>)dnl
>     if test "$GCC" = "yes"; then
>         CFLAGS=`echo "$CFLAGS" | sed -e 's/-g[^ ]*[ ]*//' -e 's/^ //' -e 's/ $//'`
>     fi
>     if test "$GXX" = "yes"; then
>         CXXFLAGS=`echo "$CXXFLAGS" | sed -e 's/-g[^ ]*[ ]*//' -e 's/^ //' -e 's/ $//'`
>     fi
> 
> Which looks fairly broken. As far as I can see this is the only thing
> --disable-debug does, so the easiest fix is just to always passs
> --enable-debug.
> 
> I'll fix that.
> 

This is a really stupid mistake! Many thanks for the investigation and
the workaround!




More information about the buildroot mailing list