[oe] binutils fails for AVR32

Robert Wörle robert at linuxdevelopment.de
Sat Oct 4 08:38:03 UTC 2008



Koen Kooi wrote:
> On 03-10-2008 13:46, Robert Wörle wrote:
>>> | 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 ?
> 
> It seems your metadata is obsolete, avr32 builds have 'just worked' for
> a few months now thanks to several companies funding OE avr32 work.
> 
> A sample of what angstrom can do now:
> 
> http://www.youtube.com/watch?v=vvOyixL8BRM
> 

wow thats cool !
btw .. i just managed to build avr32 again with the current meta`s by
just removing the binutils-avr32.inc !!  It went on and finished
minimal-image !
And that on a x86_64 host !  What a joy

Hail you, Koen and the others .. feels like i can now relay on the oe
chain again and start building up more products on this nice cpu

Cheers Rob

> 
> Koen






More information about the Openembedded-devel mailing list