From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050::465:102]) by sourceware.org (Postfix) with ESMTPS id 9588D3858400 for ; Sun, 19 Dec 2021 20:54:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9588D3858400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:105:465:1:3:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4JHFMf6hzMzQkjk; Sun, 19 Dec 2021 21:54:38 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Date: Sun, 19 Dec 2021 21:54:34 +0100 (CET) From: ibuclaw@gdcproject.org To: Segher Boessenkool Cc: gcc-patches@gcc.gnu.org, ro@CeBiTec.Uni-Bielefeld.DE, iain@sandoe.co.uk Message-ID: <215069496.134899.1639947274632@office.mailbox.org> In-Reply-To: <20211218213052.GU614@gate.crashing.org> References: <20211216231228.106506-1-ibuclaw@gdcproject.org> <20211218213052.GU614@gate.crashing.org> Subject: Re: [PATCH] config: Add check whether D compiler works (PR103528) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2021 20:54:44 -0000 > On 18/12/2021 22:30 Segher Boessenkool wrote: > > > On Fri, Dec 17, 2021 at 12:12:28AM +0100, Iain Buclaw wrote: > > Hi, > > > > This patch extends AC_PROG_GDC so that as well as checking for the > > existence of a GDC compiler, also validate that it has also been built > > with libphobos, otherwise warn or fail with the message that GDC is > > required to build d. > > > > Tested on a system running powerpcle-linux both without a D compiler, > > and with a D compiler configured with --disable-libphobos. > > > > This would also help with Solaris and Darwin ports, where support for > > both D and runtime isn't present across all current releases. > > > > OK for mainline? > > This fixes PR103739 by not building D at all anymore. That is also a > regression of course, but at least it doesn't break bootstrap anymore :-) > Well, you don't have a working D compiler installed then! As I mentioned in your bug report, from my testing, powerpc can be bootstrapped from gcc-10 or gcc-11 without issue. Iain.