This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: "Arg list too long" during bootstrap


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/


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