This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: "Arg list too long" during bootstrap
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: David Kramer <david at thekramers dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 28 Aug 2004 10:06:11 +0100
- Subject: Re: "Arg list too long" during bootstrap
- References: <Pine.LNX.4.58.0408271708570.25272@uni.thekramers.net>
David Kramer <david@thekramers.net> writes:
> 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).
> ...
> xgcc: installation problem, cannot exec
> `/dkramer/bldgcc340wa/gcc/collect2': Arg list too long
>
> 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...
>
> Is there anything else that can cause this, or a way around it?
Generally it is the number of arguments that is the issue. There is
usually a way to increase the limit with a kernel parameter (via
smitty chgsys on AIX, I think).
--
Brian Gough
Network Theory Ltd,
Publishing "An Introduction to GCC" --- http://www.network-theory.co.uk/gcc/