[PATCH v1 1/2] arm64: Remove duplicated symbols

Tom Rini trini at konsulko.com
Thu Jun 1 21:48:48 CEST 2023


On Thu, May 04, 2023 at 03:54:58PM +0800, Leo Yan wrote:

> When build U-boot with clang with using commands:
> 
>   $ make HOSTCC=clang xenguest_arm64_defconfig
>   $ make HOSTCC=clang CROSS_COMPILE=aarch64-linux-gnu- \
> 		CC="clang -target aarch64-linux-gnueabi" -j8
> 
> The compiler reports error:
> 
>   /tmp/start-acdf31.s:330:1: error: symbol '_start' is already defined
>   _start:
>   ^
> 
> Because the symbol '_start' has been defined twice, one is defined in
> arch/arm/cpu/armv8/start.S, another is defined in the header
> boot0-linux-kernel-header.h.
> 
> To fix building failure, this patch removes the symbol '_start' from
> boot0-linux-kernel-header.h.
> 
> Signed-off-by: Leo Yan <leo.yan at linaro.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230601/0798eb4b/attachment.sig>


More information about the U-Boot mailing list