[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line
From: |
Michael Stahl |
Subject: |
Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line |
Date: |
Wed, 22 Jun 2016 13:58:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
On 22.06.2016 00:53, Adrian Muresan wrote:
> On GNU make 3.81, it works fine. But on make 4.2 and 4.2.1, I get an error:
>
> cp: target `C' is not a directory
>
> The problem appears to be the length of the command. If I delete some
> JSON files, it works fine.
FWIW i've noticed that with make 4.0/4.1 built for Win32, invoking the
Cygwin bash shell as C:/cygwin/bin/sh.exe, the command lines are
silently truncated at ~8K characters - this did not happen when we used
GNU make 3.82 built for Cygwin.
i haven't investigated where exactly that happens, the documented Win32
CreateProcess maximum command line length is 32k characters.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx
... our build system has a few more "response files" now :)
- GNU make 4.2 (and 4.2.1) failing due to length of command-line, Adrian Muresan, 2016/06/21
- Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line,
Michael Stahl <=
- Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line, Eli Zaretskii, 2016/06/22
- Message not available
- Message not available
- Message not available
- Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line, Adrian Muresan, 2016/06/22
- Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line, Eli Zaretskii, 2016/06/22
- Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line, Adrian Muresan, 2016/06/22
- Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line, Eli Zaretskii, 2016/06/22
- Re: GNU make 4.2 (and 4.2.1) failing due to length of command-line, Paul Smith, 2016/06/22