public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Kramer <david@thekramers.net>
To: gcc-help@gcc.gnu.org
Subject: "Arg list too long" during bootstrap
Date: Sat, 28 Aug 2004 11:29:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.58.0408271708570.25272@uni.thekramers.net> (raw)

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.

             reply	other threads:[~2004-08-27 21:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-28 11:29 David Kramer [this message]
2004-08-28 23:51 ` Brian Gough
2004-08-29 15:26   ` Ken Foskey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0408271708570.25272@uni.thekramers.net \
    --to=david@thekramers.net \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).