Thanks for that pointer. Yes, that's basically it. For the moment, I've stepped around it by selecting CONFIG_GCC_USE_VERSION_12, which effectively makes it the same gcc/libstdc++ version as Ubuntu 22, so that's the workaround for anyone else who's in this situation. I'll follow this ticket and see how it gets tackled.
On Mon, Feb 10, 2025 at 11:36 PM Luca Barbato <lu_z...@luminem.org> wrote: > > 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