public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/16627] New: "Unrecognized opcode" error while building cross compiler for powerpc
@ 2004-07-19 14:22 gkyla at central dot ntua dot gr
  2004-07-19 18:44 ` [Bug target/16627] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gkyla at central dot ntua dot gr @ 2004-07-19 14:22 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/16627] "Unrecognized opcode" error while building cross compiler for powerpc
  2004-07-19 14:22 [Bug target/16627] New: "Unrecognized opcode" error while building cross compiler for powerpc gkyla at central dot ntua dot gr
@ 2004-07-19 18:44 ` pinskia at gcc dot gnu dot org
  2004-07-20  9:15 ` gkyla at central dot ntua dot gr
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-19 18:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-19 18:44 -------
Invalid as now binutils 2.15 is required for PPC.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16627


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/16627] "Unrecognized opcode" error while building cross compiler for powerpc
  2004-07-19 14:22 [Bug target/16627] New: "Unrecognized opcode" error while building cross compiler for powerpc gkyla at central dot ntua dot gr
  2004-07-19 18:44 ` [Bug target/16627] " pinskia at gcc dot gnu dot org
@ 2004-07-20  9:15 ` gkyla at central dot ntua dot gr
  2004-07-20 14:04 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: gkyla at central dot ntua dot gr @ 2004-07-20  9:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gkyla at central dot ntua dot gr  2004-07-20 09:15 -------
Unfortunately, the problem remains with binutils-2.15. Specifically, I have 
tried with binutils versions 2.15, 2.15.90.0.3 and 2.15.91.0.1 (always using 
the same configure and build commands) and they all show the same error at the 
same place as my initial post. I paste it here as well for completeness: 
 
/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/ccbssRup.s: Assembler messages: 
/tmp/ccbssRup.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 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16627


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/16627] "Unrecognized opcode" error while building cross compiler for powerpc
  2004-07-19 14:22 [Bug target/16627] New: "Unrecognized opcode" error while building cross compiler for powerpc gkyla at central dot ntua dot gr
  2004-07-19 18:44 ` [Bug target/16627] " pinskia at gcc dot gnu dot org
  2004-07-20  9:15 ` gkyla at central dot ntua dot gr
@ 2004-07-20 14:04 ` pinskia at gcc dot gnu dot org
  2004-07-20 14:30 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-20 14:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-20 14:04 -------
What happens if you add --with-gnu-as to the configure line?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16627


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/16627] "Unrecognized opcode" error while building cross compiler for powerpc
  2004-07-19 14:22 [Bug target/16627] New: "Unrecognized opcode" error while building cross compiler for powerpc gkyla at central dot ntua dot gr
                   ` (2 preceding siblings ...)
  2004-07-20 14:04 ` pinskia at gcc dot gnu dot org
@ 2004-07-20 14:30 ` pinskia at gcc dot gnu dot org
  2004-07-20 20:12 ` gkyla at central dot ntua dot gr
  2004-08-31  5:51 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-20 14:30 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16627


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/16627] "Unrecognized opcode" error while building cross compiler for powerpc
  2004-07-19 14:22 [Bug target/16627] New: "Unrecognized opcode" error while building cross compiler for powerpc gkyla at central dot ntua dot gr
                   ` (3 preceding siblings ...)
  2004-07-20 14:30 ` pinskia at gcc dot gnu dot org
@ 2004-07-20 20:12 ` gkyla at central dot ntua dot gr
  2004-08-31  5:51 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: gkyla at central dot ntua dot gr @ 2004-07-20 20:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gkyla at central dot ntua dot gr  2004-07-20 20:12 -------
I get the same results :( 
 
PS. GCC compiled fine for hppa64-hp-hpux11.11 with --with-gnu-as (bug 16642), 
thanks. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16627


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug target/16627] "Unrecognized opcode" error while building cross compiler for powerpc
  2004-07-19 14:22 [Bug target/16627] New: "Unrecognized opcode" error while building cross compiler for powerpc gkyla at central dot ntua dot gr
                   ` (4 preceding siblings ...)
  2004-07-20 20:12 ` gkyla at central dot ntua dot gr
@ 2004-08-31  5:51 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-31  5:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-31 05:51 -------
/tmp/ccIAkaC2.s:509: Error: Unrecognized opcode: `mfcr'   hmm, this looks like a configure problem 
somewhere because mfcr is a standard powerpc instructions.

I might have found the problem configure is finding the wrong as.
I think you should read <http://gcc.gnu.org/ml/gcc/2004-05/msg01389.html>.

By the way this works for me.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16627


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-08-31  5:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-19 14:22 [Bug target/16627] New: "Unrecognized opcode" error while building cross compiler for powerpc gkyla at central dot ntua dot gr
2004-07-19 18:44 ` [Bug target/16627] " pinskia at gcc dot gnu dot org
2004-07-20  9:15 ` gkyla at central dot ntua dot gr
2004-07-20 14:04 ` pinskia at gcc dot gnu dot org
2004-07-20 14:30 ` pinskia at gcc dot gnu dot org
2004-07-20 20:12 ` gkyla at central dot ntua dot gr
2004-08-31  5:51 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).