11-15-2019, 05:35 PM
The riscv cross compiler tool chain and the Linux cross-compiler were built successfully with the package obtained from the following risc v github:
https://github.com/riscv/riscv-gnu-toolchain/
The original error (error: unrecognized opcode 'lwu a1, .LANCHOR0') mentioned in the initial post took place when the riscv and linux cross-compiler were build with the package obtained from the pulp platform github:
https://github.com/pulp-platform/pulp-ri...-toolchain
There might be some files/configurations out of date from the pulp-riscv-gnu-toolchain that results in the error.
Comparing the instructions provided in the README of the two github repositories, the difference seems to be that the pulp-riscv-gnu-toolchain repository README requires a step to build and install the Newlib cross-compiler for all pulp variants. Just wondering if this step is required to build the Ariane platform? what are exactly built and installed by this step?
Thanks,
Mapletree
https://github.com/riscv/riscv-gnu-toolchain/
The original error (error: unrecognized opcode 'lwu a1, .LANCHOR0') mentioned in the initial post took place when the riscv and linux cross-compiler were build with the package obtained from the pulp platform github:
https://github.com/pulp-platform/pulp-ri...-toolchain
There might be some files/configurations out of date from the pulp-riscv-gnu-toolchain that results in the error.
Comparing the instructions provided in the README of the two github repositories, the difference seems to be that the pulp-riscv-gnu-toolchain repository README requires a step to build and install the Newlib cross-compiler for all pulp variants. Just wondering if this step is required to build the Ariane platform? what are exactly built and installed by this step?
Thanks,
Mapletree