From eb44386362eff07151d6bda642e673073172dd28 Mon Sep 17 00:00:00 2001 From: Jason Self Date: Wed, 2 Nov 2022 08:13:30 -0700 Subject: [PATCH 1/1] The 4.19 series for riscv64 needs to be built with GCC 10.4 & binutils 2.37 --- setup-toolchain.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/setup-toolchain.sh b/setup-toolchain.sh index 967c8f5..8d00a65 100755 --- a/setup-toolchain.sh +++ b/setup-toolchain.sh @@ -275,6 +275,22 @@ do build gcc reset_path ;; + riscv64-linux) + # The 4.19 series needs to be built with GCC 10.4 & binutils 2.37 + export gcc_version="10.4.0" + export binutils_version="2.37" + export toolchain_directory="toolchain-$gcc_version-bintuils-$binutils_version" + reset_path + set_path + reset_path + set_path + setup_directories + download_source + setup_source + build binutils + build gcc + reset_path + ;; s390x-linux) # The 4.9, and 4.14 kernel series needs to be built with GCC 8.5 export gcc_version="8.5.0" -- 2.31.1