[U-Boot] arch/arm/lib/crt0_arm_efi.o build errors

Andreas Färber afaerber at suse.de
Tue Apr 11 03:58:01 UTC 2017


Hello,

In our OBS builds I occasionally see the following build failure with,
e.g., -j 2, which seems to hint at a missing Makefile dependency somewhere:

> [  234s]   CC      lib/efi_loader/helloworld.o
> [  234s] make[2]: *** No rule to make target 'arch/arm/lib/crt0_arm_efi.o', needed by 'lib/efi_loader/helloworld.so'.  Stop.
> [  234s] make[2]: *** Waiting for unfinished jobs....
> [  234s] make[1]: *** [scripts/Makefile.build:425: lib/efi_loader] Error 2
> [  234s] make: *** [Makefile:1234: lib] Error 2
> [  234s] make: *** Waiting for unfinished jobs....
> [  234s]   CC      arch/arm/lib/cache-cp15.o
> [  234s]   CC      arch/arm/lib/psci-dt.o
> [  235s]   AS      arch/arm/lib/ashldi3.o
> [  235s]   AS      arch/arm/lib/ashrdi3.o
> [  235s]   CC      arch/arm/lib/div0.o
> [  235s]   AS      arch/arm/lib/div64.o
> [  235s]   AS      arch/arm/lib/lib1funcs.o
> [  235s]   AS      arch/arm/lib/lshrdi3.o
> [  235s]   AS      arch/arm/lib/muldi3.o
> [  235s]   AS      arch/arm/lib/uldivmod.o
> [  235s]   CC      arch/arm/lib/eabi_compat.o
> [  235s]   AS      arch/arm/lib/crt0_arm_efi.o

Here it built okay, but too late for helloworld.o.

> [  235s]   CC      arch/arm/lib/reloc_arm_efi.o
> [  235s]   LD      arch/arm/lib/built-in.o
> [  235s]   AR      arch/arm/lib/lib.a
> [  236s] error: Bad exit status from /var/tmp/rpm-tmp.3J9RiO (%build)

Happens for various defconfigs, hard to reproduce.

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)


More information about the U-Boot mailing list