With this configure and build:

#!/bin/tcsh
/bin/rm -rf *; env CC=/pkgs/gcc-4.2.0-64/bin/gcc ../configure
--build=powerpc64-apple-darwin8.8.0 --host=powerpc64-apple-darwin8.8.0
--target=powerpc64-apple-darwin8.8.0 --with-gmp=/pkgs/gmp-4.2.1-64/
--with-mpfr=/pkgs/gmp-4.2.1-64/ --prefix=/pkgs/gcc-4.3.0-64; make -j 2
bootstrap BOOT_LDFLAGS='-Wl,-search_paths_first' >& build.log && (make install)
&& (make -k -j 4 check RUNTESTFLAGS="--target_board 'unix{-mcpu=970/-m64}'"  >&
check.log ; make mail-report-with-warnings.log)

bootstrap fails with

/pkgs/gcc-4.2.0-64/bin/gcc -c   -g -fkeep-inline-functions -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wmissing-format-attribute -fno-common   -DHAVE_CONFIG_H
-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl
-I../../gcc/../libcpp/include -I/pkgs/gmp-4.2.1-64//include
-I/pkgs/gmp-4.2.1-64//include -I../../gcc/../libdecnumber -I../libdecnumber   
-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl
-I../../gcc/../libcpp/include -I/pkgs/gmp-4.2.1-64//include
-I/pkgs/gmp-4.2.1-64//include -I../../gcc/../libdecnumber -I../libdecnumber
../../gcc/config/darwin.c
../../gcc/config/darwin.c: In function 'machopic_select_section':
../../gcc/config/darwin.c:1188: error: too many arguments to function
'categorize_decl_for_section'
make[3]: *** [darwin.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2


-- 
           Summary: Bootstrap failure: darwin.c:1188: error: too many
                    arguments to function 'categorize_decl_for_section
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lucier at math dot purdue dot edu
 GCC build triplet: powerpc64-apple-darwin8.8.0
  GCC host triplet: powerpc64-apple-darwin8.8.0
GCC target triplet: powerpc64-apple-darwin8.8.0


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

Reply via email to