Bug 129771 - [CMake] Ninja generator builds fail with "Argument list too long"
Summary: [CMake] Ninja generator builds fail with "Argument list too long"
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Martin Robinson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-05 19:32 PST by Martin Robinson
Modified: 2015-11-18 11:29 PST (History)
7 users (show)

See Also:


Attachments
Patch (1.38 KB, patch)
2014-03-05 19:42 PST, Martin Robinson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.