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 c/14053] New: second stage build errors (--with-cpu=601)


I edited gcc/config/rs6000/sysv4.h to
#define ASM_DEFAULT_SPEC "=m601" (PR 14037)

The make bootstrap fails in stage2 ... 

./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_fixunsdfsi -
c ../../gcc/libgcc2.c -o libgcc/./_fixunsdfsi.o
../../gcc/libgcc2.c: In function _fixunsdfsi':
../../gcc/libgcc2.c:1161: error: insn does not satisfy its constraints:
(jump_insn 84 83 85 (nil) (parallel [
            (return)
            (use (reg:SI 0 r0 [65]))
        ]) 549 {*return_internal_si} (insn_list 82 (insn_list:REG_DEP_ANTI 44 
(insn_list 83 (insn_list 80 (insn_list 81 (nil))))))
    (expr_list:REG_DEAD (reg:SI 0 r0 [65])
        (nil)))
../../gcc/libgcc2.c:1161: internal compiler error: in final_scan_insn, at 
final.c:2722
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [libgcc/./_fixunsdfsi.o] Error 1
make[3]: Leaving directory /mnt/.disk2/rpm-rebuilder/RPM/BUILD/gcc-3.3.3-
20040131/objdir/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory /mnt/.disk2/rpm-rebuilder/RPM/BUILD/gcc-3.3.3-
20040131/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory /mnt/.disk2/rpm-rebuilder/RPM/BUILD/gcc-3.3.3-
20040131/objdir/gcc'
make: *** [bootstrap] Error 2

I actually began investigating the 3.3.3-prerelease because I found errors in 
binaries built/optimized with -mcpu=601. (For example: latest binutils gives 
errors in 'make check' for the ld tests when I build with -mcpu=601; everything 
runs fine if I don't add the -mcpu=601). Any ideas? I'd be glad to be of any 
help (but i'm not a programmer...)

-- 
           Summary: second stage build errors (--with-cpu=601)
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P1
         Component: c
        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=14053


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