This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug boehm-gc/34728] New: Unrecognized opcode: `lwsync' when compiling gcc 4.2.2 on a 7457


This is Yellowdog 3 and Linux 2.4. I've previously built and installed gcc
4.1.1 which has worked well for years. But I've recently had a need to build
and install gdb 6.7.1. But that had problems building (the details now
forgotten). And so as a stab in the dark I am now trying to build and install
gcc 4.2.2 so I can build and install gdb 6.7.1. This means that gcc 4.2.2 has
been compiled with gcc 4.1.1 in stage 1. The "native" version of gcc is 3.2.2.

# uname -a
Linux kitchen 2.4.19-Ismp #2 SMP Wed Jan 4 07:05:36 EST 2006 ppc ppc ppc
GNU/Linux

# cat /proc/cpuinfo 
processor       : 0
cpu             : 7457, altivec supported
hid0            : 8491c1bc
hid1            : 00015c80
l2cr            : 80000000
l3cr            : 9c020000
pir             : 00000000
revision        : 1.2 (pvr 8002 0102)
bogomips        : 999.42

processor       : 1
cpu             : 7457, altivec supported
hid0            : 8491c1bc
hid1            : 00015c80
l2cr            : 80000000
l3cr            : 9c020000
pir             : 00000001
revision        : 1.2 (pvr 8002 0102)
bogomips        : 999.42

processor       : 2
cpu             : 7457, altivec supported
hid0            : 8491c1bc
hid1            : 00015c80
l2cr            : 80000000
l3cr            : 9c020000
pir             : 00000002
revision        : 1.2 (pvr 8002 0102)
bogomips        : 999.42

processor       : 3
cpu             : 7457, altivec supported
hid0            : 8491c1bc
hid1            : 00015c80
l2cr            : 80000000
l3cr            : 9c020000
pir             : 00000003
revision        : 1.2 (pvr 8002 0102)
bogomips        : 999.42

total bogomips  : 3997.69
machine         : Curtiss-Wright VAFS, rev D, eco 3
clock           : 1000Mhz
local bus       : 100Mhz

make[3]: Entering directory `/tmp/gcc-4.2.2/powerpc-unknown-linux-gnu/boehm-gc'
/bin/sh ./libtool --mode=compile
/tmp/gcc-4.2.2/host-powerpc-unknown-linux-gnu/gcc/xgcc
-B/tmp/gcc-4.2.2/host-powerpc-unknown-linux-gnu/gcc/
-B/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/bin/
-B/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/lib/ -isystem
/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/include -isystem
/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H
-I/tmp/gcc-4.2.2/boehm-gc/include  -fexceptions -Iinclude -I././targ-include
-I.//libc/include -O2   -fexceptions -Iinclude -I././targ-include
-I.//libc/include  -c -o allchblk.lo ../.././boehm-gc/allchblk.c
mkdir .libs
/tmp/gcc-4.2.2/host-powerpc-unknown-linux-gnu/gcc/xgcc
-B/tmp/gcc-4.2.2/host-powerpc-unknown-linux-gnu/gcc/
-B/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/bin/
-B/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/lib/ -isystem
/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/include -isystem
/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H
-I/tmp/gcc-4.2.2/boehm-gc/include -fexceptions -Iinclude -I././targ-include
-I.//libc/include -O2 -fexceptions -Iinclude -I././targ-include
-I.//libc/include -c ../.././boehm-gc/allchblk.c  -fPIC -DPIC -o
.libs/allchblk.o
/tmp/gcc-4.2.2/host-powerpc-unknown-linux-gnu/gcc/xgcc
-B/tmp/gcc-4.2.2/host-powerpc-unknown-linux-gnu/gcc/
-B/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/bin/
-B/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/lib/ -isystem
/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/include -isystem
/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H
-I/tmp/gcc-4.2.2/boehm-gc/include -fexceptions -Iinclude -I././targ-include
-I.//libc/include -O2 -fexceptions -Iinclude -I././targ-include
-I.//libc/include -c ../.././boehm-gc/allchblk.c -o allchblk.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile
/tmp/gcc-4.2.2/host-powerpc-unknown-linux-gnu/gcc/xgcc
-B/tmp/gcc-4.2.2/host-powerpc-unknown-linux-gnu/gcc/
-B/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/bin/
-B/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/lib/ -isystem
/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/include -isystem
/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H
-I/tmp/gcc-4.2.2/boehm-gc/include  -fexceptions -Iinclude -I././targ-include
-I.//libc/include -O2   -fexceptions -Iinclude -I././targ-include
-I.//libc/include  -c -o alloc.lo ../.././boehm-gc/alloc.c
/tmp/gcc-4.2.2/host-powerpc-unknown-linux-gnu/gcc/xgcc
-B/tmp/gcc-4.2.2/host-powerpc-unknown-linux-gnu/gcc/
-B/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/bin/
-B/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/lib/ -isystem
/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/include -isystem
/opt/gcc-4.2.2/powerpc-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H
-I/tmp/gcc-4.2.2/boehm-gc/include -fexceptions -Iinclude -I././targ-include
-I.//libc/include -O2 -fexceptions -Iinclude -I././targ-include
-I.//libc/include -c ../.././boehm-gc/alloc.c  -fPIC -DPIC -o .libs/alloc.o
/tmp/ccPgH2AZ.s: Assembler messages:
/tmp/ccPgH2AZ.s:2340: Error: Unrecognized opcode: `lwsync'
/tmp/ccPgH2AZ.s:2438: Error: Unrecognized opcode: `lwsync'
/tmp/ccPgH2AZ.s:2541: Error: Unrecognized opcode: `lwsync'
make[3]: *** [alloc.lo] Error 1
make[3]: Leaving directory `/tmp/gcc-4.2.2/powerpc-unknown-linux-gnu/boehm-gc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/gcc-4.2.2/powerpc-unknown-linux-gnu/boehm-gc'
make[1]: *** [all-target-boehm-gc] Error 2
make[1]: Leaving directory `/tmp/gcc-4.2.2'
make: *** [all] Error 2

Oh man. If you only knew what a PITA this system has been...


-- 
           Summary: Unrecognized opcode: `lwsync' when compiling gcc 4.2.2
                    on a 7457
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: boehm-gc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tom at software6 dot net


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]