X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4EDB93858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1707732688; bh=3Sv8yXoB8/+zOKYhk+Dp1bSM9RsVmD81q8PFWN2BBEc=; h=Subject:To:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=Y4EbPUc9HMQedetwx75yr6efLR1VuSEctgwnOZ/8z+IGjqsTz/nygXUiN1Eh2TAZl Xv3RaD5TvkiOERC39GKGwD9R42oP2+dd3M5sbiJWtzFilEbhtaCvT07ICpijAvkPwS wjzS8YE1JKNJb8BZOIepsjIyrG38ehUfqgzHYew0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3D3613858D37 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3D3613858D37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707732667; cv=none; b=eyaqhGe+DQadyQd2Qfa2S3DvAd4lvUhuf7gXRDrQdfZb2S0X2Rb96+KOpUozIjWczlmz4T6JFT6HU9cNbWo2daq+FavYpuW9MvvfKGAg9GUKxzrVBNibO64KdnGFaWosFvbvP80ke/tZp+Y7o+XcLjz1ozSKf2SPuS06Z3L+6Dk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707732667; c=relaxed/simple; bh=0PCVTXh+vdizd3qY7OzaUu71/5Xyvys8J1B2JAuoKGw=; h=From:Subject:To:Message-ID:Date:MIME-Version; b=GQBfeDR1pw/RPV91Me1IcugeULPW8L93BmA6RFeZLSNTLqGfkzWI4XHc7TOlMXq5F5BvDsOOsJvjdqD64LrUXWzr/5B7vOJROp8aKhdnaX5N48oP4DdePof12uLpU14uSlMJU247adNuAWtqodMr8B7Y/mE2CS0NxfahIS8z6/k= ARC-Authentication-Results: i=1; server2.sourceware.org Subject: Cygwin build from source is broken since binutils-2.42-1 To: cygwin AT cygwin DOT com Message-ID: Date: Mon, 12 Feb 2024 11:10:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 SeaMonkey/2.53.16 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1707732660-CB7FDDC7-0F62A910/0/0 CLEAN NORMAL X-TOI-MSGID: b6a0bd2b-f4c5-4c7c-a454-e3db787f6dc2 X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, FREEMAIL_FROM, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Christian Franke via Cygwin Reply-To: Christian Franke Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 41CABTa1009763 This is not a binutils regression: A build from cygwin 3.5.0-1 src package or current newlib-cygwin git main (bfb68a9) with new binutils-2.42-1 fails with: " In file included from ../../../../winsup/utils/dumper.cc:23: /usr/include/bfd.h:2748:1: error: expected initializer before ‘ATTRIBUTE_WARN_UNUSED_RESULT’ " Downgrading to binutils 2.41-3 fixes the problem. A diff of /usr/include/bsd.h shows that ATTRIBUTE_WARN_UNUSED_RESULT is a new addition in 2.42-1. This requires /usr/include/ansidecl.h. It is included by /usr/include/bsd.h but this has no effect because Cygwin source tree provides its own ansidecl.h which lacks ATTRIBUTE_WARN_UNUSED_RESULT: $ g++ ....MANY_OPTIONS... -E ../../../../winsup/utils/dumper.cc ... # 1 "../../../../winsup/utils/dumper.cc" ... # 1 "../../../../winsup/../include/ansidecl.h" 1  <== #define _ANSIDECL_H ... # 1 "/usr/include/bfd.h" 1 3 4 ... # 1 "/usr/include/ansidecl.h" 1 3 4  <== #ifndef _ANSIDECL_H ... -- Regards, Christian -- 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