U-Boot build error when switch different SoC without clean
Hi,
I always met below error when build latest U-Boot for different board
and defconfig without "make clean", anyone know how to fix this?
LD lib/efi_loader/helloworld_efi.solib/efi_loader/efi_crt0.o: file not recognized: File format not recognized
CC lib/strto.oscripts/Makefile.lib:394: recipe for target 'lib/efi_loader/helloworld_efi.so' failed
make[2]: *** [lib/efi_loader/helloworld_efi.so] Error 1 scripts/Makefile.build:432: recipe for target 'lib/efi_loader' failed make[1]: *** [lib/efi_loader] Error 2
Thanks,
- Kever
Quoted 7 lines · Kever Yang
Hi,
I always met below error when build latest U-Boot for different board
and defconfig without "make clean", anyone know how to fix this?
Quoted 9 lines
LD
lib/efi_loader/helloworld_efi.solib/efi_loader/efi_crt0.o: file not recognized: File format not recognized
CClib/strto.oscripts/Makefile.lib:394: recipe for target 'lib/efi_loader/helloworld_efi.so' failed
make[2]: *** [lib/efi_loader/helloworld_efi.so] Error 1scripts/Makefile.build:432: recipe for target 'lib/efi_loader' failed make[1]: *** [lib/efi_loader] Error 2
+Heinrich who may have some idea.
Regards,
Bin
Quoted 18 lines · Bin Meng
Quoted 7 lines · Kever Yang
Hi,
I always met below error when build latest U-Boot for different board
and defconfig without "make clean", anyone know how to fix this?
Quoted 9 lines
LD
lib/efi_loader/helloworld_efi.solib/efi_loader/efi_crt0.o: file not recognized: File format not recognized
CClib/strto.oscripts/Makefile.lib:394: recipe for target 'lib/efi_loader/helloworld_efi.so' failed
make[2]: *** [lib/efi_loader/helloworld_efi.so] Error 1scripts/Makefile.build:432: recipe for target 'lib/efi_loader' failed make[1]: *** [lib/efi_loader] Error 2
Quoted 5 lines
+Heinrich who may have some idea.
Regards,
Bin
Hello Kever,
could you, please, test if
[PATCH 1/1] efi_loader: always rebuild efi_crt0.o
https://lists.denx.de/pipermail/u-boot/2019-July/377831.html
fixes the reported problem for you.
Best regards
Heinrich