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 bootstrap/14037] New: bootstrapping fails when configured with --with-cpu=601


In 'make bootstrap', I get the following error:

./xgcc -B./ -B/usr/local/powerpc-unknown-linux-gnu/bin/ -
isystem /usr/local/powerpc-unknown-linux-gnu/include -
isystem /usr/local/powerpc-unknown-linux-gnu/sys-include -O2  -DIN_GCC    -W -
Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -
isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -
D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -
I../../gcc/../include  -fPIC -mstrict-align -DL_negdi2 -c ../../gcc/libgcc2.c -
o libgcc/./_negdi2.o
/home/sstefaan/tmp/ccGLAZYq.s: Assembler messages:
/home/sstefaan/tmp/ccGLAZYq.s:54: Error: Unrecognized opcode: `nabs'

Investigation showed that gcc doesn't pass the right argument to as (I think 
nabs is 601-specific).

./xgcc -v output:
Reading specs from ./specs
Configured with: ../configure --with-cpu=601
Thread model: posix
gcc version 3.3.3 20040201 (prerelease)
 ./cc1 -E -quiet -v -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -
I../../gcc/../include -iprefix /mnt/.disk2/rpm-rebuilder/RPM/BUILD/gcc-3.3.3-
20040131/objdir/gcc/../lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/ -
isystem ./include -isystem /usr/local/powerpc-unknown-linux-gnu/bin/include -
D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=3 -D__PIC__=2 -D__pic__=2 -
D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -
Asystem=unix -Asystem=posix -DIN_GCC -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -
D__GCC_FLOAT_NOT_NEEDED -DL_negdi2 -isystem /usr/local/powerpc-unknown-linux-
gnu/include -isystem /usr/local/powerpc-unknown-linux-gnu/sys-include -
isystem ./include ../../gcc/libgcc2.c -mstrict-align -W -Wall -Wwrite-strings -
Wstrict-prototypes -Wmissing-prototypes -fPIC -fPIC -O2 libgcc2.i
ignoring nonexistent directory "/usr/local/powerpc-unknown-linux-
gnu/bin/include"
ignoring nonexistent directory "/usr/local/powerpc-unknown-linux-gnu/include"
ignoring nonexistent directory "/usr/local/powerpc-unknown-linux-gnu/sys-
include"
ignoring nonexistent directory "/mnt/.disk2/rpm-rebuilder/RPM/BUILD/gcc-3.3.3-
20040131/objdir/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/include"
ignoring nonexistent directory "/mnt/.disk2/rpm-rebuilder/RPM/BUILD/gcc-3.3.3-
20040131/objdir/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3/../../../../powerpc-
unknown-linux-gnu/include"
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/powerpc-unknown-linux-
gnu/3.3.3/include"
ignoring nonexistent directory "/usr/local/powerpc-unknown-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../gcc"
ignoring duplicate directory "include"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../gcc
 ../../gcc/config
 ../../include
 include
 /usr/local/include
 /usr/include
End of search list.
 ./cc1 -fpreprocessed libgcc2.i -quiet -dumpbase libgcc2.c -mstrict-align -
auxbase-strip libgcc/./_negdi2.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-
prototypes -Wmissing-prototypes -version -fPIC -fPIC -o libgcc2.s
GNU C version 3.3.3 20040201 (prerelease) (powerpc-unknown-linux-gnu)
        compiled by GNU C version 3.3.1 (Mandrake Linux 9.1 3.3.1-2mdk).
GGC heuristics: --param ggc-min-expand=39 --param ggc-min-heapsize=17898
 as -mppc -V -Qy -K PIC -o libgcc/./_negdi2.o libgcc2.s
GNU assembler version 2.14.90.0.8 (ppc-mandrake-linux-gnu) using BFD version 
2.14.90.0.8 20040114
libgcc2.s: Assembler messages:
libgcc2.s:54: Error: Unrecognized opcode: `nabs'

as is run with the argument -mppc ... what should be -m601 (my guess)

-- 
           Summary: bootstrapping fails when configured with --with-cpu=601
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: minor
          Priority: P1
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stefaan dot simoens at tiscali dot be
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: powerpc-*-linux-gnu


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


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