or1k-9.0.0-20181027
Pre-release
Pre-release
OpenRISC GCC Toolchain 9.0.0-20181027
These toolchains were built using the or1k-toolchain-build environment configured with the following versions:
- gcc : 9.0.0
- binutils/gdb : 2.31.52 (tag
or1k-2.31.52
from stffrdhrn/binutils-gdb) - linux headers : 4.15
- gmp : 6.1.0
- newlib (elf toolchain) : git
- musl (linux-musl toolchain) : 1.1.19
New in this release
binutils-gdb
patches are all upstream now- GCC has support for new flags
-mror
,-msfimm
,-mshftimm
, and others required to create binaries that will run on existing FPGA soft cores. - GCC and GAS documentation for OpenRISC written
- GCC has various fixes and improvements pointed out during the GCC upstreaming review v1 and v2
Installation
Choose the toolchain binaries based on the descriptions on the openrisc.io software overview page. Download .xz
prebuilt binary archives and unpack them using tar -xf <archive>
. Run the tools found under or1k-*/bin/
.
Test Results
Tests for toolchains were run using dejagnu board configs found in or1k-utils. The test results for the toolchains are as follows:
=== gcc Summary ===
# of expected passes 93691
# of unexpected failures 92
# of expected failures 276
# of unresolved testcases 77
# of unsupported tests 2823
/opt/crossbuild/linux-musl/musl-cross-make/build/local/elf/build-gcc-stage2/gcc/xgcc version 9.0.0 20181026 (experimental) (GCC)
--
=== g++ Summary ===
# of expected passes 103545
# of unexpected failures 29
# of expected failures 433
# of unresolved testcases 19
# of unsupported tests 5724
/opt/crossbuild/linux-musl/musl-cross-make/build/local/elf/build-gcc-stage2/gcc/testsuite/g++/../../xg++ version 9.0.0 20181026 (experimental) (GCC)
--
=== gcc Summary ===
# of expected passes 98632
# of unexpected failures 15
# of expected failures 345
# of unresolved testcases 1
# of unsupported tests 2479
/opt/crossbuild/linux-musl/musl-cross-make/build/local/or1k-linux-musl/obj_gcc/gcc/xgcc version 9.0.0 20181026 (experimental) (GCC)
--
=== g++ Summary ===
# of expected passes 113846
# of unexpected failures 7
# of expected failures 522
# of unsupported tests 5605
/opt/crossbuild/linux-musl/musl-cross-make/build/local/or1k-linux-musl/obj_gcc/gcc/testsuite/g++/../../xg++ version 9.0.0 20181026 (experimental) (GCC)