Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 19854 by [email protected]: "/bin/sh: Argument list too long"  
error in build on linux
http://code.google.com/p/chromium/issues/detail?id=19854

Chrome Version       : r23611, v8 is r2702 from "bleeding_edge"
OS + version : arch-linux current
CPU architecture (32-bit / 64-bit): 64-bit

I followed the compilation steps listed at
http://code.google.com/p/chromium/wiki/LinuxChromium64 , and encountered
the following make error:
AR+RANLIB
/home/dzwell/downloads/packages/chromium64/src/chromium/src/out/Debug/obj/webkit/libwebcore.a
make: execvp: /bin/sh: Argument list too long

The problem is the "ar" command:
     cmd_alink = $(AR) rc $@ $(filter %.o,$^) && $(RANLIB) $@

A workaround is to build in a shorter directory, like /tmp/c. A more
technically correct solution would be to break this into multiple calls to
"ar". The ranlib call isn't necessary if ar is invoked with "rsc" instead
of "rc".

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to