From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 64AAF158041 for ; Wed, 28 Feb 2024 00:29:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A26612BC01E; Wed, 28 Feb 2024 00:29:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8287D2BC01E for ; Wed, 28 Feb 2024 00:29:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE42B33DF47 for ; Wed, 28 Feb 2024 00:29:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D5461301 for ; Wed, 28 Feb 2024 00:29:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1709080183.f373ff919da62443ca59681f219b4899e72a6f2f.sam@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 12.3.0/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 12.3.0/gentoo/77_all_riscv_PR106271-multilib-bootstrap.patch 12.3.0/gentoo/README.history X-VCS-Directories: 12.3.0/gentoo/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f373ff919da62443ca59681f219b4899e72a6f2f X-VCS-Branch: master Date: Wed, 28 Feb 2024 00:29:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 29b12056-6e8f-413a-8701-ffca75b9fc9a X-Archives-Hash: b89f71e8620ae8eb657f14df469c87ca commit: f373ff919da62443ca59681f219b4899e72a6f2f Author: Sam James gentoo org> AuthorDate: Wed Feb 28 00:27:00 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Feb 28 00:29:43 2024 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=f373ff91 12.3.0: add 77_all_riscv_PR106271-multilib-bootstrap.patch Fixes prefix bootstrap for riscv. Bug: https://gcc.gnu.org/PR106271 Bug: https://bugs.gentoo.org/890636 Signed-off-by: Sam James gentoo.org> .../77_all_riscv_PR106271-multilib-bootstrap.patch | 36 ++++++++++++++++++++++ 12.3.0/gentoo/README.history | 5 +++ 2 files changed, 41 insertions(+) diff --git a/12.3.0/gentoo/77_all_riscv_PR106271-multilib-bootstrap.patch b/12.3.0/gentoo/77_all_riscv_PR106271-multilib-bootstrap.patch new file mode 100644 index 0000000..a333dc8 --- /dev/null +++ b/12.3.0/gentoo/77_all_riscv_PR106271-multilib-bootstrap.patch @@ -0,0 +1,36 @@ +https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=47f95bc4be4eb14730ab3eaaaf8f6e71fda47690 +https://gcc.gnu.org/PR106271 +https://bugs.gentoo.org/890636 + +From 7cb2eddfcd84d6e4a1bc1b19fa7ace0927db6bbc Mon Sep 17 00:00:00 2001 +From: Raphael Moreira Zinsly +Date: Tue, 22 Aug 2023 11:37:04 -0600 +Subject: [PATCH] RISC-V: Add multiarch support on riscv-linux-gnu + +This adds multiarch support to the RISC-V port so that bootstraps work with +Debian out-of-the-box. Without this patch the stage1 compiler is unable to +find headers/libraries when building the stage1 runtime. + +This is functionally (and possibly textually) equivalent to Debian's fix for +the same problem. + +gcc/ + * config/riscv/t-linux: Add MULTIARCH_DIRNAME. + +(cherry picked from commit 47f95bc4be4eb14730ab3eaaaf8f6e71fda47690) +--- + gcc/config/riscv/t-linux | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/gcc/config/riscv/t-linux b/gcc/config/riscv/t-linux +index 216d2776a183..a6f64f88d25c 100644 +--- a/gcc/config/riscv/t-linux ++++ b/gcc/config/riscv/t-linux +@@ -1,3 +1,5 @@ + # Only XLEN and ABI affect Linux multilib dir names, e.g. /lib32/ilp32d/ + MULTILIB_DIRNAMES := $(patsubst rv32%,lib32,$(patsubst rv64%,lib64,$(MULTILIB_DIRNAMES))) + MULTILIB_OSDIRNAMES := $(patsubst lib%,../lib%,$(MULTILIB_DIRNAMES)) ++ ++MULTIARCH_DIRNAME := $(call if_multiarch,$(firstword $(subst -, ,$(target)))-linux-gnu) +-- +2.44.0 diff --git a/12.3.0/gentoo/README.history b/12.3.0/gentoo/README.history index f65edb4..6699fd4 100644 --- a/12.3.0/gentoo/README.history +++ b/12.3.0/gentoo/README.history @@ -1,4 +1,9 @@ +3 28 Feb 2024 + + + 77_all_riscv_PR106271-multilib-bootstrap.patch + 2 29 Apr 2023 + + 76_all_all_PR107087_12_Wstringop-overread-libstdc++-cow-empty.patch 1 28 Apr 2023