Dear Xavier Roche:
We check the patch you descripted blow,then we merge the diff in b/meta-tizen/meta-tizen-adaptation/meta/recipes-kernel/linux/linux-yocto/i586/defconfig by manual and build ‘linux-yocto’ model successfully, thanks a lot ~ ~.
However, we don't merge the patch by git command,due to when we get 351485f331a0cbf60049e89ac1c6c23425d3ba4e patch,new problem occurs(showing below),and we test many patchs after you recommend one,we think more changes in this patch had been merged and not test well, so there is stable patch for Tizen-common ?
Errors when we git rest to patch:
| autoreconf: running: automake --add-missing --copy --force-missing
| configure.ac:965: error: required file 'html/Makefile.in' not found
| configure.ac:965: error: required file 'html/images/Makefile.in' not found
| configure.ac:965: error: required file 'html/man/Makefile.in' not found
| contrib/addtiffo/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
| contrib/dbs/Makefile.am:43: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
| contrib/iptcutil/Makefile.am:35: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
| test/Makefile.am:185: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
| tools/Makefile.am:138: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
| autoreconf: automake failed with exit status: 1
| ERROR: autoreconf execution failed.
| WARNING: /home/samsung/Yocto/tizen-distro/build-common/tmp-glibc/work/core2-32-oe-linux/tiff/4.0.2-r0/temp/run.do_compile.23855: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/core2-32-oe-linux/tiff/4.0.2-r0/temp/log.do_compile.23855)
ERROR: Task 3283 (/home/samsung/Yocto/tizen-distro/meta-tizen/meta-tizen-common-base/recipes-multimedia/tiff/tiff_git.bb, do_compile) failed with exit code '1'
ps: this error just show the influence when we get full patch to ,not our problems we wante to solved, thanks.
Regards,
Wang Jun
------- Original Message -------
Sender : Xavier Roche<[email protected]>
Date : 二月 09, 2015 19:13 (GMT+08:00)
Title : Re: [Dev] [Ask for help]---Faild to build linux-yocto using Yocto fro tizen Common
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
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]>
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
