This fixes a warning for each RISCV target during universe by passing in
the required CROSS_TOOLCHAIN setting which will in turn set
CROSS_BINUTILS_PREFIX correctly. It also ensures that a tinderbox build
uses the correct compiler for riscv. Previously it was using the shared
clang compiler instead of riscv64-gcc.
Details
Details
- make tinderbox with riscv64-xtoolchain-gcc installed demonstrated the failure. I used 'make tinderbox -V MAKE_PARAMS_riscv' to test which showed XCC, etc. set along with CROSS_TOOLCHAIN before this change, and with this change only CROSS_TOOLCHAIN is present. I've restarted the tinderbox build but it will take a while to finish.
- Ravi had reported the warning yesterday which this fixes for me which is why I've added him on the cc.
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 17695 Build 17498: arc lint + arc unit
Event Timeline
Comment Actions
While my tinderbox is still running, the riscv64 buildworld is now compiling things with the right compiler (previously it died trying to compile the very first thing in libcompiler_rt and it's beyond that stage now)