Hi Fang,
This issue has already been reported and fixed.
Please fetch the meta-tizen repo, you will find the
351485f331a0cbf60049e89ac1c6c23425d3ba4e commit that actually fixes this.
(the patch has also been reported to tizen-distro repo, so that fetch it
will also fix the issue)
Let me know if that do the trick...
Regards,
--
Xavier Roche
Intel Open Source Technology Center
On 07/02/2015 07:09, jianzhong fang wrote:
Samsung Enterprise Portal mySingle
Hi all,
These days we try to build the image of Tizen common on Yocto
platform, the target is ‘genericx86’.
when start to build the ‘linux-yocto’ model,some error occured.
Due to the lack of experience in yocto,we are asking for help to
analyze the reason.
Thanks ~, Jianzhong
=======================================================================================================================================================================
Environment:
tizen-distro branch:
/commit 4a7b826daea8373bbc2845a49a33fc5be24af5b8/
/Author: Patrick Ohly <//[email protected]
<mailto:[email protected]>//>/
/Date: Fri Jan 23 01:36:12 2015 -0800/
/tizen-distro: pull meta-tizen from "master" branch/
/As discussed in //https://bugs.tizen.org/jira/browse/TC-1964//using/
/the "master" branch and not maintaining a "tizen" branch with/
/identical content for meta-tizen makes more sense./
=======================================================================================================================================================================
The failed log show below.
DEBUG: Executing shell function do_compile
NOTE: make -j 4 bzImage CC=i586-oe-linux-gcc LD=i586-oe-linux-ld.bfd
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux/arch/x86/Makefile:119:
stack-protector enabled but compiler support broken
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux/Makefile:608:
Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not
supported by compiler
make[3]: Nothing to be done for 'all'.
CHK include/config/kernel.release
GEN
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux-genericx86-standard-build/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/devicetable-offsets.s
CC scripts/mod/empty.o
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux/scripts/mod/empty.c:1:0:error:
code model 'kernel' not supported in the 32 bit mode
/* empty file to figure out endianness / word size */
^
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux/scripts/mod/devicetable-offsets.c:1:0:
error: code model 'kernel' not supported in the 32 bit mode
#include <linux/kbuild.h>
^
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux/scripts/mod/devicetable-offsets.c:1:0:
sorry,unimplemented: 64-bit mode not compiled in
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux/scripts/mod/empty.c:1:0:
sorry, unimplemented: 64-bit mode not compiled in
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux/scripts/Makefile.build:204:
recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[4]: *** [scripts/mod/devicetable-offsets.s] Error 1
make[4]: *** Waiting for unfinished jobs....
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux/scripts/Makefile.build:308:
recipe for target'scripts/mod/empty.o' failed
make[4]: *** [scripts/mod/empty.o] Error 1
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux/scripts/Makefile.build:455:
recipe for target 'scripts/mod'failed
make[3]: *** [scripts/mod] Error 2
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/linux/Makefile:527:
recipe for target 'scripts' failed
make[2]: *** [scripts] Error 2
Makefile:133: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: oe_runmake failed
WARNING:
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/temp/run.do_compile.8253:1
exit 1 from
exit 1
ERROR: Function failed: do_compile (log file is located at
/home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/genericx86-oe-linux/linux-yocto/3.14.19+gitAUTOINC+fb6271a942_902f34d361-r0/temp/log.do_compile.8253)
Best wishes
Jianzhong.Fang
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev