X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7AA17389202C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1619444163; bh=9h0AS50yVshnpq8w6JUcWAXh1cGx74xLFMidjL8lClo=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=dNmraUYi+vwzfT6rhAMbkG6Zbq39NaVCtBZAlWygu12dD3ne1UEn+fIC+SYj+iMns Iqm9nRlGObS1yFJ6ILZjxq+C5s7b+A/6cAQaU7d5RLaJ1CLaSv2Z5n+S4/8xHlnzBE 0Md09Hy8LnmELX/RfGjscZtcSI2qWUGlYxshhjME= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5C7D6388E807 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:in-reply-to:references :message-id:mime-version:content-transfer-encoding; bh=wmOiUYakDc38fYMXy672dxRmclZ9xiPNjdRcawrpWqE=; b=BcMRNPGg2fbIbwweFRmrBY68DqyWfxyJM5oBRWIufuazRd1MpmdMFT39rxuDGgL0pC vtjCMhkCEZV0I5f7Pj3KrddQrsuvnI4Gz7//u03d2nsIeOipLal4MH/75xqkCH0lHJBQ lP1mNJg21ToAeziXj+TaeKWYLlTrfFLWE6qiM5gPdL3er1MsHqZqBu7XFhGbcB2LnPd/ cDyMGLpuE2/Bjd5mUWhmk91oLjiEOv7Ypcr4dn8iLItL7xGxEJ2jnAT9yZEW3sePjtPc nDv3Xp/YuPQnywz/KW7lvvsVclz90hLlPTDs7LxICa/vrc8JLqIyYHhoMYnfaOUjUK5e T8xA== X-Gm-Message-State: AOAM530fk7xryzRnEQiidVGzW3IbDpCx4BALUKNH148H/5A+b8ZA36Rp Td3OIO0yVayBZvYmRG2BRKYaaQsJo2Q= X-Google-Smtp-Source: ABdhPJxmj7ifCFvtB0Pag1tm8GxQlfU63AgB4W4iuo0KgiIcxw0KR4tmqYgOtzOpNv/0RABpGTF1eg== X-Received: by 2002:a63:5a50:: with SMTP id k16mr16769814pgm.185.1619444159349; Mon, 26 Apr 2021 06:35:59 -0700 (PDT) Date: Mon, 26 Apr 2021 22:35:58 +0900 To: cygwin AT cygwin DOT com Subject: Re: Can't compile mintty-3.5.0 In-Reply-To: References: <20210426205959 DOT B0E4 DOT 50F79699 AT gmail DOT com> Message-Id: <20210426223556.B0E8.50F79699@gmail.com> MIME-Version: 1.0 X-Mailer: Becky! ver. 2.75.01 [ja] X-Antivirus: Avast (VPS 210426-4, 2021/04/26), Outbound message X-Antivirus-Status: Clean X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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: , From: Lemures Lemniscati via Cygwin Reply-To: Lemures Lemniscati Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On Mon, 26 Apr 2021 08:06:22 -0400, 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. > > > > > > ==== > > 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 ? > > > windres should be in the binutils package. > Thank you. But, I've installed binutils also. ---- $ uname -svrmo; cygcheck -c gcc-core make binutils 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 binutils 2.36.1-2 OK gcc-core 10.2.0-1 OK make 4.3-1 OK ---- I noticed that 'sh' (called from 'windres') tried to excecute a file named 'gcc -E -xc -DRC_INVOKED -MMD -MP -DTARGET=x86_64-pc-cygwin -DNDEBUG', and failed. By downgrading binutils to 2.35.2-1, it works successfully. So it maybe an issue of windres (binutils), rather than mintty. Regards, Lem -- 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