[U-Boot] U-Boot build issue

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@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@bfu:~/U-Boot/u-boot-imx$ bash ../compile/compile-xfi3.sh >/dev/null
marex@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@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@bfu:~/U-Boot/u-boot-imx$ arm-linux-gnueabi-gcc --version arm-linux-gnueabi-gcc (Debian 4.8.0-7) 4.8.0 [...] marex@bfu:~/U-Boot/u-boot-imx$ arm-linux-gnueabi-ld --version GNU ld (GNU Binutils for Debian) 2.23.52.20130612 [...] marex@bfu:~/U-Boot/u-boot-imx$ make --version GNU Make 3.81
This program built for x86_64-pc-linux-gnu

Dear Marek,
In message 201306261655.18605.marek.vasut@gmail.com you wrote:
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" ?
...
btw. tool versions:
marex@bfu:~/U-Boot/u-boot-imx$ arm-linux-gnueabi-gcc --version arm-linux-gnueabi-gcc (Debian 4.8.0-7) 4.8.0 [...] marex@bfu:~/U-Boot/u-boot-imx$ arm-linux-gnueabi-ld --version GNU ld (GNU Binutils for Debian) 2.23.52.20130612
Does it happen with ELDK, too?
marex@bfu:~/U-Boot/u-boot-imx$ make --version GNU Make 3.81
Does it hapen with a recent version of make, too? [That would be the first thing to check, me thinks].
Best regards,
Wolfgang Denk

Dear Wolfgang Denk,
Dear Marek,
In message 201306261655.18605.marek.vasut@gmail.com you wrote:
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" ?
...
btw. tool versions:
marex@bfu:~/U-Boot/u-boot-imx$ arm-linux-gnueabi-gcc --version arm-linux-gnueabi-gcc (Debian 4.8.0-7) 4.8.0 [...] marex@bfu:~/U-Boot/u-boot-imx$ arm-linux-gnueabi-ld --version GNU ld (GNU Binutils for Debian) 2.23.52.20130612
Does it happen with ELDK, too?
Yes, because Jenkins uses ELDK and no other toolchain to build-test U-Boot .
marex@bfu:~/U-Boot/u-boot-imx$ make --version GNU Make 3.81
Does it hapen with a recent version of make, too? [That would be the first thing to check, me thinks].
It happens with make 3.82 , yes .
Best regards, Marek Vasut

Dear Wolfgang Denk, [...]
OUT-OF-TREE BUILD: powerpc___a3m071 eldk5.2 Configuring for a3m071 board... make[1]: *** [/opt/work/jenkins/jobs/U-Boot___u- boot_master/workspace/workspace/compiler/eldk5.2/device/powerpc___a3m071/UBOOT_BUILD/spl/arch/powerpc/cpu/mpc5xxx/libmpc5xxx.o] Error 2 make: *** [/opt/work/jenkins/jobs/U-Boot___u- boot_master/workspace/workspace/compiler/eldk5.2/device/powerpc___a3m071/UBOOT_BUILD/spl/u- boot-spl.bin] Error 2 text data bss dec hex filename 333369 12004 27744 373117 5b17d /opt/work/jenkins/jobs/U-Boot___u- boot_master/workspace/workspace/compiler/eldk5.2/device/powerpc___a3m071/UBOOT_BUILD/u- boot make[2]: *** No rule to make target `/opt/work/jenkins/jobs/U-Boot___u- boot_master/workspace/workspace/compiler/eldk5.2/de', needed by `/opt/work/jenkins/jobs/U-Boot___u- boot_master/workspace/workspace/compiler/eldk5.2/device/powerpc___a3m071/UBOOT_BUILD/spl/arch/powerpc/cpu/mpc5xxx/cpu_init.o'. Stop. make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/opt/work/jenkins/jobs/U-Boot___u- boot_master/workspace/workspace/compiler/eldk5.2/device/powerpc___a3m071/UBOOT_BUILD/spl/arch/powerpc/cpu/mpc5xxx/libmpc5xxx.o] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [/opt/work/jenkins/jobs/U-Boot___u- boot_master/workspace/workspace/compiler/eldk5.2/device/powerpc___a3m071/UBOOT_BUILD/spl/u- boot-spl.bin] Error 2
--------------------- SUMMARY ---------------------------- Boards compiled: 1 Boards with errors: 1 ( a3m071 ) ----------------------------------------------------------
ELDK 5.2 , powerpc board ... notice the path is again "trimmed" . Ok, this seems to be enough proof something is not right.
Best regards, Marek Vasut

On Thu, Jun 27, 2013 at 01:21:04PM +0200, Marek Vasut wrote:
Dear Wolfgang Denk, [...]
OUT-OF-TREE BUILD: powerpc___a3m071 eldk5.2 Configuring for a3m071 board... make[1]: *** [/opt/work/jenkins/jobs/U-Boot___u- boot_master/workspace/workspace/compiler/eldk5.2/device/powerpc___a3m071/UBOOT_BUILD/spl/arch/powerpc/cpu/mpc5xxx/libmpc5xxx.o] Error 2
[snip]
ELDK 5.2 , powerpc board ... notice the path is again "trimmed" . Ok, this seems to be enough proof something is not right.
What's your host distro?

Dear Tom Rini,
On Thu, Jun 27, 2013 at 01:21:04PM +0200, Marek Vasut wrote:
Dear Wolfgang Denk, [...]
OUT-OF-TREE BUILD: powerpc___a3m071 eldk5.2 Configuring for a3m071 board... make[1]: *** [/opt/work/jenkins/jobs/U-Boot___u- boot_master/workspace/workspace/compiler/eldk5.2/device/powerpc___a3m071/ UBOOT_BUILD/spl/arch/powerpc/cpu/mpc5xxx/libmpc5xxx.o] Error 2
[snip]
ELDK 5.2 , powerpc board ... notice the path is again "trimmed" . Ok, this seems to be enough proof something is not right.
What's your host distro?
Debian testing/jessie , I keep it up-to-date. For Jenkins, it's fedora 17 (I think).
Best regards, Marek Vasut
participants (4)
-
Marek Vasut
-
Marek Vasut
-
Tom Rini
-
Wolfgang Denk