From: Heinrich Schuchardt Date: Mon, 22 Jul 2019 08:10:22 +0200 Subject: [U-Boot] U-Boot build error when switch different SoC without clean In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 7/22/19 6:47 AM, Bin Meng wrote: > On Mon, Jul 22, 2019 at 11:10 AM Kever Yang wrote: >> >> 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.so >> lib/efi_loader/efi_crt0.o: file not recognized: File format not recognized >> CC lib/strto.o >> scripts/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 >> > > +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