From: Sunil Dora <[email protected]> https://discourse.llvm.org/t/llvm-23-1-1-released/91760
Drop 0035-libc-Disable-float16-on-32-bit-x86-without-SSE2.patch and mark the musl ssp_nonshared driver patch as a backport: both fixes are included in this release. Brings following fixes: 81e03602463b [lldb] Fix SBStructuredData::GetStringValue method (#216875) f1cdfbeb84e9 [X86] Fix NaN handling in minimumnum/maximumnum zero fixup (#217420) b8028f7bf85d Revert "Reland "[Clang] Enable -Wunused-template under -Wall" (#208001)" (#218638) 2c7b58a3bbb1 Use static_pointer_cast to do SyntheticChildrenSP -> ScriptedSyntheticChildrenSP (#216181) 024b86e93451 If the address of the isa_pointer is returned as an error don't ask if it is a tagged pointer (#213163) 2bda8f5daeab [AArch64] Use SDValue to pass to vectorToScalarBitmask. (#218717) ad389cbb46c8 workflows/release-binaries.yml: Only dump the wix logs on failure (#218810) 8956179fa43c [WebAssembly] Avoid same-block dominance walks in RegStackify (NFCI) (#218369) 21cd7726af6f Bump version to 23.1.1 910bfcd7324d [VectorCombine] Fix foldBitcastOfVPLoad reordering loads (#218336) f54a7b77711f [LoongArch] Fix selection of BRCOND with constant conditions (#216027) 490d4ed19d16 [GlobalISel] Fix inverted libcall status check in createFCMPLibcall (#219242) d81f5d210b38 [SLP]Fix narrow-tree gate width and extract miscount 4dea21e892d7 [SLP]Extend GEP pointer-chain cost to casts and non-root external uses aedf7d6749aa [X86] LowerAVXCONCAT_VECTORS - fix some clang-format messiness. NFC. (#218504) 55a6a0bcd3d3 [X86] LowerAVXCONCAT_VECTORS - collect all subvector operands before ReplaceAllUsesWith call (#218381) b085518fcd06 Revert "Revert "workflows/release-binaries: Disable flang on Darwin (#164667)"" (#218978) e86c19d77c9d [Clang] Fix -Wunused-parameter for implicit coroutine uses (#217518) fce01560cee8 [SelectionDAG] Preserve CTTZ_ELTS lane count during expansion (#217982) b201342bdc31 [clang-format] Harden star and amp annotation (#212856) 5f58ba54af5e [lldb][API] Fix SBEnvironment crash when Set is called with a nullptr. (#218906) cefac32eb6ab [DWARFLinker] Walk each shared subtree's dependencies once (#218072) fdf0409c656c [WebAssembly] Avoid scanning unrelated debug values (NFCI) (#218378) 01efbea98550 [sanitizer] Skip hanging tests on FreeBSD (#216703) 03cbe93e71fc [fuzzer] Restrict merge-sigusr.test to Linux (#216702) f39930bce62d [libc] Fix sockatmark test (#210655) 99cfc877e40b [C++20] [Modules] Handling merging predefined decls from std (#219151) ab544f643b09 workflows/release-binaries: Smaller WiX installer on Windows (#219858) 687ecdc1254c Add option to format a whole file using git-clang-format (#204336) 5340f7cc8814 [git-clang-format] Don't format the line preceding a deletion (#215946) 8e1810950d0a [LoongArch] Add omitted LASX patterns for vector extend (#219351) 91d740bac953 release/23.x: Backport '[Clang] Fix C++26 fold expression normalization of PackIndexingExpr' 47bafb752202 [SPARC] Preserve inline asm relocation modifiers (#219971) 2244faf2c16c [WebAssembly] Add funclet bundle to thread local wrapper calls (#213826) 4a09f2722a56 [SCCP] Fix missing worklist push for recursive calls that update lattice values (#219826) 6b358fb914ee [win/asan] GetInstructionSize: Add some more instructions. (#214707) 1943eaf4faa3 [clang][Sema] Check exported default constructors in nested classes (#214275) bf9e7e8d773b [clang][Driver] Link libssp_nonshared.a on musl with stack protector (#219828) 5089f145193d [SPARC] Parse unary complement immediates (#219970) ce68f2870320 [OpenMP][libomp] Fix dist barrier arrival synchronization (#213845) 7d23f0d618e1 [ORC] Fix malformed Mach-O `__unwind_info` tables (#217781) 8820e75cdd42 [clang-repl] Stop interpreter init on action failure (#217147) 99b7b38c1b98 [clang-tidy] Fix false positives in readability-trailing-comma for designated initializers (#215934) 9beff35f67c1 [AArch64] Use NoSchedPred for SME instructions in C1 scheduling models. f603629d9ec7 [lldb] Fix SBAPI breakage in SBFrame::GetValueForVariablePath (#218565) 5f27b704b2fc [SelectionDAG] Avoid irregular INSERT_SUBVECTOR when widening CTTZ_ELTS (#218019) 9f658ca5d2ff [libc] Disable float16 on 32-bit x86 without SSE2 (#219675) 13259bad3b48 [clang-format] Keep empty Java interface/record body on one line (#219910) 4f7718b2d0f8 [flang-rt][test] Fix Exceptions.cpp compilation on FreeBSD (#219709) d1e3b265a499 [Mips] Select GPR register class based on requested type size (#220012) a53c3e52ed56 [MIPS] Fix GP-relative selection after select/add combine (#215414) d27393c2493c [flang-rt] Fix runtime/environment.cpp compilation on FreeBSD (#219705) 80062a22dc03 [Mips] Use ELF binding when expanding PIC la (#217566) 6dfe1677ab8d [SLP]Fix crash in canBuildSplitNode on struct-typed scalars Signed-off-by: Sunil Dora <[email protected]> --- meta/conf/distro/include/maintainers.inc | 2 +- ...tools.cpp-Add-lssp_nonshared-on-musl.patch | 2 +- ...e-float16-on-32-bit-x86-without-SSE2.patch | 36 ------------------- meta/recipes-devtools/clang/common-clang.inc | 2 +- meta/recipes-devtools/clang/common.inc | 3 +- 5 files changed, 4 insertions(+), 41 deletions(-) delete mode 100644 meta/recipes-devtools/clang/clang/0035-libc-Disable-float16-on-32-bit-x86-without-SSE2.patch diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 40d62042bd..9b24d79a31 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc @@ -482,7 +482,7 @@ RECIPE_MAINTAINER:pn-linux-yocto-tiny = "Bruce Ashfield <[email protected] RECIPE_MAINTAINER:pn-lld = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-lldb = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-llvm = "Khem Raj <[email protected]>" -RECIPE_MAINTAINER:pn-llvm-project-source-23.1.0 = "Khem Raj <[email protected]>" +RECIPE_MAINTAINER:pn-llvm-project-source-23.1.1 = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-llvm-tblgen-native = "Khem Raj <[email protected]>" RECIPE_MAINTAINER:pn-log4cplus = "Unassigned <[email protected]>" RECIPE_MAINTAINER:pn-logrotate = "Yi Zhao <[email protected]>" diff --git a/meta/recipes-devtools/clang/clang/0004-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch b/meta/recipes-devtools/clang/clang/0004-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch index 1ba19bb4cd..efb90dc3fa 100644 --- a/meta/recipes-devtools/clang/clang/0004-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch +++ b/meta/recipes-devtools/clang/clang/0004-clang-Driver-tools.cpp-Add-lssp_nonshared-on-musl.patch @@ -7,7 +7,7 @@ musl driver will need to add ssp_nonshared for stack_check_local on the linker cmdline when using stack protector commands on compiler cmdline -Upstream-Status: Pending +Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/bf9e7e8d773b] Signed-off-by: Khem Raj <[email protected]> --- clang/lib/Driver/ToolChains/Gnu.cpp | 6 ++++++ diff --git a/meta/recipes-devtools/clang/clang/0035-libc-Disable-float16-on-32-bit-x86-without-SSE2.patch b/meta/recipes-devtools/clang/clang/0035-libc-Disable-float16-on-32-bit-x86-without-SSE2.patch deleted file mode 100644 index df35636055..0000000000 --- a/meta/recipes-devtools/clang/clang/0035-libc-Disable-float16-on-32-bit-x86-without-SSE2.patch +++ /dev/null @@ -1,36 +0,0 @@ -From: Sunil Dora <[email protected]> -Date: Fri, 29 Aug 2026 13:55:00 +0530 -Subject: [PATCH] libc: Disable float16 on 32-bit x86 without SSE2 - -GCC 16 defines __FLT16_MANT_DIG__ when targeting i686 even though -_Float16 is only usable on x86-32 with SSE2 enabled. The float16 -detection in float16-macros.h keys on that macro, so the shared f16 -math headers are compiled on plain i686 and every use of _Float16 -fails: - - libc/src/__support/FPUtil/BasicOperations.h:63:67: - error: SSE register return with SSE2 disabled - libc/src/__support/math/acosf16.h:73:14: - error: invalid conversion from type '_Float16' without option '-msse2' - -Since llvm/lib/Support/APFloat.cpp started including shared/math.h, -this breaks the LLVM build itself for 32-bit x86 baselines older than -SSE2 (e.g. -march=pentiumpro), as used by Yocto/OpenEmbedded multilib. - -Require SSE2 on 32-bit x86 in the guard, matching the existing -exclusions for 32-bit Arm and RISC-V. Targets with SSE2 are unaffected. - -Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/05da143c63d333420b99eab198e1a89c97480929] -Signed-off-by: Sunil Dora <[email protected]> ---- ---- a/libc/include/llvm-libc-macros/float16-macros.h 2026-08-29 13:55:04.771442947 +0530 -+++ b/libc/include/llvm-libc-macros/float16-macros.h 2026-08-29 13:55:04.773991812 +0530 -@@ -15,7 +15,7 @@ - (!defined(__GNUC__) || __GNUC__ >= 13 || \ - (defined(__clang__) && __clang_major__ >= 12)) && \ - !defined(__arm__) && !defined(_M_ARM) && !defined(__riscv) && \ -- !defined(_WIN32) -+ !defined(_WIN32) && (!defined(__i386__) || defined(__SSE2__)) - #define LIBC_TYPES_HAS_FLOAT16 - - // TODO: This would no longer be required if HdrGen let us guard function diff --git a/meta/recipes-devtools/clang/common-clang.inc b/meta/recipes-devtools/clang/common-clang.inc index 5d571e5fce..912fb80277 100644 --- a/meta/recipes-devtools/clang/common-clang.inc +++ b/meta/recipes-devtools/clang/common-clang.inc @@ -5,7 +5,7 @@ LLVM_HTTP ?= "https://github.com/llvm" MAJOR_VER = "23" MINOR_VER = "1" -PATCH_VER = "0" +PATCH_VER = "1" # could be 'rcX' or 'git' or empty ( for release ) VER_SUFFIX = "" diff --git a/meta/recipes-devtools/clang/common.inc b/meta/recipes-devtools/clang/common.inc index 0ca6951ff4..87e7d90a45 100644 --- a/meta/recipes-devtools/clang/common.inc +++ b/meta/recipes-devtools/clang/common.inc @@ -17,7 +17,7 @@ BASEURI ?= "${LLVM_HTTP}/llvm-project/releases/download/llvmorg-${PV}${VER_SUFFI UPSTREAM_CHECK_URI = "${LLVM_HTTP}/llvm-project/releases/" UPSTREAM_CHECK_REGEX = "releases/tag/llvmorg-?(?P<pver>\d+(\.\d+)+)" SOURCEDIR ?= "llvm-project-${PV}${VER_SUFFIX}.src" -SRC_URI[sha256sum] = "ab1f0e3ec52448c33e8782eaf0422504b87c7b016b22514653ee0d8fcee479ff" +SRC_URI[sha256sum] = "ebe9be46fe8756d58c5b198ffad0fa2a766257add81a4dc52179bfacc7888ee6" SRC_URI = "\ ${BASEURI} \ @@ -55,7 +55,6 @@ SRC_URI = "\ file://0032-llvm-libgcc-Fix-symlink-path-for-libcc-when-LLVM_ENA.patch \ file://0033-Consolidate-and-fix-sysroot-based-compiler-rt-search.patch \ file://0034-guard-clang-tools-extra-test.patch \ - file://0035-libc-Disable-float16-on-32-bit-x86-without-SSE2.patch \ " # Fallback to no-PIE if not set GCCPIE ??= "" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#245638): https://lists.openembedded.org/g/openembedded-core/message/245638 Mute This Topic: https://lists.openembedded.org/mt/121196781/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
