In configure, the option ${HOST_CC_ARCH} was removed from ${CC}: --------------- |configure:2188: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options |configure:2284: testing resulting CC: 'arm-poky-linux-gnueabi-gcc --sysroot=tmp/work/cortexa8hf-neon-poky-linux-gnueabi/ncurses/ 6.0+20161126-r0/recipe-sysroot' ---------------
While arm compiling, option "-mfloat-abi=hard" in ${HOST_CC_ARCH} lost that caused the failure: --------------- |tmp/work/cortexa8hf-neon-poky-linux-gnueabi/ncurses/6.0+20161126-r0/ recipe-sysroot/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory | # include <gnu/stubs-soft.h> --------------- Append ${HOST_CC_ARCH} to ${CFLAGS} could fix the issue. Signed-off-by: Hongxu Jia <hongxu....@windriver.com> --- meta/recipes-core/ncurses/ncurses_6.0+20161126.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/ncurses/ncurses_6.0+20161126.bb b/meta/recipes-core/ncurses/ncurses_6.0+20161126.bb index 7328e78..af75044 100644 --- a/meta/recipes-core/ncurses/ncurses_6.0+20161126.bb +++ b/meta/recipes-core/ncurses/ncurses_6.0+20161126.bb @@ -8,3 +8,5 @@ SRCREV = "3db0bd19cb50e3d9b4f2cf15b7a102fe11302068" S = "${WORKDIR}/git" EXTRA_OECONF += "--with-abi-version=5" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(\+\d+)*)" + +CFLAGS += "${HOST_CC_ARCH}" -- 2.8.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core