From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id E5D203858D20; Wed, 17 Apr 2024 08:13:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E5D203858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E5D203858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713341619; cv=none; b=IoWQILE8zTg0GHFlPP5s9DMz7ac5p+9DDXFdeWBzAKYCxT9UtdgqqOFZ4HHK7ihbPSJtJkUIu8y4BjsEgV97jBZ8Dyu0qjMu+y4VXhxHo3a6ZFL1g5q15ulCtGruKsYln8ThRNlqkkjVfWC7JZuSJhqRZFRcPE5eTW+CJSt7qZ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713341619; c=relaxed/simple; bh=VMuOBLizTVZjLT3XwjB3UdVr/5drRN4inxB9xRUAFc8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=aJXYvdRax2SXBrORCpVHuQgc/DrMN+PukqZGOnw3PhBqWNQzttv6mP15Lu+Ij/GYPWk0nC00kvtm5j4/a5XOsIHYNjUViDlqvdxeI6z6DQIRlaaDnO/PbeOkHzLcMwFXFp5xP+ckZ2w3Qpd68OZERv7/XUr6wXjTdSJMOMOJEU8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id E6B4D60C98; Wed, 17 Apr 2024 10:13:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-transfer-encoding :content-type:content-type:mime-version:user-agent:message-id :in-reply-to:date:date:references:subject:subject:from:from :received:received; s=20200306; t=1713341614; bh=VMuOBLizTVZjLT3 XwjB3UdVr/5drRN4inxB9xRUAFc8=; b=M6uUk0LKdCvYYyPkDcD8IaHsiTafoUy KudtcMoqh9hyXsTz/0anX+Pg5p6bRkhK8KoPrcX//xWpgnQrv0xSFZn7kZHOLDIU 45xZ2hBfuz9ufhYwufDTI7/P4Ld+YK2O7C+2DYoC54dJZTE/S1tXkqB19K1NAmQS WVf7AnzkA87gQYUl1hsOIsXAc6HGGpXK7Gi8RhjTVYGjMyOE0c/eVQ+FarrJPQjS zFgo9zO5LdfOAaHWO4l7Qz7yQ9vve8LiHtQVGN0bPZm/En3ZdrB1yrrFQwPY5IRz 2yWI2pqVBwZ4zE1EP9Nzi9x0b2gQs/HdyfzNHmcYuTjAeH4u9H2jnVw== X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vtIBdkyn7m3m; Wed, 17 Apr 2024 10:13:34 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p50855b96.dip0.t-ipconnect.de [80.133.91.150]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 5C35DC9BF9; Wed, 17 Apr 2024 10:13:34 +0200 (CEST) From: Rainer Orth To: Andrew Pinski 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 References: <20240408163337.303317-2-pierre-emmanuel.patry@embecosm.com> Date: Wed, 17 Apr 2024 10:13:33 +0200 In-Reply-To: (Andrew Pinski's message of "Tue, 16 Apr 2024 13:34:00 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-3784.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,TXREP 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: Andrew Pinski writes: > On Mon, Apr 8, 2024 at 9:39=E2=80=AFAM wrote: >> >> From: Pierre-Emmanuel Patry >> >> Hello, >> >> The rust frontend requires cargo to build some of it's components, >> it's presence was not checked during configuration. > > WHY did this go in right before the release of GCC 14? > I don't get why this is considered temporary and it goes in right > before a release. > That seems broken to me. two more questions about this: Right now, the new cargo configure test disable rust on all of my targets (Solaris, Linux, Darwin) which didn't have it installed. Before (as recent as last Friday), I could successfully build and test crab1/rust on all of them without cargo in sight. So I wonder if the patch isn't premature. Besides, while there are packaged versions of cargo for Solaris 11.4 and Linux, Darwin hasn't anything (not checked Homebrew or similar yet). What's worse, rustup only supports macOS 10.12 and up, while I'm still regularly testing 10.7 and 10.11. I don't really feel like building rust from source here (if it works at all). This hasn't been an issue for any other languages that require additional tools for bootstrapping (like Ada or D): there are versions of GNAT around that still support those old Darwin releases, and I could use the C++ version of GDC in GCC 11. At the very least, the Rust situation needs to be documented clearly. Rainer --=20 ---------------------------------------------------------------------------= -- Rainer Orth, Center for Biotechnology, Bielefeld University