From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Cc: Daniel Lang <dalang@gmx.at>
Subject: [Buildroot] [PATCH 3/3] package/llvm-project: bump version to 23.1.0
Date: Mon, 7 Sep 2026 17:53:44 +0200 [thread overview]
Message-ID: <20260907155344.3755749-3-bernd@kuhls.net> (raw)
In-Reply-To: <20260907155344.3755749-1-bernd@kuhls.net>
https://discourse.llvm.org/t/llvm-23-1-0-released/91654
Removed compiler-rt patch which is included in this release.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
...0001-libc-Fix-detection-of-cfloat128.patch | 70 -------------------
package/llvm-project/llvm-project.hash | 4 +-
package/llvm-project/llvm-project.mk | 4 +-
3 files changed, 4 insertions(+), 74 deletions(-)
delete mode 100644 package/llvm-project/compiler-rt/0001-libc-Fix-detection-of-cfloat128.patch
diff --git a/package/llvm-project/compiler-rt/0001-libc-Fix-detection-of-cfloat128.patch b/package/llvm-project/compiler-rt/0001-libc-Fix-detection-of-cfloat128.patch
deleted file mode 100644
index 4587dbfd7d..0000000000
--- a/package/llvm-project/compiler-rt/0001-libc-Fix-detection-of-cfloat128.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-From 4e1af872f819782bd233ab21953ab92cf36ff9c3 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <bernd@kuhls.net>
-Date: Mon, 9 Mar 2026 19:07:10 +0100
-Subject: [PATCH] [libc] Fix detection of cfloat128
-
-Building compiler-rt with aarch64-buildroot-linux-gnu-gcc 15.2 causes a
-build error:
-
-compiler-rt-22.1.0/cmake/Modules/../../libc/src/__support/CPP/type_traits/is_complex.h:44:31:
- error: 'cfloat128' was not declared in this scope; did you mean 'float128'? [-Wtemplate-body]
-
-According to https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc/Floating-Types.html
-__float128 is not available on aarch64.
-
-Analyzing the gcc defines for aarch64 seems to prove it:
-
-$ aarch64-buildroot-linux-gnu-gcc -v
-Target: aarch64-buildroot-linux-gnu
-gcc version 15.2.0 (Buildroot 2026.02-114-gdadec9da56)
-
-$ echo | aarch64-buildroot-linux-gnu-gcc -dM -E - | grep __GCC_IEC_559_COMPLEX
- #define __GCC_IEC_559_COMPLEX 2
-
-$ echo | aarch64-buildroot-linux-gnu-gcc -dM -E - | grep __STDC_IEC_60559_COMPLEX__
- #define __STDC_IEC_60559_COMPLEX__ 201404L
-
-$ echo | aarch64-buildroot-linux-gnu-gcc -dM -E - | grep -i float128
-$
-
-In contrast gcc for x86_64:
-
-$ x86_64-buildroot-linux-gnu-gcc -v
-Target: x86_64-buildroot-linux-gnu
-gcc version 15.2.0 (Buildroot 2026.02-112-gd12ac02486)
-
-$ echo | x86_64-buildroot-linux-gnu-gcc -dM -E - | grep __GCC_IEC_559_COMPLEX
- #define __GCC_IEC_559_COMPLEX 2
-
-$ echo | x86_64-buildroot-linux-gnu-gcc -dM -E - | grep __STDC_IEC_60559_COMPLEX__
- #define __STDC_IEC_60559_COMPLEX__ 201404L
-
-$ echo | x86_64-buildroot-linux-gnu-gcc -dM -E - | grep -i float128
- #define __SIZEOF_FLOAT128__ 16
-
-This patch changes the or-condition to an and-condition for
-__STDC_IEC_60559_COMPLEX__ and __SIZEOF_FLOAT128__.
-
-Upstream: https://github.com/llvm/llvm-project/pull/185486
-
-Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
----
- libc/include/llvm-libc-macros/cfloat128-macros.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libc/include/llvm-libc-macros/cfloat128-macros.h b/libc/include/llvm-libc-macros/cfloat128-macros.h
-index 5f28cfa21aae..ff4aa530685d 100644
---- a/libc/include/llvm-libc-macros/cfloat128-macros.h
-+++ b/libc/include/llvm-libc-macros/cfloat128-macros.h
-@@ -27,7 +27,7 @@
- #define LIBC_TYPES_HAS_CFLOAT128
- #endif
- #elif defined(__GNUC__)
--#if (defined(__STDC_IEC_60559_COMPLEX__) || defined(__SIZEOF_FLOAT128__)) && \
-+#if (defined(__STDC_IEC_60559_COMPLEX__) && defined(__SIZEOF_FLOAT128__)) && \
- (__GNUC__ >= 13 || (!defined(__cplusplus)))
- #define LIBC_TYPES_HAS_CFLOAT128
- #endif
---
-2.47.3
-
diff --git a/package/llvm-project/llvm-project.hash b/package/llvm-project/llvm-project.hash
index 96cdd76c92..35aa544014 100644
--- a/package/llvm-project/llvm-project.hash
+++ b/package/llvm-project/llvm-project.hash
@@ -1,4 +1,4 @@
-# From https://github.com/llvm/llvm-project/releases/tag/llvmorg-22.1.8
-sha256 922f1817a0df7b1489272d18134ee0087a8b068828f87ac63b9861b1a9965888 llvm-project-22.1.8.src.tar.xz
+# From https://github.com/llvm/llvm-project/releases/tag/llvmorg-23.1.0
+sha256 ab1f0e3ec52448c33e8782eaf0422504b87c7b016b22514653ee0d8fcee479ff llvm-project-23.1.0.src.tar.xz
# locally calculated
sha256 8d85c1057d742e597985c7d4e6320b015a9139385cff4cbae06ffc0ebe89afee LICENSE.TXT
diff --git a/package/llvm-project/llvm-project.mk b/package/llvm-project/llvm-project.mk
index 5cbbda6e06..31b2a4dae7 100644
--- a/package/llvm-project/llvm-project.mk
+++ b/package/llvm-project/llvm-project.mk
@@ -4,8 +4,8 @@
#
################################################################################
-LLVM_PROJECT_VERSION_MAJOR = 22
-LLVM_PROJECT_VERSION = $(LLVM_PROJECT_VERSION_MAJOR).1.8
+LLVM_PROJECT_VERSION_MAJOR = 23
+LLVM_PROJECT_VERSION = $(LLVM_PROJECT_VERSION_MAJOR).1.0
LLVM_PROJECT_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLVM_PROJECT_VERSION)
LLVM_PROJECT_SOURCE = llvm-project-$(LLVM_VERSION).src.tar.xz
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-09-07 15:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 15:53 [Buildroot] [PATCH 1/3] package/spirv-{headers, tools}: bump to version 1.4.357.0 Bernd Kuhls
2026-09-07 15:53 ` [Buildroot] [PATCH 2/3] package/spirv-llvm-translator: bump version to 23.1.1 Bernd Kuhls
2026-09-07 15:53 ` Bernd Kuhls [this message]
2026-09-09 21:05 ` [Buildroot] [PATCH 3/3] package/llvm-project: bump version to 23.1.0 Julien Olivain via buildroot
2026-09-20 10:31 ` Julien Olivain via buildroot
2026-09-20 10:29 ` [Buildroot] [PATCH 1/3] package/spirv-{headers, tools}: bump to version 1.4.357.0 Julien Olivain via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260907155344.3755749-3-bernd@kuhls.net \
--to=bernd@kuhls.net \
--cc=buildroot@buildroot.org \
--cc=dalang@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.