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 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
Dear Marek,
Quoted 4 lines · In message <[email protected]> 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" ?
...
Quoted 7 lines
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
Does it happen with ELDK, too?
Quoted 2 lines
marex at 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
Signature · 7 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The management question ... is not _whether_ to build a pilot system and throw it away. You _will_ do that. The only question is whether to plan in advance to build a throwaway, or to promise to deliver the throwaway to customers. - Fred Brooks, "The Mythical Man Month"
Dear Wolfgang Denk,
Quoted 11 lines
Dear Marek,
Quoted 3 lines · In message <[email protected]> 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" ?
...
Quoted 2 lines
btw. tool versions:
Quoted 7 lines
Quoted 5 lines
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.20130612Does it happen with ELDK, too?
Yes, because Jenkins uses ELDK and no other toolchain to build-test U-Boot .
Quoted 5 lines
Quoted 2 lines
marex at bfu:~/U-Boot/u-boot-imx$ make --version
GNU Make 3.81Does 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
Quoted 8 lines · Marek Vasut
Dear Wolfgang Denk,
[...]OUT-OF-TREE BUILD:
powerpc___a3m071eldk5.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]
Quoted 2 lines
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?
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130627/eebeb249/attachment.pgp>
Dear Tom Rini,
Quoted 10 lines · Marek Vasut
Quoted 8 lines
Dear Wolfgang Denk,
[...]OUT-OF-TREE BUILD:
powerpc___a3m071eldk5.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
Quoted 6 lines
[snip]
Quoted 2 lines
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