From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14094 invoked by alias); 19 Jul 2004 14:22:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13930 invoked by uid 48); 19 Jul 2004 14:22:10 -0000 Date: Mon, 19 Jul 2004 14:22:00 -0000 From: "gkyla at central dot ntua dot gr" To: gcc-bugs@gcc.gnu.org Message-ID: <20040719142204.16627.gkyla@central.ntua.gr> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/16627] New: "Unrecognized opcode" error while building cross compiler for powerpc X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg02304.txt.bz2 List-Id: My machine is (uname -a): Linux kentri 2.6.7-gentoo-r11 #5 Mon Jul 19 07:26:39 EEST 2004 i686 Intel(R) Pentium(R) M processor 1500MHz GenuineIntel GNU/Linux I use (gcc --version): gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) as a native compiler. configure options for gcc were: ../gcc-3.4.1/configure --target=powerpc-ibm-aix4.3.2.0 --prefix=/usr/local --enable-languages=c from within directory /home/cross/gcc-3.4-aix. I have already installed binutils-2.14.90.0.8 in /usr/local using the same "--target" configure option (and nothing else), plus all the necessary /usr/include headers from a nearby powerpc machine in /usr/local/powerpc-ibm-aix4.3.2.0/include. Build was initiated with a plain "make" inside /home/cross/gcc-3.4-aix. The last lines of the build before it fails are: /home/cross/gcc-3.4-aix/gcc/xgcc -B/home/cross/gcc-3.4-aix/gcc/ -B/usr/local/powerpc-ibm-aix4.3.2.0/bin/ -B/usr/local/powerpc-ibm-aix4.3.2.0/lib/ -isystem /usr/local/powerpc-ibm-aix4.3.2.0/include -isystem /usr/local/powerpc-ibm-aix4.3.2.0/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.4.1/gcc -I../../gcc-3.4.1/gcc/. -I../../gcc-3.4.1/gcc/../include -mcpu=power -DL_divdi3 -c ../../gcc-3.4.1/gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/power/_divdi3.o /tmp/ccIAkaC2.s: Assembler messages: /tmp/ccIAkaC2.s:509: Error: Unrecognized opcode: `mfcr' make[2]: *** [libgcc/power/_divdi3.o] Error 1 make[2]: Leaving directory `/home/cross/gcc-3.4-aix/gcc' make[1]: *** [stmp-multilib] Error 2 make[1]: Leaving directory `/home/cross/gcc-3.4-aix/gcc' make: *** [all-gcc] Error 2 Tell me if there is any more info I should provide. -- Summary: "Unrecognized opcode" error while building cross compiler for powerpc Product: gcc Version: 3.4.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gkyla at central dot ntua dot gr CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: powerpc-ibm-aix4.3.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16627