From patchwork Sun Mar 10 03:18:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 1910170 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=doGlko0/; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TslVV6YMFz1yWm for ; Sun, 10 Mar 2024 14:18:42 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5AE753860C0C for ; Sun, 10 Mar 2024 03:18:38 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oa1-x31.google.com (mail-oa1-x31.google.com [IPv6:2001:4860:4864:20::31]) by sourceware.org (Postfix) with ESMTPS id B8EFE385DC26 for ; Sun, 10 Mar 2024 03:18:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B8EFE385DC26 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B8EFE385DC26 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:4860:4864:20::31 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710040696; cv=none; b=uZi2ofI7Yg/Dhy15BptScrNSMviuHTakf4XGDr65Ve36NhSaRoH6tgiUD3+V5wzrfKGDLVMkeXeC36f/UMg0MK280APfk6zJ9Rfg5cawh7mKi0+99apoZZnozq8CMxWFH6OimDXUvh8nTqM59NbMl4bbWbN7BS6LwhEXp+2E0+I= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710040696; c=relaxed/simple; bh=YqLuU5lPAmeBfleDkwW9W2M9z4326kFTdNeYf3tM09A=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=kzFx6muzMmCXwTcv26e8GZgoxrJmh36pz2WO8HOh87zStMXEZaRoeTaN4wewjBroa+KsWzfLCIjMVdVZFEBo30bhCb4bRZOy6b64ayQO9ZfeaTUJ/fvXU2aSON33fL/RZOWSya9x3pA41m+z3FD1pe5CkudV9pqIKhWEcIF5+Ls= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-221ce6cac3aso481482fac.2 for ; Sat, 09 Mar 2024 19:18:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710040693; x=1710645493; darn=gcc.gnu.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=rSU6wZtXcKVt1oHSGmqcV1WtbyZjq9dMUgY3cM8NSRA=; b=doGlko0/LmozVxz5t08lhOvPhG6QxSFdOJxTdtQ/VFZuF2KMY0u+Rq4GsYHVIyVq5U 68e/y/pLG2j3zq1sLKj9uFMMl06JBUjXXESpfSQU4rnDcGvLuv/iluX8F+4sHG5Y17D+ yGz00BZDV0WXePtmKgF+fI74W8RXq6JMHXtGtJi8eZ6tiwpd3o6stMyvXtoReEph63io sA8nRGwUydIO6M3R9C/AIHGBvPsLm5TjsRff9qYFDGRUICT9JiP8nxxYw+TiKwYRvEKP dVs9xMHNiU9P+5uez86BRwKNl1kimFBPHO9WxCftGZIAtW7c5BTsZ3HVtnrGCKGyi74a geHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710040693; x=1710645493; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rSU6wZtXcKVt1oHSGmqcV1WtbyZjq9dMUgY3cM8NSRA=; b=uU2E2XkFXuUe9WWwPNtjbw0ysygtxKr7YwGgQHgCnzBUiG9gnECjFQyxSS8R4FRsIk sx9JifJ7PnNnna6dgSFXH8fuaZPmbybQbXcfzmCsRMokITik3sx6zjEZK1Zp8Oetp8F/ sgV4mIiS/PBoxPVS/1EHNFfL9la5w4927r7fGnsrQH/J1nj7I3YapNIFSm4VEMx88ISe n6/8ZvPnIz/h9JYoAIu2U4f2kWD/kuBLnf21uVplTsl6F2y+FiSq8/AP8OfSNadF1SnB Ogfh9u8Bul3gVSemJqYOY57NN6CjDY5cdQ52T8pb/43zJaj0uije+fN16SZk9uAu1U// Py9w== X-Gm-Message-State: AOJu0YwrLrPB4ZmA58O8gPff0vTWI9w/BKiJUY5oGOfN4GJbfTiJBej9 Vv3WvYJQRXPuvBvWxg9HpUlAcB36M1DMgtPLLs7cZPwoQH76lTYI3Jeq+YYx X-Google-Smtp-Source: AGHT+IF4E1grY1NurNzuAAAi9mXCga2m9WipnBZk45F8rtMQnfURMAFyFXWLmDWHxOdtptVdT0+T7g== X-Received: by 2002:a05:6870:1642:b0:221:a881:e07a with SMTP id c2-20020a056870164200b00221a881e07amr3425190oae.44.1710040693284; Sat, 09 Mar 2024 19:18:13 -0800 (PST) Received: from [172.31.1.103] ([172.56.168.149]) by smtp.gmail.com with ESMTPSA id gv10-20020a056870aa0a00b00220131888d7sm709211oab.50.2024.03.09.19.18.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 09 Mar 2024 19:18:12 -0800 (PST) Message-ID: <93343fce-9be7-43ce-ba34-7f6369953356@gmail.com> Date: Sat, 9 Mar 2024 20:18:10 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Content-Language: en-US To: "gcc-patches@gcc.gnu.org" From: Jeff Law Subject: [committed] [target/102250] Document python requirement for risc-v X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_ABUSEAT, RCVD_IN_DNSWL_NONE, RCVD_IN_SBL_CSS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Not sure why nobody's taken care of this yet. Under certain circumstances python may be needed if you're building a RISC-V compiler. Here's what I've checked in. Happy to adjust if folks want to wordsmith it further. Jeff commit 7c8f0a79a7e1e42f846ddbca14b98b47ddcfd178 Author: jlaw Date: Sat Mar 9 20:11:39 2024 -0700 [committed] [target/102250] Document python requirement for risc-v PR target/102250 gcc/ * doc/install.texi: Document need for python when building RISC-V compilers. diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 173233096d1..e3650e0c4f4 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -253,6 +253,11 @@ name of the package depends on your distro) or you must build GCC as a @option{--disable-multilib}. Otherwise, you may encounter an error such as @samp{fatal error: gnu/stubs-32.h: No such file} +@item Python +If you configure a RISC-V compiler with the option @option{--with-arch} and +the specified architecture string is non-canonical, then you will need +@command{python} installed on the build system. + @item @anchor{GNAT-prerequisite}GNAT In order to build GNAT, the Ada compiler, you need a working GNAT