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 84B623891C38
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo AT towo DOT net
Subject: Re: Can't compile mintty-3.5.0
To: cygwin AT cygwin DOT com
References: <20210426205959 DOT B0E4 DOT 50F79699 AT gmail DOT com>
 <af93be95-411c-bf26-678e-0383733e8cbb AT cs DOT umass DOT edu>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <3b999c0b-6731-01d9-5908-37b6410dd3e1@towo.net>
Date: Mon, 26 Apr 2021 14:14:14 +0200
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: <af93be95-411c-bf26-678e-0383733e8cbb@cs.umass.edu>
X-Provags-ID: V03:K1:JxhZEMpDac7tMz2Y/jClh9VOrDI1+CBk3IR8qBeu7KkbSn6dKiV
 dp+sv5BNLLz1155Y/PM2ULcoGmoGWh71y7D7WQGozyd7JE2J0+qfLUYX0vH/vaQIA6xbsfv
 E8BobVFIsM4jgcQAre9nptOl1ux6Gkp/rMx3F8L8ikhnt1zPheflIxmkg5PdvmyY+E76BPB
 WAH8Q21jbWRFeSw2+iT7g==
X-UI-Out-Filterresults: notjunk:1;V03:K0:F+igOvAe4I4=:So5AfqzI69BPz21tGF5tdh
 h28qtI79FLOQ3VsRq6qy3E5r9KW+SLYOARDj/RWAPHU6pbhJS7xYnsb05vL4S3GZJq1HCUglI
 aMYnpMoa+0otGPatGupF/jC0XBjGtH3EeVAf8Yh1B3BnX7r7sP4DQhfsXzlTj/HVG1ywsq4kq
 kjVzNXut7DxRFx9+ho1k/6V1x+ZOuj+rmDD3jvClmz8outyPSkI752OPjvZk1wiNioxexD10h
 9MZ1vwYTqrsKCck46p31mAZo2YIkU93ypwNW9i/RCqC1YS7MJRRbuO4dHK0X4OhyXkWFJsh1V
 GAqZVZne5f54HHZtYzrgAbYk7L05jJ6wveSV7Fd+FPdm6w1wQaKYLCwhCfq8ni91FcvxTaiKt
 grnW7oCbAD+NUFOll2XJ/Ol99A8Yfm2epoHlgof2ycmabUqAl1aZyiUU6S7pAFCEwKUwsGQVl
 /58JqCMurBubA3v3ZKGDXlYGuDXmC/ZvQw7OhTLTQC6ikKsD78KKYdJInr4qx4GbaKZn2KQYR
 mghUyPyNZe6R9LFc9lAQCg=
X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, BODY_8BITS,
 KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A,
 RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 13QCEPnK004141


Am 26.04.2021 um 14:06 schrieb Eliot Moss:
> On 4/26/2021 8:00 AM, Lemures Lemniscati via Cygwin wrote:
>> Hi!
>>
>> 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.
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.
Thomas

>>
>>
>> ====
>> How to reproduce
>>
>> With source from https://github.com/mintty/mintty at tag: 3.5.0,
>> running
>>
>>      make
>>
>> failed at the point above.
>> .
>> With mintty-3.5.0-1.cygport,
>> running
>>
>>      cygport mintty-3.5.0-1.cygport all
>>
>> failed at the same point.
>>
>>
>> ====
>> I've installed these packages as described in a file 'INSTALL'.
>> What is still necessary for successful build ?
>>
>> ----
>> $ uname -svrmo; cygcheck -c gcc-core make
>> CYGWIN_NT-10.0 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin
>> Cygwin Package Information
>> Package              Version        Status
>> gcc-core             10.2.0-1       OK
>> make                 4.3-1          OK
>> ----
>
> windres should be in the binutils package.
>
> EM
>


-- 
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