When installing `@system` with x86_64 (host) aarch64 (target) crossdev environemnt, `mpc` and `gcc` fail to compile because they try to use the host mpfr. After investigation, it turns out `/usr/aarch64-unknown-linux-gnu/usr/lib64/libmpfr.la` claim `/usr/lib64/libmpfr.so`. Fixing the file manually get me pass the failure. 548871a6083e /tmp/mpc-1.0.3 # emerge --version Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/13.0/desktop, gcc-6.4.0, glibc-2.25-r9, 4.10.0-20-generic x86_64) 548871a6083e /tmp/mpc-1.0.3 # emerge -pv mpfr These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/mpfr-3.1.6:0/4::gentoo USE="-static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB 548871a6083e /tmp/mpc-1.0.3 # aarch64-unknown-linux-gnu-emerge mpfr -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/mpfr-3.1.6:0/4::gentoo to /usr/aarch64-unknown-linux-gnu/ USE="-static-libs*" 0 KiB
I'm sorry, this is not a Prefix issue. If you still have this problem, please reopen and re-assign to crossdev maintainers, crossdev@gentoo.org.