This is an automated email from the ASF dual-hosted git repository. GUIDINGLI pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit dc4a9fb85514e9d6ccd2cb881b22662615f1e076 Author: Xiang Xiao <[email protected]> AuthorDate: Sun Nov 15 18:34:30 2026 +0800 arch/arm: Let ARM_TOOLCHAIN_CLANG depend on !LIBM_TOOLCHAIN again. Commit 8b3bb8c8636 ("libm: Fixing bad dependencies") removed this dependency. Before it, CI configurations that select CONFIG_ARM_TOOLCHAIN_CLANG together with the default LIBM_TOOLCHAIN fell back to GCC. Now they really build with clang (LLVM Embedded Toolchain for Arm 17.0.1 in CI), and many of them fail, for example: - lpcxpresso-lpc54628:twm4nx1: the clang CPP has no --target, so the nxglib and nxfonts sources are generated for the host (__uint128_t). - nucleo-h563zi:nshusbnet: unused function in usbhost_cdcecm.c. - stm32f746g-disco:dropbear: -Wstrict-prototypes in dropbear. The commit message also says that only clang 18 and later have libm, and CI uses clang 17. Put the dependency back until these builds are fixed. Assisted-by: GitHub Copilot:claude-opus-4.8 Signed-off-by: Xiang Xiao <[email protected]> --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 8fa33021655..e5eb807107c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -40,6 +40,7 @@ config ARM_TOOLCHAIN_GNU_OABI config ARM_TOOLCHAIN_CLANG bool "LLVM Clang toolchain" + depends on !LIBM_TOOLCHAIN select ARCH_TOOLCHAIN_CLANG config ARM_TOOLCHAIN_ARMCLANG
