Bug 129771

Summary: [CMake] Ninja generator builds fail with "Argument list too long"
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: Tools / TestsAssignee: Martin Robinson <mrobinson>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bunhere, commit-queue, dbates, gyuyoung.kim, rakuco, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Martin Robinson 2014-03-05 19:32:54 PST
The Ninja generator does not know how to append archives, so cannot split long archives into multiple commands. This means that the Ninja build fails with errors like "Argument list too long." It's possible to work around this issue by forcing the use of response files, which pack the archive filenames into a file and then pass that filename to the linker.
Comment 1 Martin Robinson 2014-03-05 19:42:00 PST
Created attachment 225941 [details]
Patch
Comment 2 Daniel Bates 2014-03-05 20:54:01 PST
Comment on attachment 225941 [details]
Patch

OK
Comment 3 Martin Robinson 2014-03-05 22:40:39 PST
Comment on attachment 225941 [details]
Patch

Clearing flags on attachment: 225941

Committed r165173: <http://trac.webkit.org/changeset/165173>
Comment 4 Martin Robinson 2014-03-05 22:40:43 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Alex Christensen 2015-11-18 11:29:04 PST
See https://bugs.webkit.org/show_bug.cgi?id=151399 for getting this working on Mac.