lowRISC / lowrisc-toolchains

UNSUPPORTED INTERNAL toolchain builds
32 stars 14 forks source link

Missing libmpfr #1

Closed imphil closed 4 years ago

imphil commented 5 years ago

Running this toolchain (built on Ubuntu 16.04) on my openSUSE Tumbleweed machine gives me:

/home/tools/riscv/bin/../libexec/gcc/riscv32-unknown-elf/8.3.0/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: No such file or directory

Looks like the build script isn't good enough :-( Should we look into something like crosstools-ng instead of the SiFive build script @asb?

imphil commented 5 years ago

Looking at crosstool-ng now. Seems promising so far.

imphil commented 5 years ago

crosstool-ng solves the libmpfr issue and reduces the build time down to 30 minutes. That's a significant win on all fronts, so PR #3 should solve this one.

lenary commented 4 years ago

Closed by #3 for ibex.

lenary commented 4 years ago

We use crosstool-ng for all builds now, so this is solved.