[U-Boot] help on using buildman
Simon Glass
sjg at chromium.org
Fri Nov 21 05:14:02 CET 2014
+Masahiro who may have some ideas
Hi York,
On 21 November 2014 00:35, York Sun <yorksun at freescale.com> wrote:
> On 11/20/2014 02:25 PM, York Sun wrote:
>> Not sure if this is still buildman related, but only visible when running with
>> buildman.
>
> Simon,
>
> It seems related to out-of-tree building.
>
> For the failure case, the dependency "include/config/uboot.release" completes
> but not continue to run. It seems to be related to out of tree building. When I
> use buildman, it use out-of-tree building by default. I can reproduce the issue
> by using make directly with O=<path>. I don't understand how out-of-tree
> building would inconsistently fail.
>
>
> -bash-3.2$
> CROSS_COMPILE=/opt/fsl-networking/QorIQ-SDK-V1.4/sysroots/x86_64-fsl_networking_sdk-linux/usr/bin/ppce500mc-fsl_networking-linux/powerpc-fsl_networking-linux-
> make -j24 O=../working_upstream_qoriq/ mrproper MPC832XEMDS_HOST_66_defconfig all
> make[1]: Entering directory
> `/local/jenkins/jobs/york-scm-test-upstream-before-requesting-pull/working_upstream_qoriq'
> CLEAN tools
> CLEAN tools/lib tools/common
> CLEAN scripts/basic
> CLEAN scripts/kconfig
> CLEAN u-boot.lds
> CLEAN include/config include/generated
> CLEAN .config include/autoconf.mk include/autoconf.mk.dep include/config.h
> HOSTCC scripts/basic/fixdep
> GEN ./Makefile
> HOSTCC scripts/kconfig/conf.o
> SHIPPED scripts/kconfig/zconf.tab.c
> SHIPPED scripts/kconfig/zconf.lex.c
> SHIPPED scripts/kconfig/zconf.hash.c
> HOSTCC scripts/kconfig/zconf.tab.o
> /local/jenkins/jobs/york-scm-test-upstream-before-requesting-pull/workspace/scripts/kconfig/menu.c:
> In function ‘get_symbol_str’:
> /local/jenkins/jobs/york-scm-test-upstream-before-requesting-pull/workspace/scripts/kconfig/menu.c:551:
> warning: ‘jump’ may be used uninitialized in this function
> HOSTLD scripts/kconfig/conf
> #
> # configuration written to .config
> #
> GEN ./Makefile
> scripts/kconfig/conf --silentoldconfig Kconfig
> CHK include/config.h
> UPD include/config.h
> GEN include/autoconf.mk
> GEN include/autoconf.mk.dep
> CHK include/config/uboot.release
> GEN ./Makefile
> CHK include/generated/timestamp_autogenerated.h
> make[2]: *** No rule to make target
> `/local/jenkins/jobs/york-scm-test-upstream-before-requesting-pull/workspace/arch//cpu/u-boot.lds',
> needed by `u-boot.lds'. Stop.
> make[2]: *** Waiting for unfinished jobs....
> UPD include/generated/timestamp_autogenerated.h
> UPD include/config/uboot.release
> make[1]: *** [__build_one_by_one] Error 2
> make[1]: Leaving directory
> `/local/jenkins/jobs/york-scm-test-upstream-before-requesting-pull/working_upstream_qoriq'
> make: *** [sub-make] Error 2
>
>
>
> For the passed case, the log is
>
> -bash-3.2$
> CROSS_COMPILE=/opt/fsl-networking/QorIQ-SDK-V1.4/sysroots/x86_64-fsl_networking_sdk-linux/usr/bin/ppce500mc-fsl_networking-linux/powerpc-fsl_networking-linux-
> make -j24 O=../working_upstream_qoriq/ mrproper MPC832XEMDS_HOST_66_defconfig all
> make[1]: Entering directory
> `/local/jenkins/jobs/york-scm-test-upstream-before-requesting-pull/working_upstream_qoriq'
> CLEAN scripts/basic
> CLEAN scripts/kconfig
> CLEAN include/config include/generated
> CLEAN .config include/autoconf.mk include/autoconf.mk.dep include/config.h
> HOSTCC scripts/basic/fixdep
> GEN ./Makefile
> HOSTCC scripts/kconfig/conf.o
> SHIPPED scripts/kconfig/zconf.tab.c
> SHIPPED scripts/kconfig/zconf.lex.c
> SHIPPED scripts/kconfig/zconf.hash.c
> HOSTCC scripts/kconfig/zconf.tab.o
> /local/jenkins/jobs/york-scm-test-upstream-before-requesting-pull/workspace/scripts/kconfig/menu.c:
> In function ‘get_symbol_str’:
> /local/jenkins/jobs/york-scm-test-upstream-before-requesting-pull/workspace/scripts/kconfig/menu.c:551:
> warning: ‘jump’ may be used uninitialized in this function
> HOSTLD scripts/kconfig/conf
> #
> # configuration written to .config
> #
> GEN ./Makefile
> scripts/kconfig/conf --silentoldconfig Kconfig
> CHK include/config.h
> UPD include/config.h
> GEN include/autoconf.mk
> GEN include/autoconf.mk.dep
> CHK include/config/uboot.release
> CHK include/generated/timestamp_autogenerated.h
> GEN ./Makefile
> UPD include/generated/timestamp_autogenerated.h
> UPD include/config/uboot.release
> Using
> /local/jenkins/jobs/york-scm-test-upstream-before-requesting-pull/workspace as
> source for U-Boot
> CHK include/generated/version_autogenerated.h
> UPD include/generated/version_autogenerated.h
> CC lib/asm-offsets.s
> GEN include/generated/generic-asm-offsets.h
> LDS u-boot.lds
> HOSTCC tools/envcrc.o
> WRAP tools/lib/crc32.c
> WRAP tools/common/env_embedded.c
> WRAP tools/lib/sha1.c
> HOSTCC tools/gen_eth_addr
> HOSTCC tools/img2srec
> HOSTCC tools/mkenvimage.o
> HOSTCC tools/os_support.o
> (and keep going)
This may be unrelated to buildman, but to check you can use the -i
flag to enable an in-tree build.
Regards,
Simon
More information about the U-Boot
mailing list