From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13991 invoked by alias); 27 Aug 2004 21:24:51 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 13958 invoked from network); 27 Aug 2004 21:24:48 -0000 Received: from unknown (HELO uni.thekramers.net) (66.92.68.235) by sourceware.org with SMTP; 27 Aug 2004 21:24:48 -0000 Received: by uni.thekramers.net (Postfix, from userid 500) id 2A2C31C181; Fri, 27 Aug 2004 17:24:48 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by uni.thekramers.net (Postfix) with ESMTP id 29BCA1CB740 for ; Fri, 27 Aug 2004 17:24:48 -0400 (EDT) Date: Sat, 28 Aug 2004 11:29:00 -0000 From: David Kramer To: gcc-help@gcc.gnu.org Subject: "Arg list too long" during bootstrap Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-08/txt/msg00262.txt.bz2 I am bootstrapping gcc 3.4.0 on AIX 5.2 from a binary 3.3.3 I downloaded (compiled for 5.1: I could not find a 5.2 one). The command I used is: ../gcc340src/configure --enable-languages=c,c++ --prefix=/opt/gcc3.4.0 --with-cpu-rs64a make -j 12 bootstrap $CC=/usr/local/bin/gcc -mcpu=rs64a About an hour and a half into the process, I get this: generating symbol list for `libstdc++.la' nm -B -X32_64 -BCpg .libs/allocator.o .libs/codecvt.o .libs/complex_io.o .libs/ctype.o .libs/debug.o .libs/debug_list.o .libs/functexcept.o .libs/globals_locale.o .libs/globals_io.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o .libs/locale_init.o .libs/locale_facets.o .libs/localename.o .libs/stdexcept.o .libs/strstream.o .libs/tree.o .libs/allocator-inst.o .libs/concept-inst.o .libs/fstream-inst.o .libs/ext-inst.o .libs/io-inst.o .libs/istream-inst.o .libs/locale-inst.o .libs/locale-misc-inst.o .libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o .libs/streambuf-inst.o .libs/string-inst.o .libs/valarray-inst.o .libs/wlocale-inst.o .libs/wstring-inst.o .libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o .libs/ctype_members.o .libs/messages_members.o .libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o .libs/basic_file.o .libs/c++locale.o ../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc++convenience.a | awk '{ if ((($2 == "T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort -u > .libs/libstdc++.exp /dkramer/bldgcc340wa/gcc/xgcc -shared-libgcc -B/dkramer/bldgcc340wa/gcc/ -nostdinc++ -L/dkramer/bldgcc340wa/powerpc-ibm-aix5.2.0.0/pthread/libstdc++-v3/src -L/dkramer/bldgcc340wa/powerpc-ibm-aix5.2.0.0/pthread/libstdc++-v3/src/.libs -B/opt/gcc3.4.0/powerpc-ibm-aix5.2.0.0/bin/ -B/opt/gcc3.4.0/powerpc-ibm-aix5.2.0.0/lib/ -isystem /opt/gcc3.4.0/powerpc-ibm-aix5.2.0.0/include -isystem /opt/gcc3.4.0/powerpc-ibm-aix5.2.0.0/sys-include -pthread -shared -o .libs/libstdc++.so.6 .libs/allocator.o .libs/codecvt.o .libs/complex_io.o .libs/ctype.o .libs/debug.o .libs/debug_list.o .libs/functexcept.o .libs/globals_locale.o .libs/globals_io.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o .libs/locale_init.o .libs/locale_facets.o .libs/localename.o .libs/stdexcept.o .libs/strstream.o .libs/tree.o .libs/allocator-inst.o .libs/concept-inst.o .libs/fstream-inst.o .libs/ext-inst.o .libs/io-inst.o .libs/istream-inst.o .libs/locale-inst.o .libs/locale-misc-inst.o .libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o .libs/streambuf-inst.o .libs/string-inst.o .libs/valarray-inst.o .libs/wlocale-inst.o .libs/wstring-inst.o .libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o .libs/ctype_members.o .libs/messages_members.o .libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o .libs/basic_file.o .libs/c++locale.o -L/dkramer/bldgcc340wa/powerpc-ibm-aix5.2.0.0/pthread/libstdc++-v3/src -L/dkramer/bldgcc340wa/powerpc-ibm-aix5.2.0.0/pthread/libstdc++-v3/src/.libs -lm ../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a -lm -L/dkramer/bldgcc340wa/gcc/pthread -L/dkramer/bldgcc340wa/gcc -L/opt/gcc3.4.0/lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.0/pthread -L/opt/gcc3.4.0/lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.0 -L/opt/gcc3.4.0/lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.0/../../../pthread -L/opt/gcc3.4.0/lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.0/../../.. -lgcc_s_pthread -lpthreads -lc -lgcc_s_pthread -lm -lgcc_s_pthread -lpthreads -lc -lgcc_s_pthread -Wl,-G -Wl,-bE:.libs/libstdc++.exp -Wl,-bnoentry ${wl}-berok xgcc: installation problem, cannot exec `/dkramer/bldgcc340wa/gcc/collect2': Arg list too long make[7]: *** [libstdc++.la] Error 1 make[7]: Leaving directory `/dkramer/bldgcc340wa/powerpc-ibm-aix5.2.0.0/pthread/libstdc++-v3/src' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/dkramer/bldgcc340wa/powerpc-ibm-aix5.2.0.0/pthread/libstdc++-v3' make[5]: *** [all] Error 2 make[5]: Leaving directory `/dkramer/bldgcc340wa/powerpc-ibm-aix5.2.0.0/pthread/libstdc++-v3' make[4]: *** [multi-do] Error 1 make[4]: Leaving directory `/dkramer/bldgcc340wa/powerpc-ibm-aix5.2.0.0/libstdc++-v3' make[3]: *** [all-multi] Error 2 make[3]: Leaving directory `/dkramer/bldgcc340wa/powerpc-ibm-aix5.2.0.0/libstdc++-v3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/dkramer/bldgcc340wa/powerpc-ibm-aix5.2.0.0/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/dkramer/bldgcc340wa' make: *** [bootstrap] Error 2 *** Endinging 'make -j 12 bootstrap' at 0408271707 This is the second time I saw this. After the first time, I STWF and found that it could mean the commands were too long (due to paths), so I moved everything to my home directory so all the paths are shorter. Still got it, now I'm down three hours. Is there anything else that can cause this, or a way around it? Thanks in advance.