I have built an EABI/iWMMXt Gentoo based system. The toolchain I used is modified to add a Linux/EABI/iWMMXt target. It has been fine until I changed my binutils from an earlier snapshot to a current version Gentoo 2.16.92, csl-2_17-branch or CVS trunk. Now when attempting to build GCC (on the host) I get the following error:
gcc -c -O2 -march=iwmmxt -mcpu=iwmmxt -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -Icp -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1-20060505/gcc -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1-20060505/gcc/cp -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1-20060505/gcc/../include -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1-20060505/gcc/../libcpp/include /var/tmp/portage/gcc-4.1.1/work/gcc-4.1-20060505/gcc/cp/typeck2.c -o cp/typeck2.o {standard input}: Assembler messages: {standard input}:2391: Error: iWMMXt control register expected -- `tmcr wcgr0,r1' This occurs if I attempt to build GCC trunk or 4.1.1 and I suspect 4.1.0 but I haven't tested it. The binutils snapshot from 20060421 does complete the build although it is missing the check above that is clearly failing. Whether the error is in gcc or binutils I am uncertain. -- Summary: iWMMXT bootstrap failure with recent binutils Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: s_j_newbury at yahoo dot co dot uk GCC build triplet: arm-iwmmxt-linux-gnueabi GCC host triplet: arm-iwmmxt-linux-gnueabi GCC target triplet: arm-iwmmxt-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27500