From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 976C83858D1E for ; Sat, 2 Mar 2024 19:57:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 976C83858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 976C83858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=45.83.234.184 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709409470; cv=none; b=J82xPKdmgBp3gZK9lkltEHcHh8IgXzsGOM2uWu3jKt3NTTvjozyc9h6G6s9rm9FJpx7aAZZI/dy8CJijqR8RRC5+kUifIGX452EymVixuqiOGK7Ku+ocKTZRQn6WRzUG4i16MHijg1D2McLDn06dNL43HYBR3gVMHb3DtLSLIZI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709409470; c=relaxed/simple; bh=G7GhSIJ8hzPLIRliYYUR8+b3SAptIoMq1lq16Fau4G4=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=V9fjVmF+HUeEQzfNKN4zvNMo6hNQa+O/fiA8YQxdQSvmrOXnRJvqzQKkRM8TAFi3JyqQZ4NYa/rjaY38q+4sKHKlzjGnl6ZcRQG3sEWqOUGGBvjDhYEVfmaIP2Rzpxz7yT8hWmDlDeiQ+4saeFdG/IuHaLRy8902vheNRzHQYfg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by gnu.wildebeest.org (Postfix, from userid 1000) id 3B99F307C2BC; Sat, 2 Mar 2024 20:57:43 +0100 (CET) Date: Sat, 2 Mar 2024 20:57:43 +0100 From: Mark Wielaard To: Arthur Cohen Cc: Thomas Schwinge , gcc-rust@gcc.gnu.org Subject: Re: =?utf-8?B?4pigIEJ1aWxkYm8=?= =?utf-8?Q?t?= (Sourceware): gccrust - failed compile (failure) (master) Message-ID: <20240302195743.GF13156@gnu.wildebeest.org> References: <20240229180922.810A93858C52@sourceware.org> <87msrjghwy.fsf@euler.schwinge.ddns.net> <20240229202253.GB4502@gnu.wildebeest.org> <1ed31164-aa49-410f-8177-4346e74c0263@embecosm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ed31164-aa49-410f-8177-4346e74c0263@embecosm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,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 List-Id: Hi, On Fri, Mar 01, 2024 at 11:24:00AM +0100, Arthur Cohen wrote: > On 2/29/24 21:22, Mark Wielaard wrote: > >I think what needs to happen is have a config check for the minimum > >versions of cargo and rustc that are now needed for when configuring > >for --enable-languages=rust. > > Yes - sorry about that. I will spend some time trying to make it > nice for the builders and users overall but I am currently trying to > finish the implementation of format_args!() in time for 14.1. So > this will take me a little bit of time. So when you use --enable-languages=ada it says: configure: error: GNAT is required to build ada And with --enable-languages=d: configure: error: GDC is required to build d That comes from this bit in the top-level configure.ac: # Disable Ada if no preexisting GNAT is available. case ${add_this_lang}:${language}:${have_gnat} in yes:ada:no) # Specifically requested language; tell them. AC_MSG_ERROR([GNAT is required to build $language]) ;; all:ada:no) AC_MSG_WARN([GNAT is required to build $language]) add_this_lang=unsupported ;; *:ada:no) # Silently disable. add_this_lang=unsupported ;; esac # Disable D if no preexisting GDC is available. case ${add_this_lang}:${language}:${have_gdc} in yes:d:no) # Specifically requested language; tell them. AC_MSG_ERROR([GDC is required to build $language]) ;; all:d:no) AC_MSG_WARN([GDC is required to build $language]) add_this_lang=unsupported ;; *:d:no) # Silently disable. add_this_lang=unsupported ;; esac have_gnat and have_gdc are set by ACX_PROG_GNAT and ACX_PROG_GDC defined in config/acx.m4 and called earlier in configure.ac. Cheers, Mark