GCC 4.1.1/4.2.0 build failure with current binutils (iWMMXt)

Steven Newbury s_j_newbury@yahoo.co.uk
Sun May 7 09:07:00 GMT 2006


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.

I have attached my patch for the Linux/EABI/iWMMXt target.

Steve

Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iwmmxt.patch
Type: text/x-diff
Size: 8784 bytes
Desc: 2791827183-iwmmxt.patch
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20060507/d65a70e7/attachment.bin>


More information about the Gcc mailing list