[PATCH 1/4] sandbox: make CC_HAS_LINUX_I386_SUPPORT depend on GCC

Sascha Hauer s.hauer at pengutronix.de
Mon Feb 17 03:19:10 PST 2025


On Mon, 17 Feb 2025 11:46:08 +0100, Ahmad Fatoum wrote:
> CC_HAS_LINUX_I386_SUPPORT enables build for 32-bit with a 64-bit GCC
> toolchain. This seems not to work correctly on clang:
> 
>   CC      arch/sandbox/os/common.o
>   In file included from arch/sandbox/os/common.c:23:
>   In file included from /usr/lib/llvm-16/lib/clang/16/include/limits.h:21:
>   /usr/include/limits.h:26:10: fatal error:
>                                'bits/libc-header-start.h' file not found
>   #include <bits/libc-header-start.h>
> 
> [...]

Applied, thanks!

[1/4] sandbox: make CC_HAS_LINUX_I386_SUPPORT depend on GCC
      https://git.pengutronix.de/cgit/barebox/commit/?id=15af5003ba06 (link may not be stable)
[2/4] Makefile: clang: fix typo in -Wno-typdef-redefinition flag
      https://git.pengutronix.de/cgit/barebox/commit/?id=35309a815da3 (link may not be stable)
[3/4] kbuild: actually include Makefile.clang for clang builds
      https://git.pengutronix.de/cgit/barebox/commit/?id=c5370032370a (link may not be stable)
[4/4] Makefile: clang: fail non-sandbox LLVM builds early
      https://git.pengutronix.de/cgit/barebox/commit/?id=aaea175ad00f (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list