Trouble following build instructions on Risc-V wiki page
David Hutchinson
d.hutchinson at live.com
Wed Aug 1 19:02:35 UTC 2018
I've been trying to build Risc-V, following the instructions on the Wiki page at https://wiki.freebsd.org/riscv and have encountered a few problems:
First, using the pre-packaged cross-compile tools, buildworld eventually fails with an "undefined reference _Unwind_Resume" error (Sorry. I didn't record where, and I've since wiped and started anew with the hand-built cross-compile tools
Second, the final step in the build toolchain section (the mv ${PREFIX}/lib/gcc/riscv64-unknown-freebsd11.2/8.1.0/include-fixed ${PREFIX}/lib/gcc/riscv64-unknown-freebsd11.2/8.1.0/include-fixed.rm
) gives a file not found error, as there is no include-fixed file or directory.
Third, the instructions to build world fail at make, because the instructions refer to FreeBSD-12.0 as the build tools (i.e. setenv CROSS_BINUTILS_PREFIX $PREFIX/riscv64-unknown-freebsd12.0/bin/ ), when FreeBSD-11.2 tools are built. I've made changes, and am now doing the make buildworld part.
I was going to see what works, and if I was successful, maybe think about making changes to the wiki page if I felt confident in my solution, but, well, the captcha generator doesn't work, so I can't
Create an account.
Thanks
David Hutchinson
More information about the freebsd-riscv
mailing list