aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-08-17Merge pull request #1108 from riscv-collab/bump-binutils-2.392022.08.18Kito Cheng4-6/+6
Switch binutils to upstream 2.39 branch and rename the folder name
2022-08-17Switch binutils to upstream 2.39 branchKito Cheng4-6/+6
2022-08-08Merge pull request #1107 from wanlinwang/patch-12022.08.08Kito Cheng1-1/+1
Update .gitmodules
2022-08-08Update .gitmoduleswanlinwang1-1/+1
update url for qemu. Signed-off-by: wanlinwang <32032219+wanlinwang@users.noreply.github.com>
2022-06-09Merge pull request #1085 from riscv-collab/bump-qemu2022.06.10Kito Cheng4-2/+147
Bump qemu to 7.0
2022-06-03Bump qemu to 7.0Kito Cheng1-0/+0
2022-06-03Pass right extension info to qemuKito Cheng3-2/+147
- Parse that from `--with-arch=` option
2022-06-02Merge pull request #1080 from Liaoshihua/spike-toolchain2022.06.03Kito Cheng8-22/+104
Change default simulator from qemu to spike.
2022-05-23Add option '--with-sim' to set simulatorLiaoshihua8-22/+104
2022-05-14Merge pull request #1073 from palmer-dabbelt/qemu-system2022.05.15Kito Cheng3-8/+40
Allow users to build QEMU with system-mode emulation
2022-05-12Regenerate configure for 29a0ca8 ("Allow users to build QEMU with ↵Palmer Dabbelt1-4/+24
system-mode emulation") Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-05-12Allow users to build QEMU with system-mode emulationPalmer Dabbelt2-1/+13
I'm trying to clean up some of my test scripts, and one issue is that I've got two QEMU builds: one for user-mode emulation and one for system-mode emulation. This adds an autoconf flag that allows me to avoid the duplication. Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-05-11Put the linux-headers bits togetherPalmer Dabbelt1-4/+4
These got split up by my libsanitizer patch. Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-04-22Merge pull request #1062 from palmer-dabbelt/libsanitizer2022.04.23Kito Cheng3-4/+33
Add an "--enable-libsanitizer" configure-time argument
2022-04-21Add an "--enable-libsanitizer" configure-time argumentPalmer Dabbelt3-4/+33
This lets users select whether or not to build libsanitizer, which currently does not support rv32 and thus can't be enabled by default. Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-04-21Merge pull request #1060 from riscv-collab/jimw-configure-update2022.04.22Kito Cheng1-3/+13
Rebuild configure file.
2022-04-20Rebuild configure file.Jim Wilson1-3/+13
To finish #1059 and fix #1057.
2022-04-20Merge pull request #1059 from kenta2/toolchaih22022.04.21Jim Wilson1-1/+1
fix spelling in configure script (toolchaih -> toolchain)
2022-04-20fix spellingKen Takusagawa1-1/+1
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