[Buildroot] --with-abi=<empty> ... during gcc build
Ulf Samuelsson
ulf at atmel.com
Sat Sep 29 20:32:26 UTC 2007
lör 2007-09-29 klockan 20:28 +0200 skrev Bernhard Fischer:
> On Sat, Sep 29, 2007 at 07:38:50PM +0200, Ulf Samuelsson wrote:
> >gcc configure is passed $(GCC_WITH_ABI)
> >which is defined as:
> >toolchain/gcc/Makefile.in:GCC_WITH_ABI:=--with-abi=$(BR2_GCC_TARGET_ABI)
>
> Well, if it is empty it will not be set, so there is something wrong at
> your end, really.
> ifneq ($(strip $(subst ",,$(BR2_GCC_TARGET_ABI))),)
> # ")))
> GCC_WITH_ABI:=--with-abi=$(BR2_GCC_TARGET_ABI)
> endif
>
> >
> >target/Config.in.arch defines BR2_GCC_TARGET_ABI
> >config BR2_GCC_TARGET_ABI
> > string
> > default apcs-gnu if BR2_arm_dunno
> > default aapcs-linux if BR2_arm_dunno
> > default iwmmxt if BR2_iwmmxt
> > default 32 if BR2_mipsel && BR2_OABI
> > default n32 if BR2_mipsel && BR2_EABI
> > default o64 if BR2_mips && BR2_OABI
> > default 64 if BR2_mips && BR2_ABI64
> > default eabi if BR2_mips && BR2_EABI
> > default mmixware if BR2_mmix && BR2_ABI_native
> > default gnu if BR2_mmix && !BR2_ABI_native
> > default altivec if BR2_powerpc && BR2_ABI_altivec
> >
> >
> >but there is no definition of BR2_OABI or BR2_EABI.
> >
> >Suggest the following patch
>
> Heh. I'm extending the ABI selection for MIPS as we speak. I'll
> take care of this.
I think this is why I get an EABI compiler
even when OABI is selected in buildroot.
I fo not know if --with-abi=32 is the right thing to do for ARM
when OABI is wanted, so if you know it is different, pls change.
BR
Ulf Samuelsson
More information about the buildroot
mailing list