From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by sourceware.org (Postfix) with ESMTPS id 9970B385840B; Tue, 9 Apr 2024 08:29:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9970B385840B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=physik.fu-berlin.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=zedat.fu-berlin.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9970B385840B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=130.133.4.66 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712651397; cv=none; b=EJxinxhDcU4Jmx1yX5OnGRWJkr29RfqqlraiBdR2401IG4YfU/MxDgwKG4ve+r6zmC35GeRv5nPgeniEenAAu+be/Pgnmg5DQsnjHEE6GGFc2qk2v9XT+X37KZloA9kFXnDnTgiWf3bcA76pMzATvB3OX9MEy4awy0bABEaUvI0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712651397; c=relaxed/simple; bh=zHaNTqDwGWmf2bVzs+/Y+RkBoi8N1NWxFLddICHAk40=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=R/bqu/odKr9o8kMxxp4NkBPhdfpsRIfM3twDouJnxLWpGibXw1XK+hoHyO1DqYDQHwJZNihsFdWxW+laDWG3jQoS8Rh2ckP9gJvZwEeg6vKEgtbv9t4fY7aAd5TIgc7OhEFD/Ivbxl7R9I5G85BexW8WJuQVpBd5P3Vymttizos= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fu-berlin.de; s=fub01; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To: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=+oJuVpuMzPa2eQzcLXiUVOwlfZ67DY6gEbMltYTnSAA=; t=1712651394; x=1713256194; b=VpR5TUIN59Fqd4Qe2c8iiP/RxLhzZKwcaReXQhj1lqpPxHVZB+icueHRfYodwgmTZ2SeH/Gp/VZ k0YGlNl8d2J91olc/hn+IqgeQtnmjFzIPcSaU0HzEwXXkhcRZHObtMDrnNc2a5/GAaKe9Dq0/4aU0 dTXHxansXapJ7bzsFQVu0kts5561iGPePZTi76QB//wlZWS5L5KHc6MhdrH7ZRZ8Wff0jVE9c0Hkg 41Mjmu9EfA90N8FE76l1y/Mr+QdhJbvSbCr38WQHSluDEWAtWBHtjdwwP86uDynWUCjPJxUX4Gcw2 IuCyhPGLxJ7O7ARyTS8Uf8ONPLuV0asdL2Lw==; Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.97) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1ru6rZ-00000003QgU-2RsT; Tue, 09 Apr 2024 10:29:53 +0200 Received: from p5dc55805.dip0.t-ipconnect.de ([93.197.88.5] helo=[192.168.178.20]) by inpost2.zedat.fu-berlin.de (Exim 4.97) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1ru6rZ-00000002zCT-1ZbX; Tue, 09 Apr 2024 10:29:53 +0200 Message-ID: <77cba8f5dab22c6f002ace2aa09f841804fa97a7.camel@physik.fu-berlin.de> Subject: Re: [PATCH] build: Check for cargo when building rust language From: John Paul Adrian Glaubitz To: Jakub Jelinek Cc: pierre-emmanuel.patry@embecosm.com, gcc-patches@gcc.gnu.org, gcc-rust@gcc.gnu.org Date: Tue, 09 Apr 2024 10:29:52 +0200 In-Reply-To: References: <20240408163337.303317-2-pierre-emmanuel.patry@embecosm.com> <15b4a90fd6b729f1e67dda6bfbca6ddcdc079d79.camel@physik.fu-berlin.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.0 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 93.197.88.5 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Tue, 2024-04-09 at 10:00 +0200, Jakub Jelinek wrote: > On Tue, Apr 09, 2024 at 09:47:18AM +0200, John Paul Adrian Glaubitz wrote= : > > Hello, > >=20 > > On Mon, 2024-04-08 at 18:33 +0200, pierre-emmanuel.patry@embecosm.com w= rote: > > > The rust frontend requires cargo to build some of it's components, > > > it's presence was not checked during configuration. > >=20 > > Isn't this creating a hen-and-egg problem? How am I supposed to build a= Rust > > compiler for a target which is not supported by rustc (yet) when gccrs = is > > supposed to build-depend on cargo which requires rustc? >=20 > Cross-compilers? Well, ok. I had there would be a more convenient solution. I guess we will have to wait for rustc_codegen_gcc to mature then. Adrian --=20 .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913