aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-04-12Merge pull request #1054 from riscv-collab/with-isa-spec2022.04.12Kito Cheng4-5/+52
Add --with-isa-spec option to configure
2022-04-11Merge pull request #1032 from florianhofhammer/feature/update-submodulesKito Cheng10-24/+67
Rename glibc, newlib submodules and add musl submodule
2022-04-11Add --with-isa-spec option to configureKito Cheng4-5/+52
Set the default version to 2.2 for now, and once we bump to GCC 12 we will bump that to 20191213.
2022-03-24Merge pull request #1041 from vineetgarc/bump-binutils-2.382022.03.25Kito Cheng2-1/+1
Bump binutils to 2.38 release
2022-03-23Bump binutils to 2.38 releaseVineet Gupta2-1/+1
Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
2022-03-08Merge pull request #338 from brucehoult/newlib_use_function_sections2022.03.09Kito Cheng1-2/+2
Enable function and data sections for newlib.
2022-03-01Merge branch 'master' into newlib_use_function_sectionsKito Cheng1026-11036/+41141
2022-02-24Prevent musl riscv32 buildsFlorian Hofhammer6-7/+28
The upstream musl libc does not support 32bit RISC-V builds. We therefore only allow building the 64bit version (i.e., riscv64-unknown-linux-musl-). Signed-off-by: Florian Hofhammer <florian.hofhammer@fhofhammer.de>
2022-02-24Update README.md to account for musl libcFlorian Hofhammer1-6/+11
Signed-off-by: Florian Hofhammer <florian.hofhammer@fhofhammer.de>
2022-02-24Add musl libc submoduleFlorian Hofhammer6-6/+24
Since musl is already incorporated into the build system (see for example configure.ac, Makefile.in), this patch adds a submodule for musl based on the current v1.2.2 release. The GitHub Actions configurations have also been updated to include the musl based toolchain. Signed-off-by: Florian Hofhammer <florian.hofhammer@fhofhammer.de>
2022-02-24Update glibc and newlib pathsFlorian Hofhammer5-9/+8
Both the glibc and newlib submodules are already pointing to the upstream repositories where development happens. Since they are therefore not referring to RISC-V specific forks, this patch unifies the directory naming by only prepending the "riscv-" prefix to submodules that point to repositories in the riscv-collab Github organization. Signed-off-by: Florian Hofhammer <florian.hofhammer@fhofhammer.de>
2022-02-24Merge pull request #1029 from florianhofhammer/bugfix/build-qemu2022.02.25Kito Cheng2-9/+9
Fix incorrect qemu path in configure script
2022-02-24Use "qemu", not "riscv-qemu", as the default QEMU sourcePalmer Dabbelt1-8/+8
The recent addition of an override for the QEMU source directory left the default pointing to the wrong submodule. Fixes: b83ee52 ("Allow source-override for QEMU") Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-02-23Fix incorrect qemu path in configure scriptFlorian Hofhammer1-1/+1
2022-02-11Merge pull request #1023 from cmuellner/riscv-mainline2022.02.12Kito Cheng4-1/+32
Allow source-override for QEMU
2022-02-10Allow source-override for QEMUChristoph Muellner4-1/+32
This patch introduces a configure-time source-dir override for QEMU similar to the existing overrides for the other toolchain sources. Signed-off-by: Christoph Muellner <cmuellner@linux.com>
2022-02-11Merge pull request #992 from vineetgarc/gcc-v-report-git-ver2022.02.11Kito Cheng1-0/+8
gcc: add source SHA1 which shows up in -v
2022-01-16Merge pull request #1012 from sickcodes/master2022.01.17Kito Cheng1-1/+1
Change Arch requirement mpc to libmpc as reported by @erdnaxe
2022-01-15Change Arch requirement mpc to libmpc as reported by @erdnaxesickcodes1-1/+1
Just updating previous PR as `mpc` is a music player, `libmpc` is the correct required package.
2021-12-22Merge pull request #1002 from palmer-dabbelt/glibc-no-cxx2021.12.22Kito Cheng1-1/+1
Set CXX to a nonexistant compiler when building glibc
2021-12-20Set CXX to a nonexistent compiler when building glibcPalmer Dabbelt1-1/+1
We set CXX=riscv64-unknown-linux-gnu-g++ (or something like that) when building glibc, but don't actually build a C++ compiler during stage 1. Under normal conditions this shouldn't cause any issues: that's either a working compiler (from PATH) or doesn't exist, in which case glibc's build scripts do the right thing and turn off C++. Unfortunately I'm in the pathological situation of having a slightly-incompatible g++ in PATH, which glibc then attempts to use only to throw an error when linking (glibc isn't testing that much of the C++ toolchain, see <https://sourceware.org/bugzilla/show_bug.cgi?id=24183>). This simply sets CXX to something that's unlikely to exist during the glibc build, so the build scripts don't get confused. I tried setting this to false, but everything was italic. Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2021-11-18gcc: add source SHA1 which shows up in -vVineet Gupta1-0/+8
This helps identify the exact sources used for building the compiler. | riscv64-unknown-linux-gnu-gcc -v | | Before: gcc version 11.1.0 (GCC) | After : gcc version 11.1.0 (g480822473a4a) Signed-off-by: Vineet Gupta <vineetg@rivosinc.com>
2021-09-20Merge pull request #963 from sickcodes/sickcodes-patch-12021.09.21Jim Wilson1-0/+2
Add AUR link: https://aur.archlinux.org/packages/riscv-gnu-toolchain
2021-09-20Add AUR link: ↵sickcodes1-0/+2
[https://aur.archlinux.org/packages/riscv-gnu-toolchain/](https://aur.archlinux.org/packages/riscv-gnu-toolchain/) Added: Also available for Arch users on the AUR: [https://aur.archlinux.org/packages/riscv-gnu-toolchain/](https://aur.archlinux.org/packages/riscv-gnu-toolchain/)
2021-09-15Merge pull request #960 from cmuellner/build-libc-deps2021.09.16Kito Cheng1-1/+1
Fix typo in build-libc dependencies
2021-09-15Fix typo in build-libc dependenciesChristoph Muellner1-1/+1
The variable MULTLIB_NAMES does not exist but is used when generating the dependencies for the target build-libc for glibc. Even when adding the missing 'I' (for MULTILIB_NAMES) there is still no variable with this name. So the whole dependency generation is useless, becauese it was not needed so far. Looking into detail why it is so, we can find the answer in the dependency list of the target 'stamps/build-gcc-linux-stage2'. Let's fix this by setting the dependencies for build-libc right. The dependencies for 'stamps/build-gcc-linux-stage2' stay as they are not wrong. Fixes: 3456b66f69 ("Add a "make report" phony target") Signed-off-by: Christoph Muellner <cmuellner@linux.com>
2021-09-09Merge pull request #959 from riscv-software-src/fix-repo-url2021.09.10Kito Cheng1-4/+4
Fix submodule URLs
2021-09-09Fix submodule URLsKito Cheng1-4/+4
2021-08-10Merge pull request #937 from Nelson1225/master2021.08.11Jim Wilson1-0/+0
Bump binutils to 2.37 release.
2021-08-10Bump binutils to 2.37 release.Nelson Chu1-0/+0
2021-08-06Merge pull request #934 from bradjc/patch-12021.08.07Kito Cheng1-0/+2
Add flock to OS X dependencies
2021-08-05add flock to OS X dependenciesBrad Campbell1-0/+2
2021-06-25Merge pull request #918 from riscv/bump-gcc2021.06.26Kito Cheng5-9/+24
Bump gcc to 11.1
2021-06-23Bump GCC to 11.1Kito Cheng1-0/+0
2021-06-23Update allow list for GCC 11Kito Cheng4-9/+24
- PR 94853 and PR 86153 are reoslved - gfortran.dg/elemental_subroutine_3.f90 seems pass now. - g++.dg/tls/thread_local4* added to allow list since they might random fail on qemu, and hard to reproduce.
2021-06-17Merge pull request #916 from riscv/jimw-binutils-bump2021.06.18Kito Cheng1-0/+0
Bump binutils to get rv32e fixes.
2021-06-16Bump binutils to get rv32e fixes.Jim Wilson1-0/+0
2021-06-16Merge pull request #915 from scottj97/gitignoreJim Wilson1-0/+3
gitignore build directories
2021-06-16gitignore build directoriesScott Johnson1-0/+3
2021-04-22Bump riscv-binutils2021.04.23Kito Cheng1-0/+0
2021-04-22Merge pull request #886 from cmuellner/binutils-2.36.1Kito Cheng1-1/+1
Bump Binutils to 2.36.1
2021-04-21Bump Binutils to 2.36.1Christoph Muellner1-1/+1
Signed-off-by: Christoph Muellner <cmuellner@linux.com>
2021-04-06Merge pull request #875 from riscv/jimw-gcc-bump2021.04.07Kito Cheng1-0/+0
Bump gcc for testsuite fixes.
2021-04-06Bump gcc for testsuite fixes.Jim Wilson1-0/+0
2021-04-06Merge pull request #873 from riscv/bump-qemuKito Cheng1-0/+0
Bump qemu to 5.2.0
2021-04-03Bump qemu to 5.2.0Kito Cheng1-0/+0
2021-04-02Merge pull request #872 from riscv/bump-glibc2021.04.03Kito Cheng487-3564/+20617
Bump glibc and linux kernel
2021-04-01Bump glibc to 2.33Kito Cheng1-0/+0
2021-04-01Specify the kernel version for qemu user mode.Kito Cheng1-1/+1
- RV32 require 5.10 which is too new for most linux distro.
2021-04-01Update linux header to 5.10.5Kito Cheng484-3561/+20615