[U-Boot] U-Boot build issue

Marek Vasut marek.vasut at gmail.com
Wed Jun 26 16:55:18 CEST 2013


Hi,

remember when the Jenkins was failing on random targets and the log always 
contained this message, where it stated it can't compile some object file due to 
missing dependency, whose path was "trimmed" ?

See this log from my machine:

marex at bfu:~/U-Boot/u-boot-imx$ bash ../compile/compile-xfi3.sh >/dev/null 
make[2]: *** No rule to make target `/home/mar', needed by `/home/marex/U-
Boot/u-boot-imx/spl/arch/arm/cpu/arm926ejs/mxs/spl_power_init.o'.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/home/marex/U-Boot/u-boot-
imx/spl/arch/arm/cpu/arm926ejs/mxs/libmxs.o] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [spl/u-boot-spl.bin] Error 2
make: *** Waiting for unfinished jobs....

marex at bfu:~/U-Boot/u-boot-imx$ bash ../compile/compile-xfi3.sh >/dev/null

marex at bfu:~/U-Boot/u-boot-imx$ cat ../compile/compile-xfi3.sh
export 
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/mnt/work/elftosb-10.12.01/bld/linux/
make CROSS_COMPILE=arm-linux-gnueabi- clean mrproper
make CROSS_COMPILE=arm-linux-gnueabi- xfi3_config
make CROSS_COMPILE=arm-linux-gnueabi- -j9 u-boot.sb
marex at bfu:~/U-Boot/u-boot-imx$ pwd
/home/marex/U-Boot/u-boot-imx

So, I am compiling in /home/marex/U-Boot/u-boot-imx (in-tree build) using the 
above commands. First run failed, any subsequent run did not. And the first run 
failed because it was missing this "/home/mar" dependency. It's exactly the same 
as when Jenkins failed at these random targets.

I cannot reliably reproduce this bug, but it seems to be quite a slimy one. The 
grease is dripping down it's body.

Any ideas?

Thanks!

btw. tool versions:

marex at bfu:~/U-Boot/u-boot-imx$ arm-linux-gnueabi-gcc --version
arm-linux-gnueabi-gcc (Debian 4.8.0-7) 4.8.0
[...]
marex at bfu:~/U-Boot/u-boot-imx$ arm-linux-gnueabi-ld --version
GNU ld (GNU Binutils for Debian) 2.23.52.20130612
[...]
marex at bfu:~/U-Boot/u-boot-imx$ make --version
GNU Make 3.81

This program built for x86_64-pc-linux-gnu


More information about the U-Boot mailing list