Bootstrapping both the 4.0 branch as of 20050928 and mainline as of
20051004 fails on IRIX 6.5.26f with SGI ld from MIPSpro 7.4.3m:

gcc   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
   -DHAVE_CONFIG_H  -o cc1 \
        c-parse.o c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o
c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o
c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o
c-objc-common.o c-dump.o c-pch.o  c-gimplify.o tree-mudflap.o c-pretty-print.o
main.o  libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a  
../libiberty/libiberty.a
ld32: WARNING 84 : ../libcpp/libcpp.a is not used for resolving any symbol.
ld32: WARNING 47 : This module (libbackend.a(fold-const.o) .text) contains
branch instruction(s)
                   that might degrade performance on an older version (rev.
2.2) R4000 processor.
ld32: INFO    171: Multigot invoked. Gp relative region broken up into 2
separate regions.
ld32: ERROR   97 : GOT overflow in
/amnt/figaro/volumes/obj-gcc/gcc/obj.irix5/gnat/3.4.5/6.5/bin/../lib/gcc/mips-sgi-irix6.5/3.4.5/crtbegin.o.
 
See the dso(5) manpage.
ld32: ERROR   97 : GOT overflow in c-parse.o. 
See the dso(5) manpage.
[... many more omitted]
ld32: INFO    152: Output file removed because of error.
collect2: ld returned 2 exit status
make[2]: *** [cc1] Error 1

This is a regression both from the 3.4 branch (which currently bootstraps
with the same toolset successfully) and both branches (where I could
bootstrap the 4.0 branch on 20050414 and mainline on 20050527) with the
same toolset.

Environment:
System: IRIX sculptor 6.5 10060437 IP32



host: mips-sgi-irix6.5
build: mips-sgi-irix6.5
target: mips-sgi-irix6.5
configured with: /vol/gnu/src/gcc/gcc-4.0-branch-dist/configure
--prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --with-gnu-as
--with-as=/vol/gcc/lib/gas-2.15 --enable-libgcj --disable-multilib
--with-gmp-dir=/vol/gnu/obj/gmp-4.1.3
--with-mpfr-dir=/vol/gnu/obj/gmp-4.1.3/mpfr
--enable-languages=c,c++,f95,java,objc,ada

How-To-Repeat:
Bootstrap as described above.


-- 
           Summary: [4.0/4.1 regression] IRIX 6.5 bootstrap failure with SGI
                    7.4.3m ld: GOT overflow
           Product: gcc
           Version: 4.0.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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

Reply via email to