https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86030
Bug ID: 86030 Summary: specs file processing does not create response files for input directories Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: tnfchris at gcc dot gnu.org Target Milestone: --- Target: mingw32 Similar to #45157 and #45749, GCC does not use response files for %D and %I handling (see do_spec_1), so if you have a project which contrains a lot of Includes or library directories cc1 or collect2 respectively will overflow the commandline limit on Windows and error out. It looks like a similar check/call as handling %i and %o needs to be added for %D and %I (calling create_at_file to create response files for these). This is causing problems for the GHC Haskell compiler when lots of packages are used.