On 11/02/25 00:23, Shankar Unni wrote:
Sorry, ignore my last host-compile.txt (that was from one of my flailing
fix attempts).
The main problem is that is hard for rustc to figure out the host from
the target if they have the same triple. (see
https://github.com/rust-lang/cargo/issues/9453)
If you __really__ need to use glibc you have to have either
- have a custom target spec (see rustc +nightly -Z unstable-options
--print target-spec-json)
- build everything in a chroot with the correct host glibc that would be
compatible for both host and target binaries
lu
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel