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]

bootstrap failure : arg list too long


When I try to bootstrap a current gcc snapshot (around 2000-03-30), the
bootstrap fails on my m68k-motorola-sysv, where the size limit for
arg-list is 8k (8192 bytes).  This never failed before for me; last time that
I tried that was in december 1999 and it was still successfull.  You'll find
below the output of make bootstrap (I needed to remove the `@' at the beginning
of the make rule).  What seems strange to me is the inclusion of a big 
configuring machinery for cygwin in `Makefile'.  I am building a native
compiler for my m68k-motorola-sysv; that is known at configuration-time; there
is no reason to have a run-time configure machinery for cygwin in `Makefile'.

Philippe

-------------------------------- LOG -----------------------------------------
[...]
gnumake[1]: Leaving directory `/backup/tmp/egcs/texinfo'
r=`pwd`; export r; \
s=`cd /share/src/gnu/gccdev/egcs; pwd`; export s; \
 \
echo "Bootstrapping the compiler"; \
cd gcc; gnumake  "AR_FLAGS=rc" "AR_FOR_TARGET=` if [ -f $r/binutils/ar ] ; then echo $r/binutils/ar ; else if [ "m68k-motorola-sysv" = "m68k-motorola-sysv" ] ; then echo ar; else t=''; echo ar | sed -e 's/x/x/' $t ; fi; fi`" "AS_FOR_TARGET=` if [ -f $r/gas/as-new ] ; then echo $r/gas/as-new ; else if [ "m68k-motorola-sysv" = "m68k-motorola-sysv" ] ; then echo as; else t=''; echo as | sed -e 's/x/x/' $t ; fi; fi`" "BISON=`if [ -f $r/bison/bison ] ; then echo $r/bison/bison -L $s/bison/ ; else echo bison ; fi`" "CC_FOR_BUILD=cc" "CC_FOR_TARGET=` if [ -f $r/gcc/xgcc ] ; then if [ -f $r/m68k-motorola-sysv/newlib/Makefile ] ; then case "m68k-motorola-sysv" in i[3456]86-*-cygwin*) echo $r/gcc/xgcc -B$r/gcc/ -B/usr/local/m68k-motorola-sysv/bin/ -B$r/m68k-motorola-sysv/newlib/ -L$r/m68k-motorola-sysv/winsup -L$r/m68k-motorola-sysv/winsup/cygwin -L$r/m68k-motorola-sysv/winsup/w32api/lib -idirafter $r/m68k-motorola-sysv/newlib/targ-include -idirafter $s/winsup/include -idirafter $s/winsup/cygwin/include -idirafter $s/winsup/w32api/include -idirafter $s/newlib/libc/include -idirafter $s/newlib/libc/sys/cygwin -idirafter $s/newlib/libc/sys/cygwin32 -nostdinc; ;; *) if [ -f $r/m68k-motorola-sysv/winsup/Makefile ] ; then echo $r/gcc/xgcc -B$r/gcc/ -B$r/m68k-motorola-sysv/newlib/ -B/usr/local/m68k-motorola-sysv/bin/ -L$r/m68k-motorola-sysv/winsup -idirafter $r/m68k-motorola-sysv/newlib/targ-include -idirafter $s/newlib/libc/include -nostdinc; else echo $r/gcc/xgcc -B$r/gcc/ -B$r/m68k-motorola-sysv/newlib/ -B/usr/local/m68k-motorola-sysv/bin/ -idirafter $r/m68k-motorola-sysv/newlib/targ-include -idirafter $s/newlib/libc/include -nostdinc; fi; ;; esac else echo $r/gcc/xgcc -B$r/gcc/ -B/usr/local/m68k-motorola-sysv/bin/; fi; else if [ "m68k-motorola-sysv" = "m68k-motorola-sysv" ] ; then echo cc; else t=''; echo gcc | sed -e 's/x/x/' $t; fi; fi`" "CFLAGS=-g" "CFLAGS_FOR_TARGET=-g" "CHILLFLAGS=-g" "CHILL_FOR_TARGET=` if [ -f $r/gcc/xgcc ] ; then echo $r/gcc/xgcc -B$r/gcc/ -B/usr/local/m68k-motorola-sysv/bin/ -L$r/gcc/ch/runtime/; el
hen echo cc; else t=''; echo gcc | sed -e 's/x/x/' $t; fi; fi`" "CHILL_LIB=-lchill" "CXX_FOR_BUILD=c++" "CXXFLAGS=-g -O2" "CXXFLAGS_FOR_TARGET=-g -O2" "CXX_FOR_TARGET=` if [ -f $r/gcc/g++ ] ; then if [ -f $r/m68k-motorola-sysv/newlib/Makefile ] ; then case "m68k-motorola-sysv" in i[3456]86-*-cygwin*) echo $r/gcc/xgcc -B$r/gcc/ -B/usr/local/m68k-motorola-sysv/bin/ -B$r/m68k-motorola-sysv/newlib/ -L$r/m68k-motorola-sysv/winsup -idirafter $r/m68k-motorola-sysv/newlib/targ-include -idirafter $s/winsup/cygwin/include -idirafter $s/winsup/w32api/include -idirafter $s/newlib/libc/include -idirafter $s/newlib/libc/sys/cygwin -idirafter $s/newlib/libc/sys/cygwin32 -nostdinc; ;; *) if [ -f $r/m68k-motorola-sysv/winsup/Makefile ] ; then echo $r/gcc/g++ -B$r/gcc/ -B$r/m68k-motorola-sysv/newlib/ -B/usr/local/m68k-motorola-sysv/bin/ -L$r/winsup -idirafter $r/m68k-motorola-sysv/newlib/targ-include -idirafter $s/newlib/libc/include -nostdinc; else echo $r/gcc/g++ -B$r/gcc/ -B/usr/local/m68k-motorola-sysv/bin/ -idirafter $r/m68k-motorola-sysv/newlib/targ-include -idirafter $s/newlib/libc/include -nostdinc; fi; ;; esac else echo $r/gcc/g++ -B$r/gcc/ -B/usr/local/m68k-motorola-sysv/bin/; fi; else if [ "m68k-motorola-sysv" = "m68k-motorola-sysv" ] ; then echo c++; else t=''; echo c++ | sed -e 's/x/x/' $t; fi; fi`" "DLLTOOL_FOR_TARGET=` if [ -f $r/binutils/dlltool ] ; then echo $r/binutils/dlltool ; else if [ "m68k-motorola-sysv" = "m68k-motorola-sysv" ] ; then echo dlltool; else t=''; echo dlltool | sed -e 's/x/x/' $t ; fi; fi`" "INSTALL=/bin/sh $s/install-sh -c" "INSTALL_DATA=/bin/sh $s/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh $s/install-sh -c " "INSTALL_SCRIPT=/bin/sh $s/install-sh -c" "LDFLAGS=" "LEX=`if [ -f $r/flex/flex ] ; then echo $r/flex/flex ; else echo flex ; fi`" "LD_FOR_TARGET=` if [ -f $r/ld/ld-new ] ; then echo $r/ld/ld-new ; else if [ "m68k-motorola-sysv" = "m68k-motorola-sysv" ] ; then echo ld; else t=''; echo ld | sed -e 's/x/x/' $t ; fi; fi`" "LIBCFLAGS=-g" "LIBCFLAGS_FOR_TARGET=-g" "LIBCXXFLAGS=-g -O2 -fno-
no-implicit-templates" "M4=`if [ -f $r/m4/m4 ] ; then echo $r/m4/m4 ; else echo m4 ; fi`" "MAKE=gnumake " "MAKEINFO=`if [ -f $r/texinfo/makeinfo/Makefile ] ; then echo $r/texinfo/makeinfo/makeinfo ; else echo makeinfo ; fi` " "NM_FOR_TARGET=` if [ -f $r/binutils/nm-new ] ; then echo $r/binutils/nm-new ; else if [ "m68k-motorola-sysv" = "m68k-motorola-sysv" ] ; then echo nm; else t=''; echo nm | sed -e 's/x/x/' $t ; fi; fi`" "RANLIB_FOR_TARGET=` if [ -f $r/binutils/ranlib ] ; then echo $r/binutils/ranlib ; else if [ "m68k-motorola-sysv" = "m68k-motorola-sysv" ] ; then echo true; else t=''; echo ranlib | sed -e 's/x/x/' $t ; fi; fi`" "RPATH_ENVVAR=LD_LIBRARY_PATH" "SHELL=/bin/sh" "EXPECT=`if [ -f $r/expect/expect ] ; then echo $r/expect/expect ; else echo expect ; fi`" "RUNTEST=`if [ -f $s/dejagnu/runtest ] ; then echo $s/dejagnu/runtest ; else echo runtest ; fi`" "RUNTESTFLAGS=" "TARGET_SUBDIR=m68k-motorola-sysv" "WINDRES_FOR_TARGET=` if [ -f $r/binutils/windres ] ; then echo $r/binutils/windres ; else if [ "m68k-motorola-sysv" = "m68k-motorola-sysv" ] ; then echo windres; else t=''; echo windres | sed -e 's/x/x/' $t ; fi; fi`" "YACC=`if [ -f $r/bison/bison ] ; then echo $r/bison/bison -y -L $s/bison/ ; elif [ -f $r/byacc/byacc ] ; then echo $r/byacc/byacc ; else echo bison -y ; fi`" "bindir=/usr/local/bin" "datadir=/usr/local/share" "exec_prefix=/usr/local" "includedir=/usr/local/include" "infodir=/usr/local/info" "libdir=/usr/local/lib" "libexecdir=/usr/local/libexec" "lispdir=" "localstatedir=/usr/local/var" "mandir=/usr/local/man" "oldincludedir=/usr/include" "prefix=/usr/local" "sbindir=/usr/local/sbin" "sharedstatedir=/usr/local/com" "sysconfdir=/usr/local/etc" "tooldir=/usr/local/m68k-motorola-sysv" "build_tooldir=/usr/local/m68k-motorola-sysv" "gxx_include_dir=/usr/local/include/g++-3" "gcc_version=2.96" "gcc_version_trigger=/share/src/gnu/gccdev/egcs/gcc/version.c" "target_alias=m68k-motorola-sysv" "libsubdir=/usr/local/lib/gcc-lib/m68k-motorola-sysv/2.96" 'AR=ar' 'AS=as' 'CC=cc' 'CXX=c++' 'DLLTOOL=$(DLLT
T_PREFIX_1=loser-' 'NM=nm' 'RANLIB=true' 'WINDRES=$(WINDRES_FOR_TARGET)' "GCC_FOR_TARGET=$r/gcc/xgcc -B$r/gcc/ -B/usr/local/m68k-motorola-sysv/bin/ -I/usr/local/m68k-motorola-sysv/include" "`echo 'LANGUAGES=' | sed -e s/.*=$/XFOO=/`" "`echo 'STMP_FIXPROTO=' | sed -e s/.*=$/XFOO=/`" "`echo 'LIMITS_H_TEST=' | sed -e s/.*=$/XFOO=/`" "`echo 'LIBGCC1_TEST=' | sed -e s/.*=$/XFOO=/`" "`echo 'LIBGCC2_CFLAGS=' | sed -e s/.*=$/XFOO=/`" "`echo 'LIBGCC2_DEBUG_CFLAGS=' | sed -e s/.*=$/XFOO=/`" "`echo 'LIBGCC2_INCLUDES=' | sed -e s/.*=$/XFOO=/`" "`echo 'ENQUIRE=' | sed -e s/.*=$/XFOO=/`" "`echo 'BOOT_CFLAGS=' | sed -e s/.*=$/XFOO=/`" bootstrap
gnumake: execve: /bin/sh: Arg list too long
gnumake: *** [bootstrap] Error 127

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