On 21/06/2025 02:27, NR wrote: > For some reason, libtool isn't specifying the target for ld.lld: > ld.lld: error: //toolchain/lib/clang/21/lib/x86_64-unknown-linux-gnu/clang_rt.crtbegin.o > is incompatible with elf32-littlearm > > Note how `--target=armv6-pc-linux-gnu --sysroot=<...>` was set with > the first clang command, but only `--sysroot` exists with the > subsequent clang command for linking. Thank you for your bug report! I think this is an easy fix to have the "--target" flag passed through libtool. Would you test the attached diff? It is based on the development branch, so it may not apply. -- Ileana Dumitrescu GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354