Re: [PATCH 2/5] gcc: Fix "argument list too long" from install-plugins

2021-12-02 Thread Jeff Law via Gcc-patches
On 10/27/2021 2:05 PM, Richard Purdie via Gcc-patches wrote: When building in longer build paths (200+ characters), the "echo $(PLUGIN_HEADERS)" from the install-plugins target would cause an "argument list too long error" on some systems. Avoid this by calling make's sort function on the lis

Re: [PATCH 2/5] gcc: Fix "argument list too long" from install-plugins

2021-10-27 Thread Bernhard Reutner-Fischer via Gcc-patches
On Wed, 27 Oct 2021 21:05:02 +0100 Richard Purdie via Gcc-patches wrote: > When building in longer build paths (200+ characters), the > "echo $(PLUGIN_HEADERS)" from the install-plugins target would cause an > "argument list too long error" on some systems. > > Avoid this by calling make's sort

[PATCH 2/5] gcc: Fix "argument list too long" from install-plugins

2021-10-27 Thread Richard Purdie via Gcc-patches
When building in longer build paths (200+ characters), the "echo $(PLUGIN_HEADERS)" from the install-plugins target would cause an "argument list too long error" on some systems. Avoid this by calling make's sort function on the list which removes duplicates and stops the overflow from reaching th