From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta39.uswest2.a.cloudfilter.net (omta39.uswest2.a.cloudfilter.net [35.89.44.38]) by sourceware.org (Postfix) with ESMTPS id 41A173858D20 for ; Thu, 31 Aug 2023 13:31:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 41A173858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com Received: from eig-obgw-5006a.ext.cloudfilter.net ([10.0.29.179]) by cmsmtp with ESMTP id bXU0qXgZYbK1VbhlqqjQzY; Thu, 31 Aug 2023 13:31:38 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id bhlpqnqlCK1KebhlpqTleD; Thu, 31 Aug 2023 13:31:38 +0000 X-Authority-Analysis: v=2.4 cv=Qah1A+Xv c=1 sm=1 tr=0 ts=64f0963a a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=UttIx32zK-AA:10 a=Qbun_eYptAEA:10 a=CCpqsmhAAAAA:8 a=9CpL6xBC2vh6TAXmywAA:9 a=zZCYzV9kfG8A:10 a=ul9cdbp4aOFLsgKbc677:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=MFHfFIzu6/evtNaOVEovxtOSP+WrL0EKb9iRqtCZioc=; b=UOuX0Z4SsdMytiVTCbtSdBxahg krdDSXU6ZFIFeToADGo+5QMi1miQVI/wJkXpYvKeemCcYgKK7brQfRKN4D6tJVZIQpJU4InQn7Z02 qGEh5yDQF1LL0agC7NedpYyhS; Received: from 75-166-150-212.hlrn.qwest.net ([75.166.150.212]:34404 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qbhlp-002k87-0h; Thu, 31 Aug 2023 07:31:37 -0600 From: Tom Tromey To: Torbjorn SVENSSON via Gdb Cc: Torbjorn SVENSSON , Tom Tromey Subject: Re: GDB13 fails to build on MacOS using supplied GNU Bison 2.3 References: <0badf084-d0b7-54bb-aec6-b79f29ad191d@foss.st.com> X-Attribution: Tom Date: Thu, 31 Aug 2023 07:31:36 -0600 In-Reply-To: <0badf084-d0b7-54bb-aec6-b79f29ad191d@foss.st.com> (Torbjorn SVENSSON via Gdb's message of "Sat, 19 Aug 2023 20:11:00 +0200") Message-ID: <87jztbpccn.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.150.212 X-Source-L: No X-Exim-ID: 1qbhlp-002k87-0h X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-150-212.hlrn.qwest.net (murgatroyd) [75.166.150.212]:34404 X-Source-Auth: tom+tromey.com X-Email-Count: 7 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfNjT5YxP0GjErRAUW7zNX9Hf7sBQrTy3RQbFRqacyCASukuEYv7LFuLuSqAuKexIjFP1GlLFFf4gwcueVMco7K2J/MfDxN+rNzrClwrodwbR3Fi1ASZ9 3v4qXPpf3x5WMWCixPMxB9nAdlzKp+Oox6fp3lri/GLLwARkyMCPmIOfwx0bDTyEi6ZXIu0f8jwIMA== X-Spam-Status: No, score=-3018.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,KAM_NUMSUBJECT,RCVD_IN_MSPIKE_BL,RCVD_IN_MSPIKE_L3,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Torbjorn" == Torbjorn SVENSSON via Gdb writes: Torbjorn> All three versions of MacOS includes GNU Bison 2.3 and it appears that Torbjorn> this issue was fixed in GNU Bison 2.4. If the appended works for you (be sure to run some tests), I can check it in. Torbjorn> Looking at the binutils tree, I see that sub-directory gprofng Torbjorn> contains bison.m4 and a check to confirm that at least version 3.0.4 Torbjorn> is available. Torbjorn> I think the bison.m4 file should be moved up one level and used in Torbjorn> both gprofng and gdb, but I'm unable to re-generate the configure Torbjorn> scripts. I wonder if this would really help you, since presumably it would just reject your bison? Another option might be to install bison from brew. In this case it's probably fine but eventually we may want to require a newer Bison, and IMO we can't and shouldn't keep catering to Apple's problem indefinitely. Tom