The process fails while emerging cross-binutils. It looks like crossdev does not yet support the AVR32 target since it it not listed in "crossdev -t help". #crossdev -t avr32-unknown-linux-uclib -------------------------------------------------------------------------------------------------------------------------------------------------------------- * Host Portage ARCH: amd64 * Target Portage ARCH: * * Target System: avr32-unknown-linux-uclib * Stage: 3 (C compiler & libc) * binutils: binutils-[latest] * gcc: gcc-[latest] * libc: avr-libc-[latest] * PORTDIR_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PKGDIR: /usr/portage/packages/cross/avr32-unknown-linux-uclib * PORTAGE_TMPDIR: /var/tmp/cross/avr32-unknown-linux-uclib _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ... [ ok ] * Log: /var/log/portage/cross-avr32-unknown-linux-uclib-binutils.log * Emerging cross-binutils ... * binutils failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-avr32-unknown-linux-uclib-info.log * /var/log/portage/cross-avr32-unknown-linux-uclib-binutils.log Reproducible: Always Steps to Reproduce: crossdev -t avr32-unknown-linux-uclib Actual Results: crossdev creates the link to the ebuild in my PORTAGE_OVERLAY (/usr/local/portage), but the emerge process fails. # ls -l /usr/local/portage/cross-avr32-unknown-linux-uclib/ total 0 lrwxrwxrwx 1 root root 34 Sep 7 15:18 avr-libc -> /usr/portage/dev-embedded/avr-libc lrwxrwxrwx 1 root root 31 Sep 7 15:18 binutils -> /usr/portage/sys-devel/binutils lrwxrwxrwx 1 root root 26 Sep 7 15:18 gcc -> /usr/portage/sys-devel/gcc lrwxrwxrwx 1 root root 26 Sep 7 15:18 gdb -> /usr/portage/sys-devel/gdb lrwxrwxrwx 1 root root 29 Sep 7 15:18 insight -> /usr/portage/dev-util/insight Expected Results: I expected crossdev to build the avr32 cross compiler.
Created attachment 164812 [details] binutils log
Created attachment 164813 [details] info log
I do not see portage patching binutils for the avr32, which is why I believe it is failing.
Created attachment 164988 [details] binutils log
Created attachment 164990 [details] info log
binutils doesnt support avr32, so you cant expect it to work bug upstream to get support merged into mainline
I was hoping the ebuild could be modified to download the patches (http://avr32linux.org/twiki/bin/view/Main/BinutilsPatches). Reported upstream: http://sourceware.org/bugzilla/show_bug.cgi?id=6997
just put the patches yourself into /etc/portage/patches/cross-avr32/binutils/ and they'll get auto applied