+4
−0
Loading
-nostdlib drops crt/libs but not clang's default -L dirs, so a -lfoo
missing from the sysroot resolved to the host's glibc-built
/lib/x86_64-linux-gnu/libfoo.so (cmlibarchive's CHECK_LIBRARY_EXISTS(md)
passed via the host libmd while find_library() saw nothing). chroot
lives in /usr/sbin, which a non-root user's PATH often lacks.
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>