On Wed, Sep 4, 2019 at 12:46 PM Alex <wailingoctopus@xxxxxxxxx> wrote: > .../$TARGET-ld cannot find /home/alex/sysroot/usr/lib/libc.so.6 inside > /home/alex/sysroot This usually indicates a glibc configure error. When you configured glibc, target paths are relative to the sysroot, but you probably did something like set libdir to $(sysroot)/usr/lib when it should have been just /usr/lib instead, so now the linker is looking for a file $(sysroot)/usr/lib/X inside $(sysroot), when it should have been looking for the file /usr/lib/X inside $(sysroot). Jim