I'm trying to build a cross compiler so I can build RockBox, but it fails like this (log files and dumps will be attached in a moment). I've run memtest86 with no problems, and it's failed at the same place many times, so I don't think it's my hardware. bigbert tom # crossdev -s1 --target m68k-elf ------------------------------------------------------------------------------------------------------------------------------------------- * Host Portage ARCH: amd64 * Target Portage ARCH: m68k * Target System: m68k-elf * Stage: 1 (C compiler only) * binutils: binutils-[latest] * gcc: gcc-[latest] * PORTDIR_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PKGDIR: /usr/portage/packages/cross/m68k-elf * PORTAGE_TMPDIR: /var/tmp/cross/m68k-elf _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - * Forcing the latest versions of binutils-config/gcc-config ... [ ok ] * Log: /var/log/portage/cross-m68k-elf-binutils.log * Emerging cross-binutils ... [ ok ] * Log: /var/log/portage/cross-m68k-elf-gcc-stage1.log * Emerging cross-gcc-stage1 ... * gcc failed :( * If you file a bug, please attach the following logfiles: * /var/log/portage/cross-m68k-elf-info.log * /var/log/portage/cross-m68k-elf-gcc-stage1.log I also tried it with this command line (which specifies older versions than now): crossdev -s1 --binutils 2.16.1-r2 --gcc 3.4.5-r1 --target m68k-elf but it fails in the same way. Some version info: tom@bigbert ~/crosscompile_ice $ emerge -pv sys-devel/gcc crossdev These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/gcc-3.4.6-r1 USE="fortran gtk nls -bootstrap -boundschecking -build -doc -gcj -hardened -ip28 -ip32r10k -multislot -nocxx -nopie -nossp -objc -vanilla" 0 kB [ebuild R ] sys-devel/crossdev-0.9.15-r1 0 kB
Created attachment 92821 [details] cross-m68k-elf-info.log
Created attachment 92822 [details] cross-m68k-elf-binutils.log
Created attachment 92823 [details] cross-m68k-elf-gcc-stage1.log
Created attachment 92824 [details] cciM7RHW.out, the preprocessed source
please try with gcc-4.1.1 gcc-3.4.x is dead
I tried upgrading my host compiler to 4.1.1, but I get the same failure. Setting flags such that it builds version 4.1.1 of the cross compiler works, but unfortunately Rockbox won't build with that version.
i meant build a m68k-elf-gcc-4.1.1 ... works for me: root@vapier 0 ~ # crossdev -s1 --target m68k-elf -------------------------------------------------------------------------------- * Host Portage ARCH: amd64 * Target Portage ARCH: m68k * Target System: m68k-elf * Stage: 1 (C compiler only) * binutils: binutils-[latest] * gcc: gcc-[latest] * PORTDIR_OVERLAY: /usr/local/portage * PORT_LOGDIR: /var/log/portage * PKGDIR: /usr/portage/packages/cross/m68k-elf * PORTAGE_TMPDIR: /var/tmp/cross/m68k-elf _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - * Forcing the latest versions of binutils-config/gcc-config ... [ ok ] * Log: /var/log/portage/cross-m68k-elf-binutils.log * Emerging cross-binutils ... [ ok ] * Log: /var/log/portage/cross-m68k-elf-gcc-stage1.log * Emerging cross-gcc-stage1 ... [ ok ] root@vapier 0 ~ # m58 root@vapier 0 ~ # m68k-elf-gcc --version m68k-elf-gcc (GCC) 4.1.1 (Gentoo 4.1.1) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.