Skip to contentSkip to conversation

clang/llvm: Upgrade to 23.1.4 release

PATCH In review [email protected] 3 participants 3 messages Nov 2 – Nov 5

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clang/llvm: Upgrade to 23.1.4 release

From: Deepesh Varatharajan <[email protected]>

https://discourse.llvm.org/t/llvm-23-1-4-released/92564

Brings following fixes:
7a941dfb2877 github-upload-release: Update script to work with draft releases (#229909) 4635269e3782 [X86] Fix constant vector i64 signed div/rem on 32-bit targets (#229244) 524ac171cd43 [GlobalISel] Drop nuw/nsw/disjoint when widening a result with G_ANYEXT (#218558) fdf44b31a63e [InstCombine] Drop poison-generating annotations forming min/max for clamp (#231537) d5f50fc559a2 [Mips] Fix symbol names for private functions in relocation hints (#230572) 52e90e1917a4 [Mips] Lower calls to private functions the same way as internal functions (#229975) d5ff1316673e [clang][bytecode] disable tail calls on mips (#229679)
41042adf8339 [ARM] Fix miscompile in MAC for 64b values (#231702)
6c859967be70 [SPARC] Lower dynamic v2i32 vector extracts on 32-bit SPARC (#222348) 71c76755a8ff [ELF] Move layout-changing transforms before address assignment (#232189) d946f7b2b214 [PowerPC] Don't let optimizeCompareInstr define CR0 while it is still live (#220999) a5eac6566485 [Clang][counted_by] Load the count through unions by byte offset (#228309) beb6b7dfae46 [X86] Don't treat vectors with elements wider than 64 bits as immediate-shiftable (#228840) 0cd28174a1f6 [SimplifyLibCalls] Fix ConstantInt construction based on char (#231159) d66309da4d8d [SCEV] Add missing scPtrToAddr to getCastExpr. (#211899)
94ae4f86b8f3 [Passes] Run MergeICmps/ExpandMemCmps in LTO post-link pipeline (#230562) 7909311aa6f3 [Mips] Remove experimental warning bits in a few places (#223230) 1be9d5eb62e0 [llvm-objcopy][COFF] Keep COMDAT section definition symbols when stripping (#228783) 8451016186f2 release/23.x: [llvm-ar][GOFF] Implement symbol attributes for GOFF archives (#214528) 1b843902f5b4 Change release notes wording
ca0b6a823a5b workflows/release-binaries: Improve Windows installer (#220414) 5177329b802a [Windows] Export Registry<T> members and accessors for plugins again (#221296) bb46d66418b9 [X86] Don't double count the interrupt stack alignment push in StackSize (#224029) 15d373104a6e [GlobalsAA] Handle self-referencing stores in AnalyzeUsesOfPointer (#213631) 705f593fb506 [AArch64] Restore always-inline behaviour for incompatible SME attributes. bbbf266c78bf pre-commit test
195209c5c105 [SanitizerCoverage] Don't create comdat for unnamed functions (#228959) 3dadaf417121 [PGO] Fix PGO instrumentation for selects with poison condition (#229002) 370eb8ddac24 [Mips][FastISel] Also add low part when materializing private functions (#229717) d7cdb9b24351 [SelectionDAG] Do not flag undef bitcast lanes as known zero
13d7a167327c [CAS] Close the stderr temp file of the out-of-process validator (#226844) affff9cc58ab [llvm][Support] Use ::closesocket for native sockets on Windows (#226613) 8e044a8f3ada [NVPTX] Set default value of nvptx-allow-ftz-atomics to true (#206154)

---
 meta/conf/distro/include/maintainers.inc     | 2 +-
 meta/recipes-devtools/clang/common-clang.inc | 2 +-
 meta/recipes-devtools/clang/common.inc       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
meta/conf/distro/include/maintainers.inc +1 -1
index 74db3e44e9..f914214115 100644
@@ -484,7 +484,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.3 = "Khem Raj <[email protected]>"
+RECIPE_MAINTAINER:pn-llvm-project-source-23.1.4 = "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]>"
meta/recipes-devtools/clang/common-clang.inc +1 -1
index cf93fd0f62..421df9b5b6 100644
@@ -5,7 +5,7 @@ LLVM_HTTP ?= "https://github.com/llvm"
 
 MAJOR_VER = "23"
 MINOR_VER = "1"
-PATCH_VER = "3"
+PATCH_VER = "4"
 # could be 'rcX' or 'git' or empty ( for release )
 VER_SUFFIX = ""
 
meta/recipes-devtools/clang/common.inc +1 -1
index d1b784b450..541c53edc3 100644
@@ -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] = "c44186a7762ed28954be72e5ff6df9808e0779d4f1bf014ecc4e7e211d31ee34"
+SRC_URI[sha256sum] = "819ecf7351f1a66f76b2d701d8942faaf5faeb324cb90c9d5b090de142434bb2"
 
 SRC_URI = "\
     ${BASEURI} \
Signature · 1 line
2.51.0
#1 lore raw
Quoted 39 lines · Deepesh via openembedded-core Varatharajan

From: Deepesh Varatharajan <[email protected]>

https://discourse.llvm.org/t/llvm-23-1-4-released/92564

Brings following fixes:
7a941dfb2877 github-upload-release: Update script to work with draft releases (#229909) 4635269e3782 [X86] Fix constant vector i64 signed div/rem on 32-bit targets (#229244) 524ac171cd43 [GlobalISel] Drop nuw/nsw/disjoint when widening a result with G_ANYEXT (#218558) fdf44b31a63e [InstCombine] Drop poison-generating annotations forming min/max for clamp (#231537) d5f50fc559a2 [Mips] Fix symbol names for private functions in relocation hints (#230572) 52e90e1917a4 [Mips] Lower calls to private functions the same way as internal functions (#229975) d5ff1316673e [clang][bytecode] disable tail calls on mips (#229679)
41042adf8339 [ARM] Fix miscompile in MAC for 64b values (#231702)
6c859967be70 [SPARC] Lower dynamic v2i32 vector extracts on 32-bit SPARC (#222348) 71c76755a8ff [ELF] Move layout-changing transforms before address assignment (#232189) d946f7b2b214 [PowerPC] Don't let optimizeCompareInstr define CR0 while it is still live (#220999) a5eac6566485 [Clang][counted_by] Load the count through unions by byte offset (#228309) beb6b7dfae46 [X86] Don't treat vectors with elements wider than 64 bits as immediate-shiftable (#228840) 0cd28174a1f6 [SimplifyLibCalls] Fix ConstantInt construction based on char (#231159) d66309da4d8d [SCEV] Add missing scPtrToAddr to getCastExpr. (#211899)
94ae4f86b8f3 [Passes] Run MergeICmps/ExpandMemCmps in LTO post-link pipeline (#230562) 7909311aa6f3 [Mips] Remove experimental warning bits in a few places (#223230) 1be9d5eb62e0 [llvm-objcopy][COFF] Keep COMDAT section definition symbols when stripping (#228783) 8451016186f2 release/23.x: [llvm-ar][GOFF] Implement symbol attributes for GOFF archives (#214528) 1b843902f5b4 Change release notes wording
ca0b6a823a5b workflows/release-binaries: Improve Windows installer (#220414) 5177329b802a [Windows] Export Registry<T> members and accessors for plugins again (#221296) bb46d66418b9 [X86] Don't double count the interrupt stack alignment push in StackSize (#224029) 15d373104a6e [GlobalsAA] Handle self-referencing stores in AnalyzeUsesOfPointer (#213631) 705f593fb506 [AArch64] Restore always-inline behaviour for incompatible SME attributes. bbbf266c78bf pre-commit test
195209c5c105 [SanitizerCoverage] Don't create comdat for unnamed functions (#228959) 3dadaf417121 [PGO] Fix PGO instrumentation for selects with poison condition (#229002) 370eb8ddac24 [Mips][FastISel] Also add low part when materializing private functions (#229717) d7cdb9b24351 [SelectionDAG] Do not flag undef bitcast lanes as known zero
13d7a167327c [CAS] Close the stderr temp file of the out-of-process validator (#226844) affff9cc58ab [llvm][Support] Use ::closesocket for native sockets on Windows (#226613) 8e044a8f3ada [NVPTX] Set default value of nvptx-allow-ftz-atomics to true (#206154)

Quoted 2 lines

---

Hi Deepesh,

Thanks for the upgrade. Yet I believe we can see issues during the toolchain tests:

2026-11-03 11:35:26,571 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/qemux86-tc/build/layers/openembedded-core/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/srv/pokybuild/yocto-worker/qemux86-tc/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/clang.py", line 202, in test_llvm
    raise AssertionError(f"llvm-lit failed for LLVM: {output}")

AssertionError: llvm-lit failed for LLVM: -- Testing: 25525 of 64777 tests, 4 workers --
...
FAIL: LLVM :: tools/extract_symbols/registry-itanium.test (23446 of 25525)
FAIL: LLVM :: tools/extract_symbols/registry-microsoft.test (23447 of 25525)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/28/builds/4919
https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/4916

Can you have a look at the issue?

Thanks,
Mathieu

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

Hi Mathieu,

Thanks for reporting this. We’re looking into the failures. Clang/LLVM 23.1.5 is now available, and I’ll send the upgrade patch once local testing is complete.

Thanks,
Sunil