[Bug] Buidling sandbox_vpl_defconfig is unstable

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Jul 31 12:51:51 CEST 2022


Hello Simon,

Something is wrong with building sandbox_vpl_defconfig on Gitlab:

The following build job failed:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/jobs/475640

The following build job succeeded:
https://source.denx.de/u-boot/custodians/u-boot-efi/-/jobs/475673

Best regards

Heinrich


     0    0    0 /1       -1      (starting)

    sandbox:  +   sandbox_vpl
+/usr/bin/ld: /tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o: in function
`spl_common_init.constprop.0':
+drivers/core/root.c:178: undefined reference to `uclass_head'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_emul0+0x40):
undefined reference to `_u_boot_list_2_uclass_2_i2c_emul'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_emul0+0x58):
undefined reference to `_u_boot_list_2_uclass_2_i2c_emul'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_emul0+0x60):
undefined reference to `_u_boot_list_2_uclass_2_i2c_emul'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_rtc_at_43+0x40):
undefined reference to `_u_boot_list_2_uclass_2_rtc'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_rtc_at_43+0x58):
undefined reference to `_u_boot_list_2_uclass_2_rtc'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_rtc_at_43+0x60):
undefined reference to `_u_boot_list_2_uclass_2_rtc'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_emul+0x40):
undefined reference to `_u_boot_list_2_uclass_2_i2c_emul_parent'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_emul+0x58):
undefined reference to `_u_boot_list_2_uclass_2_i2c_emul_parent'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_emul+0x60):
undefined reference to `_u_boot_list_2_uclass_2_i2c_emul_parent'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_clk_test+0x40):
undefined reference to `_u_boot_list_2_uclass_2_misc'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_clk_test+0x58):
undefined reference to `_u_boot_list_2_uclass_2_misc'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_clk_test+0x60):
undefined reference to `_u_boot_list_2_uclass_2_misc'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_i2c_at_0+0x40):
undefined reference to `_u_boot_list_2_uclass_2_i2c'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_i2c_at_0+0x58):
undefined reference to `_u_boot_list_2_uclass_2_i2c'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_i2c_at_0+0x60):
undefined reference to `_u_boot_list_2_uclass_2_i2c'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_clk_sbox+0x40):
undefined reference to `_u_boot_list_2_uclass_2_clk'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_clk_sbox+0x58):
undefined reference to `_u_boot_list_2_uclass_2_clk'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_serial+0x40):
undefined reference to `_u_boot_list_2_uclass_2_serial'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_serial+0x58):
undefined reference to `_u_boot_list_2_uclass_2_serial'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_serial+0x60):
undefined reference to `_u_boot_list_2_uclass_2_serial'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_clk_fixed+0x40):
undefined reference to `_u_boot_list_2_uclass_2_clk'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_clk_fixed+0x60):
undefined reference to `_u_boot_list_2_uclass_2_clk'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_root+0x40):
undefined reference to `_u_boot_list_2_uclass_2_root'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_root+0x58):
undefined reference to `_u_boot_list_2_uclass_2_root'
+/usr/bin/ld:
/tmp/u-boot-tpl.zgGiog.ltrans0.ltrans.o:(__u_boot_list_2_udevice_2_root+0x60):
undefined reference to `_u_boot_list_2_uclass_2_root'
+collect2: error: ld returned 1 exit status
+make[2]: *** [scripts/Makefile.spl:525: tpl/u-boot-tpl] Error 1
+make[1]: *** [Makefile:2130: tpl/u-boot-tpl] Error 2
+make: *** [Makefile:177: sub-make] Error 2


More information about the U-Boot mailing list