A highly experimental port of LFS for 64-bit little-endian MIPS.
LFS mips64el-11.0-rc2 (not tested at all!)
WIP...
WIP...
Remove the test named extra_sources
from
gio/tests/meson.build
(fix FTBFS).
Patch (fix test failure and runtime issue).
If building clang, use
sed '/MIPS64ELTriples.. =/a "mips64el-unknown-linux-gnuabi64",' -i tools/clang/lib/Driver/ToolChains/Gnu.cpp
(or clang won't be possible to compile a hello world program).
Patch to make IEEE 754-2008 NaN the default.
sed 's/-Cdebuginfo=2/& -Ctarget-feature=+xgot/' -i src/bootstrap/bootstrap.py
(fix FTBFS).
Need a rustc binary to bootstrap. Note that the upstream only guarantees that rustc-1.x.y can bootstrap rustc-1.x.z and rustc-1.(x+1).z.
sed 's/elf::EF_MIPS_PIC/& | elf::EF_MIPS_NAN2008/' -i
compiler/rustc_codegen_ssa/src/back/link.rs
(workaround FTBFS).
Remove __builtin_cpu_init();
from
sbc/sbc_primitive.c
(fix FTBFS).
Patch (fix FTBFS).
Patch (fix FTBFS).
Use --disable-mmi
(workaround FTBFS) and
--disable-msa
(work around wrong decoding result at
runtime).
If the kernel is configured with page size > 4 KB, use
-DUSE_64KB_PAGE_BLOCK=ON
(fix crash at runtime).