make TARGET_ARCH=mipsel CROSS_COMPILER_PREFIX=/usr/local/bin/mips64-portbld-freebsd11.0- XCC=/usr/local/bin/mips64-portbld-freebsd11.0-gcc CROSS_BINUTILS_PREFIX=mips64-freebsd- X_COMPILER_TYPE=gcc buildkernel KERNCONF=RT305X
make TARGET_ARCH=mipsel CROSS_COMPILER_PREFIX=/usr/local/bin/mips64-portbld-freebsd11.0- XCC=/usr/local/bin/mips64-portbld-freebsd11.0-gcc CROSS_BINUTILS_PREFIX=mips64-freebsd- X_COMPILER_TYPE=gcc buildworld
Note: the gcc 5.2.0 compiler that I'm testing with barfs with set but unused warnings everywhere. These
are fatal, so the buildworld doesn't complete.
The kernel fails at the moment because it uses floating point stores with the mips32 ISA, which apparently is undefined (or I'm misunderstanding the swc1 opcode warnings). This is swtch.S