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

Alexander Graf agraf at suse.de
Thu Apr 20 16:09:47 UTC 2017


On 04/11/2017 05:58 AM, Andreas Färber wrote:
> 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.

Simon, you introduced the efi crt0. Any idea what could be going wrong?


Alex



More information about the U-Boot mailing list