minou666 Posted January 24, 2021 Report Share Posted January 24, 2021 (edited) I wanted to create a stage3 for the BeagleV which uses a riscv64 but couldn't get crossdev to create the cross compiler. I was able to do that on gentoo as well as create the whole stage3. I am also able to chroot into in using fchroot. I am then able to emerge programs in the chroot I used the cross compiler to do the whole thing. riscv64-unknown-linux-gnu-emerge --ask @system and add a few extra program like my favorite editor joe I had to change one line for the ebuild to get it to work on gentoo PYTHON_COMPAT=( python3+ ) to PYTHON_COMPAT=( python3_{6..9} ) Any idea how to get crossdev to work for riscv64 on funtoo? I followed the instruction for how to do it on funtoo, it failed emerging cross-gcc-stage1 On gentoo gcc is 10 so I tried with a requirement to use gcc 10 with identical results checking if mkdir takes one argument... no --with-arch=znver1 is not supported. The argument must begin with rv32e, rv32i, rv32g, rv64i, or rv64g. make[1]: *** [Makefile:4249: configure-gcc] Error 1 make[1]: Leaving directory '/var/tmp/portage/cross-riscv64-unknown-linux-gnu/gcc-9.2.0/work/objdir' make: *** [Makefile:942: all] Error 2 * ERROR: cross-riscv64-unknown-linux-gnu/gcc-9.2.0::crossdev failed (compile phase): * emake failed * Michel Edited January 24, 2021 by minou666 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now