* Bernhard Voelker <[email protected]>: | > 8.30/usr/bin/sort: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by 8.30/usr/bin/sort) | > | > /lib/x86_64-linux-gnu/libc.so.6 is from the host glibc 2.24, and | > 8.30/usr/bin/* are the target binaries, where the $ARCH is same | > (x86_64 = x86_64), but glibc version differs (2.24 != 2.28).
| This sounds more like bootstrapping a system (a la Linux-from-scratch) | than cross-compiling. Yes, bootstrapping, but in both cases important not to call the compiled binaries, since the host system may be not compatible with the target (glibc mismatch or arch mismatch). | TBH, I don't know too much about this, but I could imagine that one usually | needs to point LD_LIBRARY_PATH to the newer glibc at some point, | right? If you want execute the compiled binaries only. | Back to the patch - does the attached work for you? This version: https://lists.gnu.org/archive/html/coreutils/2018-10/msg00015.html
