[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#202859: [mips] branch out of range when building fold-const.c



Subject: gcc-3.3: [mips] branch out of range when building mips64-linux gcc
Package: gcc-3.3
Version: 1:3.3.1-0rc1
Severity: normal

Hi,
when building a mips-linux -> mips64-linux crosscompiler current gcc
creates assembler code as can't handle (Branch out of range) The
miscompiled file is gcc/fold-const.c. fold-const.s and foldconst.i are
(due to their size, even when compressed) at:
  http://honk.physik.uni-konstanz.de/linux-mips/gcc/bugs/fold-const.i
  http://honk.physik.uni-konstanz.de/linux-mips/gcc/bugs/fold-const.s
The exact error messages is attached. Same happens with -snapshot.
Compiler called as:
gcc --save-temps -c   -g -O2 -DIN_GCC -DCROSS_COMPILE  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../gcc-cvs/gcc -I../../gcc-cvs/gcc/. -I../../gcc-cvs/gcc/config -I../../gcc-cvs/gcc/../include  ../../gcc-cvs/gcc/fold-const.c -o fold-const.o >& ../../branch-out-of-range.log
Regards,
 -- Guido

-- System Information:
Debian Release: testing/unstable
Architecture: mips
Kernel: Linux zoidberg 2.4.19-r4k-ip22 #1 Wed Dec 4 10:08:08 CET 2002 mips
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-3.3 depends on:
ii  binutils                 2.14.90.0.5-0.1 The GNU assembler, linker and bina
ii  cpp-3.3                  1:3.3.1-0pre0   The GNU C preprocessor
ii  gcc-3.3-base             1:3.3.1-0pre0   The GNU Compiler Collection (base 
ii  libc6                    2.3.2-2         GNU C Library: Shared libraries an
ii  libgcc1                  1:3.3.1-0pre0   GCC support library

-- no debconf information
fold-const.s: Assembler messages:
fold-const.s:43393: Error: Branch out of range
fold-const.s:43406: Error: Branch out of range
fold-const.s:43506: Error: Branch out of range
fold-const.s:43519: Error: Branch out of range
fold-const.s:43632: Error: Branch out of range
fold-const.s:43645: Error: Branch out of range
fold-const.s:43711: Error: Branch out of range
fold-const.s:43724: Error: Branch out of range
fold-const.s:43795: Error: Branch out of range
fold-const.s:43808: Error: Branch out of range
fold-const.s:43874: Error: Branch out of range
fold-const.s:43887: Error: Branch out of range
fold-const.s:43958: Error: Branch out of range
fold-const.s:43971: Error: Branch out of range
fold-const.s:44047: Error: Branch out of range
fold-const.s:44060: Error: Branch out of range
fold-const.s:44136: Error: Branch out of range
fold-const.s:44149: Error: Branch out of range
fold-const.s:44283: Error: Branch out of range
fold-const.s:44296: Error: Branch out of range
fold-const.s:44362: Error: Branch out of range
fold-const.s:44374: Error: Branch out of range
fold-const.s:44435: Error: Branch out of range
fold-const.s:44447: Error: Branch out of range
fold-const.s:44495: Error: Branch out of range
fold-const.s:44508: Error: Branch out of range
fold-const.s:44570: Error: Branch out of range
fold-const.s:44582: Error: Branch out of range
fold-const.s:44680: Error: Branch out of range
fold-const.s:44693: Error: Branch out of range
fold-const.s:44760: Error: Branch out of range
fold-const.s:44773: Error: Branch out of range
fold-const.s:44832: Error: Branch out of range
fold-const.s:44845: Error: Branch out of range
fold-const.s:44915: Error: Branch out of range
fold-const.s:44928: Error: Branch out of range
fold-const.s:44983: Error: Branch out of range
fold-const.s:44996: Error: Branch out of range
fold-const.s:45070: Error: Branch out of range
fold-const.s:45083: Error: Branch out of range
fold-const.s:45138: Error: Branch out of range
fold-const.s:45150: Error: Branch out of range
fold-const.s:45181: Error: Branch out of range
fold-const.s:45202: Error: Branch out of range
fold-const.s:45214: Error: Branch out of range
fold-const.s:45226: Error: Branch out of range
fold-const.s:45243: Error: Branch out of range
fold-const.s:45262: Error: Branch out of range
fold-const.s:45290: Error: Branch out of range
fold-const.s:45307: Error: Branch out of range
fold-const.s:45337: Error: Branch out of range
fold-const.s:45414: Error: Branch out of range
fold-const.s:45427: Error: Branch out of range
fold-const.s:45487: Error: Branch out of range
fold-const.s:45498: Error: Branch out of range
fold-const.s:45525: Error: Branch out of range
fold-const.s:45546: Error: Branch out of range
fold-const.s:45558: Error: Branch out of range
fold-const.s:45570: Error: Branch out of range
fold-const.s:45587: Error: Branch out of range
fold-const.s:45606: Error: Branch out of range
fold-const.s:45657: Error: Branch out of range
fold-const.s:45670: Error: Branch out of range
fold-const.s:45730: Error: Branch out of range
fold-const.s:45743: Error: Branch out of range
fold-const.s:45808: Error: Branch out of range
fold-const.s:45821: Error: Branch out of range
fold-const.s:45893: Error: Branch out of range
fold-const.s:45906: Error: Branch out of range
fold-const.s:45969: Error: Branch out of range
fold-const.s:45982: Error: Branch out of range
fold-const.s:46032: Error: Branch out of range
fold-const.s:46044: Error: Branch out of range
fold-const.s:46109: Error: Branch out of range
fold-const.s:46121: Error: Branch out of range
fold-const.s:46175: Error: Branch out of range
fold-const.s:46188: Error: Branch out of range
fold-const.s:46207: Error: Branch out of range
fold-const.s:46216: Error: Branch out of range
fold-const.s:46229: Error: Branch out of range
fold-const.s:46277: Error: Branch out of range
fold-const.s:46436: Error: Branch out of range
fold-const.s:46449: Error: Branch out of range
fold-const.s:46473: Error: Branch out of range
fold-const.s:46536: Error: Branch out of range
fold-const.s:46549: Error: Branch out of range
fold-const.s:46609: Error: Branch out of range
fold-const.s:46621: Error: Branch out of range
fold-const.s:46672: Error: Branch out of range
fold-const.s:46683: Error: Branch out of range
fold-const.s:46713: Error: Branch out of range
fold-const.s:46777: Error: Branch out of range
fold-const.s:46790: Error: Branch out of range
fold-const.s:46839: Error: Branch out of range
fold-const.s:46902: Error: Branch out of range
fold-const.s:46915: Error: Branch out of range
fold-const.s:46964: Error: Branch out of range
fold-const.s:47027: Error: Branch out of range
fold-const.s:47040: Error: Branch out of range
fold-const.s:47089: Error: Branch out of range
fold-const.s:47153: Error: Branch out of range
fold-const.s:47166: Error: Branch out of range
fold-const.s:47218: Error: Branch out of range
fold-const.s:47429: Error: Branch out of range
fold-const.s:47441: Error: Branch out of range
fold-const.s:47462: Error: Branch out of range
fold-const.s:47530: Error: Branch out of range
fold-const.s:47543: Error: Branch out of range
fold-const.s:48536: Error: Branch out of range
fold-const.s:48548: Error: Branch out of range
fold-const.s:48627: Error: Branch out of range
fold-const.s:48639: Error: Branch out of range
fold-const.s:48687: Error: Branch out of range
fold-const.s:48699: Error: Branch out of range
fold-const.s:48761: Error: Branch out of range
fold-const.s:48773: Error: Branch out of range
fold-const.s:48821: Error: Branch out of range
fold-const.s:48833: Error: Branch out of range
fold-const.s:48845: Error: Branch out of range
fold-const.s:48940: Error: Branch out of range
fold-const.s:48952: Error: Branch out of range
fold-const.s:49010: Error: Branch out of range
fold-const.s:49022: Error: Branch out of range
fold-const.s:49153: Error: Branch out of range
fold-const.s:49166: Error: Branch out of range

Reply to: