[oe] binutils fails for AVR32

Robert Wörle robert at linuxdevelopment.de
Fri Oct 3 11:46:16 UTC 2008


> | Configuring in ./intl
> | configure: warning: build_alias=i686-linux: invalid host type
> | configure: warning: host_alias=i686-linux: invalid host type
> | configure: error: can only configure for one host and one target at a
> time
> | make[1]: *** [configure-intl] Error 1
> | make[1]: Leaving directory
> `/mnt/home/ulf/OpenEmbedded/build-avr32/tmp/work/avr32-angstrom-linux-uclibc/binutils-cross-2.17-r6/binutils-2.17/build.i686-linux.avr32-angstrom-linux-uclibc'
> 
> | make: *** [all] Error 2
> | FATAL: oe_runmake failed
> 
> These problems seems to be caused by build_alias, host_alias and
> target_alias beeing passed to "configure", but these are only
> supported by binutils-2.18 and not 2.17 which is used by the AVR32.
> 
> I am adding
> ~ (cd ${B} && sed -i -e "s,'host_alias=i686-linux',," Makefile)
> ~ (cd ${B} && sed -i -e "s,'build_alias=i686-linux',," Makefile)
> ~ (cd ${B} && sed -i -e "s,'target_alias=avr32-angstrom-linux-uclibc',,"
> Makefile)
> 
> to the do_avr32_configure_bfd
> 
Did you add this as prepend to this stage ? in which bb file did you add
it ?
Did the whole toolchain work out for you now ?




More information about the Openembedded-devel mailing list