[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
stdlib_h.m4 failure when cross compiling
|
From: |
Pierre Labastie |
|
Subject: |
stdlib_h.m4 failure when cross compiling |
|
Date: |
Thu, 27 Apr 2023 12:10:53 +0200 |
|
User-agent: |
Evolution 3.46.4 |
Hi,
This is Pierre labastie, one of the editors of the "Linux from Scratch" project
The failure is seen when running configure in coreutils-9.3 with build different
from host:
----------
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
----------
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 contains the part added to stdlib_h.m4 at commit
27857e3c. I suspect there is a missing "if test $cross_compiling != yes" or so
before the "AC_RUN_IFELSE" macro, but I don't know m4 enough to submit a patch,
sorry.
Regards
Pierre
- stdlib_h.m4 failure when cross compiling,
Pierre Labastie <=