Hi, I am Pierre Labastie, one of the editors of the "Linux from Scratch" project.
The failure is seen in coreutils-9.3 when running configure with --host different from --build: ------- checking whether MB_CUR_MAX is correct... configure: error: in '/home/pierre/build/LFS-ESS/sources/coreutils-9.3': configure: error: cannot run test program while cross compiling See 'config.log' for more details -------- and config.log has: -------- configure:31510: checking whether MB_CUR_MAX is correct configure:31526: error: in '/home/pierre/build/LFS-ESS/sources/coreutils-9.3': configure:31528: error: cannot run test program while cross compiling -------- configure around line 31510 is the part added in stdlib_h.m4 at commit 27857e3. I suspect there should be a "if test $cross_compiling = no" somewhere before the AC_RUN_IFELSE, but I don't know m4 well enough to propose a patch. Regards Pierre Please CC me, I am not subscribed