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

Martin Robinson
Reported 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.
Attachments
Patch (1.38 KB, patch)
2014-03-05 19:42 PST, Martin Robinson
no flags
Martin Robinson
Comment 1 2014-03-05 19:42:00 PST
Daniel Bates
Comment 2 2014-03-05 20:54:01 PST
Comment on attachment 225941 [details] Patch OK
Martin Robinson
Comment 3 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>
Martin Robinson
Comment 4 2014-03-05 22:40:43 PST
All reviewed patches have been landed. Closing bug.
Alex Christensen
Comment 5 2015-11-18 11:29:04 PST
See https://bugs.webkit.org/show_bug.cgi?id=151399 for getting this working on Mac.
Note You need to log in before you can comment on or make changes to this bug.