From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by sourceware.org (Postfix) with ESMTPS id 84B623891C38 for ; Mon, 26 Apr 2021 12:14:18 +0000 (GMT) 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@towo.net Received: from [192.168.178.51] ([91.65.218.78]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N95mL-1lV8Qg08Fr-016A7P for ; Mon, 26 Apr 2021 14:14:17 +0200 Subject: Re: Can't compile mintty-3.5.0 To: cygwin@cygwin.com References: <20210426205959.B0E4.50F79699@gmail.com> From: Thomas Wolff 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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@cygwin.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: , X-List-Received-Date: Mon, 26 Apr 2021 12:14:20 -0000 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 >