Age | Commit message (Collapse) | Author | Files | Lines |
|
Install pyelftools before testing
|
|
We use some non-standard python package in #1233, so we must make sure
it available before run the test.
Fix #1252
|
|
Add ci jobs for make-report and make-report multilib
|
|
We currently have a stale "llvm" branch, that does not build.
However, there is clear demand in the RISC-V toolchain community
for a working LLVM on top of a recent GNU toolchain.
In order to build such a toolchain, quite some LLVM and clang know-how is
required to avoid path issues at LLVM build time or later when using clang.
The main purpose of this commit is to demonstrate a way to combine
the RISC-V GNU toolchain repo with LLVM, with the intent to save
others hours of frustration, debugging time or support time.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
|
|
This patch adds a submodule for llvm.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
|
|
Set qemu cpu option from ELF attribute
|
|
dejagnu: Bump dejagnu to include multilib fix
|
|
ci jobs
|
|
|
|
--enable-debug-info will enable debug information when build library
Signed-off-by: Huaqi Fang <578567190@qq.com>
|
|
Signed-off-by: Huaqi Fang <578567190@qq.com>
|
|
Default ISA spec version was bumped to 20191213 in
0ae36fce64a1f9a45747e35583c8f3f6bc482693 (#1229)
but it's not reflected in README.md.
|
|
|
|
env: fix python3 env not found in /usr/bin
|
|
for centos env is in /usr/bin
for ubuntu env is in /usr/bin
Signed-off-by: Huaqi Fang <578567190@qq.com>
|
|
[Makefile.in] glibc: Remove unnecessary -g option
|
|
Using llvm-objdump I found warning if file was
compiled using riscv-gcc. Examples:
warning: failed to find source riscv-glibc/csu/elf-init.c
It concerned with compilation glibc with
debug info that is unnecessary operation. If user want to have debug info, than it's easy to pass -g.
This option wasn't touched more than 7 years...
|
|
|
|
|
|
This could help multi-lib testing, but the price is slightly increase
the testing time since it will need to extract ELF attribute from binary
before running qemu.
But I think the cost is acceptable compare to make build system more
complicate, and actually we already use this approach in our internal stuffs
for years.
|
|
changed riscv-gcc references to gcc in README
|
|
|
|
dejagnu: Rollback version to 1.6.2
|
|
Christoph has a fix on the road of upstream, but it not get merge yet, so let
rollback for now, and upgrade when upstream done.
Workaround for #1201
|
|
Update --with-isa-spec default option.
|
|
|
|
Fix mayberelsrcdir after gcc folder name change
|
|
|
|
[NEWLIB][Cross-build]: Fix merge-newlib-nano.
|
|
There is no $(NEWLIB_TUPLE)-gcc in install directory
during cross-compilation process. For example,
to compile for Windows, we has to have riscv64-unknown-elf-gcc
in our PATH and we has to use it with print-multi-lib
to find multilib configuration, because install
folder contains only .exe files (can not be executed)
This bugfix is to check: whether compiler we already
have for host - in the install directory or in the PATH.
|
|
Docs: Update README.md
|
|
[GCC]: Pass extra flags to gcc build.
|
|
There is no way to pass extra flags to gcc though
riscv-gnu-toolchain Makefile.
This is neccesary for me, because I has to rewrite gmp,
isl, mpfr, mpc folders in source of gcc project. Moreover,
I don't want to rebuild them with gcc.
Also I think, the opportunity to pass extra flags will be
convenient for many development purposes.
|
|
|
|
|
|
|
|
There is a typo in a previous commit that introduced src-dir-override
for DejaGnu.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
|
|
We have this feature for all other packages.
It is particularly useful to avoid pointless internet downloads
for automatic builds.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
|
|
Bump glibc to 2.37
|
|
glibc 2.37 has been released on February 1st, 2023.
We still use 2.33 in this repo.
Let's make a huge step forward to the latest upstream release.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
|
|
This patch contains three minor updates:
1. Added texinfo to OS X dependency package
2. Brew tap discoteq/discoteq is no longer required to install the flock
3. Added tip in "Installation (Newlib)" to keep similar to the description
in "Installation (Linux)" and fixed a typo.
Signed-off-by: Mingzheng Xing <xingmingzheng@iscas.ac.cn>
|
|
Add a tip so blindly following the instructions is more likely to just work.
Issue #1169
Signed-off-by: Carl Karsten <CFKarsten@gmail.com>
|
|
Add unittest to march-to-cpu-opt
|
|
Quick fix sim pk build failure for RV32.
|
|
ubuntu20.04 make it need "clang ninja-build"
Signed-off-by: 长柳 <110147328+changliuxy@users.noreply.github.com>
|
|
Support testing zdinx/zfinx/zhinx.
|
|
https://github.com/riscv-collab/riscv-gnu-toolchain/pull/1167 has found
some bug, and I realized the testing of march-to-cpu-opt is...not well,
so spend some time to improve that a little bit, it's not complete testing,
but at least it's a start :P
|
|
Fix wrong parse script
|
|
If test --with-arch=rv32imc_zve128x
NameError: name 'arch' is not defined
Signed-off-by: Kwanghoon Son <kwangson@yahoo.com>
|
|
- We don't set correct qemu option for zdinx/zfinx/zhinx, this patch is
fixing the march-to-cpu-opt, which is a script translate -march string
to qemu options.
|