Uboot non-deterministic compilation error on imx7ulp

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uboot non-deterministic compilation error on imx7ulp

465 Views
arthur_rythm
Contributor III

Hi,

I have a compilation error with the uboot for imx7ulp. The error is not determinist... I need to build my uboot several times to reproduce the error. I used to have a retry in my build to avoid this annoying problem. But I was thinking that it will be great to backport a fix for this issue for Christmas. It will be a nice gift. On my last test, he took me 176 tries to reproduce the error...  Probably an issue related to the parallelization during the build process? A synchro issue?

I build the uboot with buildroot. 

my uboot tag : rel_imx_4.14.98_2.3.0

my defconfig :mx7ulp_10x10_arm2_lpddr3

log of the error :

| ^~~
CC lib/strto.o
CC lib/strmhz.o
LD lib/built-in.o
CC examples/standalone/stubs.o
CC examples/standalone/hello_world.o
LD examples/standalone/libstubs.o
LD examples/standalone/hello_world
OBJCOPY examples/standalone/hello_world.srec
OBJCOPY examples/standalone/hello_world.bin
LD u-boot
OBJCOPY u-boot-nodtb.bin
OBJCOPY u-boot.srec
SYM u-boot.sym
DTC arch/arm/dts/imx7ulp-evk.dtb
DTC arch/arm/dts/imx7ulp-evk-emmc.dtb
DTC arch/arm/dts/imx7ulp-evk-qspi.dtb
DTC arch/arm/dts/imx7ulp-atto.dtb
DTC arch/arm/dts/imx7ulp-14x14-arm2.dtb
make[4]: « arch/arm/dts/imx7ulp-xxxx.dtb » est à jour.
SHIPPED dts/dt.dtb
FDTGREP dts/dt-spl.dtb
CAT u-boot-dtb.bin
COPY u-boot.dtb
COPY u-boot.bin
CFGS board/freescale/mx7ulp_arm2/imximage_lpddr3.cfg.cfgtmp
CFGS board/freescale/mx7ulp_arm2/imximage_lpddr3.cfg.cfgtmp
mv: impossible d'évaluer 'board/freescale/mx7ulp_arm2/.imximage_lpddr3.cfg.cfgtmp.tmp': Aucun fichier ou dossier de ce type
MKIMAGE u-boot-dtb.imx
make[3]: *** [arch/arm/mach-imx/Makefile:100 : board/freescale/mx7ulp_arm2/imximage_lpddr3.cfg.cfgtmp] Erreur 1
make[2]: *** [Makefile:912 : u-boot.imx] Erreur 2
make[2]: *** Attente des tâches non terminées....
make[1]: *** [package/pkg-generic.mk:250 : /home/arthur/work/buildroot/xxxxxx_dev/output/build/uboot-xxxxx_imx_v2018.03_4.14.98_2.3.0_v17/.stamp_built] Erreur 2
make: *** [Makefile:84 : _all] Erreur 2
Compilation error

Anyone could point me to a fix to this error ? 

Thanks,

Arthur.

Labels (1)
Tags (3)
0 Kudos
1 Reply

458 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello arthur,

 

Sorry, we can not reproduce the issue, is possible that could be due to maybe you have a task in your host at the moment of compiling

 

Regards

0 Kudos