X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 25B103951884 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian DOT inglis AT systematicsw DOT ab DOT ca X-Authority-Analysis: v=2.4 cv=H864f8Ui c=1 sm=1 tr=0 ts=608a3a10 a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 a=IkcTkHD0fZMA:10 a=CCpqsmhAAAAA:8 a=ObcLf_uJAAAA:20 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 a=ul9cdbp4aOFLsgKbc677:22 To: cygwin AT cygwin DOT com References: <20210426205959 DOT B0E4 DOT 50F79699 AT gmail DOT com> <3b999c0b-6731-01d9-5908-37b6410dd3e1 AT towo DOT net> From: Brian Inglis Organization: Systematic Software Subject: Re: Can't compile mintty-3.5.0 Message-ID: Date: Wed, 28 Apr 2021 22:46:07 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <3b999c0b-6731-01d9-5908-37b6410dd3e1@towo.net> Content-Language: en-CA X-CMAE-Envelope: MS4xfLFqf/C2jSVCcDJ5MI9uvWMMheKGEbBloMAbwS3rE5igqO78Wv15+JIobFU0bpJz+mV2dF+I0xtQv4VqteV4cy1UswlGT+LzxVLVlycqMpDUb66psiUK nGKy1es7lZuRBT++oyzPw4GcsRI+aP3YsCzxHPeyPcMUVFMHWQrZ0Jq4E4C0vc7C95Cv5eZia+Jz7aQQ2UG0TcLI4Ajy7w6gQig= X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 2021-04-26 06:14, Thomas Wolff wrote: > Am 26.04.2021 um 14:06 schrieb Eliot Moss: >> On 4/26/2021 8:00 AM, Lemures Lemniscati via Cygwin wrote: >>> I tried to compile mintty-3.5.0, >>> but failed with the message: >>> windres -c 65001 --preprocessor 'gcc -E -xc -DRC_INVOKED -MMD -MP >>> -DTARGET=x86_64-pc-cygwin -DNDEBUG' res.rc ../bin/cygwin64/res.o >>> /bin/sh: gcc -E -xc -DRC_INVOKED -MMD -MP -DTARGET=x86_64-pc-cygwin -DNDEBUG: >>> command not found >>> windres: preprocessing failed. >> windres should be in the binutils package. > This is due to a bug in windres. The binutils 2.36 version is broken, > see https://sourceware.org/bugzilla/show_bug.cgi?id=27594 > A workaround is available but I'd prefer to let them fix their bug. > For now, please downgrade binutils to 2.35 and maybe make a copy of its windres > tool into your path. Suggest Cygwin binutils windres be updated to revert the patch like Msys2: https://github.com/msys2/MSYS2-packages/pull/2384 as nothing appears to be happening with the issue in binutils; or else the downstreams need to use options as implemented rather than as per examples. I'd expect a fix to the doc example rather than the code, as the developers may be going in a new direction, possibly to keep up with Windows updates. It also appears that the quot() function should have been used rather than asprintf, as it takes account of build environment quoting rules, although it would be better if it could find out about and take account of the *runtime* shell environment quoting rules. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple