From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 8F0F6385840D for ; Tue, 9 Apr 2024 08:00:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8F0F6385840D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8F0F6385840D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712649646; cv=none; b=v32fxpEz/yLCufoP2QRivT6EPhSUJzSOVavLixjW9ma9QoswWA+7Y8BOHJekSd7jDF1VulIf+R7WD3+CHyuGVf4ZryxrL1olhWOP1tUY5fGDmA43/JlKuL2fQFaSwqGdBg2xmWq4zugpoQaKIzlbK2tJxqu0opP7iZm0RK6bvhY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712649646; c=relaxed/simple; bh=4Muq8hbKDF0E3gfJRT64r1FxBiu38377b2hyy0fv4Jk=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=sxywCkV7cD3+fWprbWVQLchC0i0Aa3pqoC9thjkyN2tS+nwpLdNw0gDZHZeC6xb12nGsGLYxrktOzjwD+aZ/jp4rrRdRQO7qLyBB/rBitmZrqAnmdNQL2jtFb/WHvjrIDEeuXUSrHXbZaM3p/MiRtNWoKcRS/uen/sSXjOlph1I= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712649644; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=rDpyTL9hOQOjGXygnaQqs4RHvuA62QK6stlL6bgcSQk=; b=dAi85VzuvSCgL4JRGCzxsBgcLfmvPPlxg5RSVfFkQrkkKmQ6wWQrPwL7BEtckhmJacx1yD Y6WAW/hEvx5Y1wOxJ7bV3v7kGXgDAoie/MHKdY84INy7u+1uhlogJFssHvTzOBiWpeihey UAKe8NqTm0I21F2mb2KMkoej3nmZShQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-427-QIxltcI6OjG1v3z3ifw6Cg-1; Tue, 09 Apr 2024 04:00:40 -0400 X-MC-Unique: QIxltcI6OjG1v3z3ifw6Cg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 616FD80D626; Tue, 9 Apr 2024 08:00:40 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.45.224.14]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 21A9340B497A; Tue, 9 Apr 2024 08:00:39 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 43980IY11300215 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 9 Apr 2024 10:00:18 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 43980IZ31300214; Tue, 9 Apr 2024 10:00:18 +0200 Date: Tue, 9 Apr 2024 10:00:17 +0200 From: Jakub Jelinek To: John Paul Adrian Glaubitz Cc: pierre-emmanuel.patry@embecosm.com, gcc-patches@gcc.gnu.org, gcc-rust@gcc.gnu.org Subject: Re: [PATCH] build: Check for cargo when building rust language Message-ID: Reply-To: Jakub Jelinek References: <20240408163337.303317-2-pierre-emmanuel.patry@embecosm.com> <15b4a90fd6b729f1e67dda6bfbca6ddcdc079d79.camel@physik.fu-berlin.de> MIME-Version: 1.0 In-Reply-To: <15b4a90fd6b729f1e67dda6bfbca6ddcdc079d79.camel@physik.fu-berlin.de> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable 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, Apr 09, 2024 at 09:47:18AM +0200, John Paul Adrian Glaubitz wrote: > Hello, > > On Mon, 2024-04-08 at 18:33 +0200, pierre-emmanuel.patry@embecosm.com wrote: > > The rust frontend requires cargo to build some of it's components, > > it's presence was not checked during configuration. > > 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? Cross-compilers? Jakub