<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/conf, branch scarthgap</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=scarthgap</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=scarthgap'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2025-12-12T04:20:39+00:00</updated>
<entry>
<title>layer.conf: fix LLVMVERSION</title>
<updated>2025-12-12T04:20:39+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2025-12-11T20:47:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=754ca238f354d3dd94862db734395c72e5b48088'/>
<id>urn:sha1:754ca238f354d3dd94862db734395c72e5b48088</id>
<content type='text'>
The llvm/clang was upgraded to 18.1.8 in:
https://github.com/kraj/meta-clang/commit/731488911f55ebfe746068512b426351192f82f2
but the variable wasn't updated at the same time.

Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>bpftool: Use gcc instead of clang compiler</title>
<updated>2025-09-05T16:12:33+00:00</updated>
<author>
<name>Deepak Rathore</name>
<email>deeratho@cisco.com</email>
</author>
<published>2025-08-29T13:19:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=057ee563305e9484b29d02347aeafdadc5ea28ed'/>
<id>urn:sha1:057ee563305e9484b29d02347aeafdadc5ea28ed</id>
<content type='text'>
While compiling bpftool with clang, it fails with below error:
| error: no member named 'id' in 'struct bpf_link'
|           return BPF_CORE_READ((struct bpf_link *)ent, id);

bpftool is kernel tool to inspect and manipulate eBPF programs and maps.
And kernel is built using GCC by default. Maintaining compatibility with
Clang is an ongoing challenge, and using Clang solely for building bpftool
is ineffective unless the entire kernel is compiled with Clang.

Hence, updated TOOLCHAIN of bpftool to gcc.

Signed-off-by: Deepak Rathore &lt;deeratho@cisco.com&gt;
</content>
</entry>
<entry>
<title>perf: Use gcc as default compiler</title>
<updated>2025-08-28T16:48:56+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-07-18T22:16:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=6691e4bc47e20b903dc3dd7684685086d2468b84'/>
<id>urn:sha1:6691e4bc47e20b903dc3dd7684685086d2468b84</id>
<content type='text'>
Since its being build from kernel sources which are procecced with
gcc by default KERNEL_CC is gcc, its a constant battle to keep this
compiling with clang, so unless clang is also used to compile kernel
this is a fruitless excercise to use clang just for perf.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
(cherry picked from commit 9fadcead4fd4336783ef270a4019e105a270daf4)
Signed-off-by: Deepak Rathore &lt;deeratho@cisco.com&gt;
</content>
</entry>
<entry>
<title>nonclangable: remove '-mbranch-protection=standard' globally on aarch64</title>
<updated>2024-08-21T20:26:58+00:00</updated>
<author>
<name>Jose Quaresma</name>
<email>jose.quaresma@foundries.io</email>
</author>
<published>2024-08-20T14:53:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=bff7fe1616602837e8bd7f2ac0d3f976f1069b73'/>
<id>urn:sha1:bff7fe1616602837e8bd7f2ac0d3f976f1069b73</id>
<content type='text'>
On aarch64 the handling of runtime exception is broken when build with clang.
There is currently a fix for libcxx on the layer but it is not enough and this
same fix needs to be applied globally.

First fix attempt just include libcxx:
https://github.com/kraj/meta-clang/issues/963
https://github.com/kraj/meta-clang/pull/968

Remaining reported issue:
https://github.com/kraj/meta-clang/issues/998

Signed-off-by: Jose Quaresma &lt;jose.quaresma@foundries.io&gt;
(cherry picked from commit ee30860682fd7ec7cf95aabf794ac43976d69567)
Signed-off-by: Jose Quaresma &lt;jose.quaresma@foundries.io&gt;
</content>
</entry>
<entry>
<title>clang: Upgrade to 18.1.6</title>
<updated>2024-08-12T04:28:18+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-05-21T04:58:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=52c61cd5d447f871a1666e64fcfdf5f27a47f44c'/>
<id>urn:sha1:52c61cd5d447f871a1666e64fcfdf5f27a47f44c</id>
<content type='text'>
* 1118c2e05e67 [libcxx][libcxxabi] Fix build for OpenBSD (#92186)
* 48c1364200b5 [clang] Don't assume location of compiler-rt for OpenBSD (#92183)
* 3d0752b9492e [GlobalOpt] Don't replace aliasee with alias that has weak linkage (#91483)
* 92087868d5d2 [Arm64EC] Correctly handle sret in entry thunks. (#92326)
* bee6966d8efa [Arm64EC] Improve alignment mangling in arm64ec thunks. (#90115)
* 6456ebbc18a6 [workflows] Fix libclang-abi-tests to work with new version scheme (#91865)
* a7cd0c611238 [RISCV] Add a unaligned-scalar-mem feature like we had in clang 17.
* 2a4a0bf1db8b Update llvm/test/Transforms/InstCombine/bit_ceil.ll
* 26ccc6b5c1c7 [InstCombine] Drop nuw flag when CtlzOp is a sub nuw (#91776)
* aa2549e2bf12 Revert "[SLP]Fix a crash if the argument of call was affected by minbitwidth analysis."
* c6d554618931 [GlobalIsel][AArch64] fix out of range access in regbankselect (#92072)
* 9acb41b1e4bb [SystemZ] Handle address clobbering in splitMove(). (#92105)
* 1665723044ec release/18.x: [libclc] Fix linking against libIRReader
* 494847ba8fef [InstSimplify] Do not simplify freeze in `simplifyWithOpReplaced` (#91215)
* fac122ac4391 [X86][Driver] Do not add `-evex512` for `-march=native` when the target doesn't support AVX512 (#91694)
* 47b6dc45e39a [AArch64][SelectionDAG] Mask for SUBS with multiple users cannot be elided (#90911)
* dff717818356 [RISCV] Use 'riscv-isa' module flag to set ELF flags and attributes. (#85155)
* 3512b12a7981 [RISCV] Store RVC and TSO ELF flags explicitly in RISCVTargetStreamer. NFCI (#83344)
* be239653149f [RISCV] Add canonical ISA string as Module metadata in IR. (#80760)
* 6cfa40e450cf [RISCV][lld] Set the type of TLSDESC relocation's referenced local symbol to STT_NOTYPE
* 1184a9cb30e6 [PPCMergeStringPool] Avoid replacing constant with instruction (#88846)
* f1491c7460e7 [clang-format] Fix a crash with AlignArrayOfStructures option (#86420)
* 8d65f14cb6ff [Clang][Sema] Revise the transformation of CTAD parameters of nested class templates (#91628)
* be6c81751cc9 [lld][WebAssembly] Fix test on Windows, use llvm-ar instead of ar
* c5b3fa491f00 Reland "[clang-repl] Keep the first llvm::Module empty to avoid invalid memory access. (#89031)"
* a82ddb9d8122 [workflows] Add a job for requesting a release note on release branch PRs (#91826)
* 09615ce869b0 [OpenMP] Fix child processes to use affinity_none (#91391)
* 5c77c1d31d14 [llvm][lld] Pre-commit tests for RISCV TLSDESC symbols
* 7dbd266e89a7 [AArc64][GlobalISel] Fix legalizer assert for G_INSERT_VECTOR_ELT
* d9a7e5179a89 [InterleavedLoadCombine] Bail out on non-byte-sized vector element type (#90705)
* 0a045c9d83bb [AArch64][GISEL] Consider fcmp true and fcmp false in cond code selection (#86972) (#91580)
* 4a28f8e3c625 [FunctionAttrs] Fix incorrect nonnull inference for non-inbounds GEP (#91180)
* 0abb89a80f5c [clang-format] Don't remove parentheses of fold expressions (#91045)
* bce9393291a2 [AMDGPU] Fix GFX12 encoding of s_wait_event export_ready (#89622)
* f5f572f54b32 [SelectionDAG] Mark frame index as "aliased" at argument copy elison (#89712)
* dfc89f89ed14 [X86][FP16] Do not create VBROADCAST_LOAD for f16 without AVX2 (#91125)
* 047cd915b86a [X86][EVEX512] Add `HasEVEX512` when `NoVLX` used for 512-bit patterns (#91106)
* 58e44d3c6f67 [AMDGPU] Enhance s_waitcnt insertion before barrier for gfx12 (#90595)
* d1d7131906d9 [Workflows] Re-write release-binaries workflow (#89521)
* 211cdc65a1fb workflows: Fix incorrect input name in release-binaries.yml (#84604)
* 0ec1bc454456 workflows: Fixes for building the release binaries (#83694)
* d9661e11996d [Github] Add repository checks to release-binaries workflow (#84437)
* b7e2397c54b7 [CMake][Release] Enable CMAKE_POSITION_INDEPENDENT_CODE (#90139)
* ce88e86e428b [CMake][Release] Refactor cache file and use two stages for non-PGO builds (#89812)
* f2c5a10e1f27 [CMake][Release] Add stage2-package target (#89517)
* dd3aa6d0e9a8 Bump version to 18.1.6 (#91094)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
(From meta-clang rev: 49b031747859cc20238c07628f1b550fcf759de9
Signed-off-by: Peter Marko &lt;peter.marko@siemens.com&gt;
</content>
</entry>
<entry>
<title>frame: Use --undefined-version with lld</title>
<updated>2024-05-04T16:44:38+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-05-03T22:48:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=ad26539222d8d6e07cd0bcda196c9cf3433430ae'/>
<id>urn:sha1:ad26539222d8d6e07cd0bcda196c9cf3433430ae</id>
<content type='text'>
symbol version script adds some X11 symbols which lld complains about
since default is to report undefined symbols with lld.

Fixes
| x86_64-yoe-linux-ld.lld: error: version script assignment of 'FRAME_2.2' to symbol 'frame_x11_new' failed: symbol not defined
| x86_64-yoe-linux-ld.lld: error: version script assignment of 'FRAME_2.2' to symbol 'frame_x11_delete' failed: symbol not defined
| x86_64-yoe-linux-ld.lld: error: version script assignment of 'FRAME_2.2' to symbol 'frame_x11_process_event' failed: symbol not defined
| x86_64-yoe-linux-ld.lld: error: version script assignment of 'FRAME_2.2' to symbol 'frame_x11_accept_touch' failed: symbol not defined
| x86_64-yoe-linux-ld.lld: error: version script assignment of 'FRAME_2.2' to symbol 'frame_x11_reject_touch' failed: symbol not defined
| x86_64-yoe-linux-ld.lld: error: version script assignment of 'FRAME_2.2' to symbol 'frame_x11_get_window_id' failed: symbol not defined
| x86_64-yoe-linux-ld.lld: error: version script assignment of 'FRAME_2.2' to symbol 'frame_x11_create_window_id' failed: symbol not defined
| x86_64-yoe-linux-ld.lld: error: version script assignment of 'FRAME_2.2' to symbol 'frame_x11_get_touch_id' failed: symbol not defined
| x86_64-yoe-linux-ld.lld: error: version script assignment of 'FRAME_2.2' to symbol 'frame_x11_create_touch_id' failed: symbol not defined

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Upgrade to 18.1.5</title>
<updated>2024-05-03T17:18:02+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-05-03T06:00:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=4d4987dde739b1982c16f2970249d961fb617224'/>
<id>urn:sha1:4d4987dde739b1982c16f2970249d961fb617224</id>
<content type='text'>
Brings

* 617a15a9eac9 [clang codegen] Fix MS ABI detection of user-provided constructors. (#90151)
* 20b9ed64ea07 [RISCV][ISel] Fix types in `tryFoldSelectIntoOp` (#90659)
* ece9d35f1a70 [GlobalISel] Fix store merging incorrectly classifying an unknown index expr as 0. (#90375)
* a7b8b890600a [X86] Enable EVEX512 when host CPU has AVX512 (#90479)
* 4da5b1417493 [GlobalISel] Don't form anyextending atomic loads.
* a96b04442c9f [AArch64] Remove invalid uabdl patterns. (#89272)
* aea091b70eda [clang][CoverageMapping] do not emit a gap region when either end doesn't have valid source locations (#89564)
* 58648f334d62 [X86][EVEX512] Check hasEVEX512 for canExtendTo512DQ (#90390)
* 6350acdb134d  [CGP] Drop poison-generating flags after hoisting (#90382)
* f341c76b9461 [Clang] Handle structs with inner structs and no fields (#89126)
* abf6b13085fb [IRCE] Skip icmp ptr in `InductiveRangeCheck::parseRangeCheckICmp` (#89967)
* ee5bb0c95667 Fix Objective-C++ Sret of non-trivial data types on Windows ARM64 (#88671)
* 6dbaa89433f7 [clang-format] Fix a regression in ContinuationIndenter (#88414)
* 51ff7f38b633 [clang-format] Fix a regression in annotating TrailingReturnArrow (#86624)
* b544217fb31f [AMDGPU] Fix setting nontemporal in memory legalizer (#83815)
* 78b99c73ee4b [DAGCombiner] Fix miscompile bug in combineShiftOfShiftedLogic (#89616)
* 1aa91720cc4f [DAGCombiner] Pre-commit test case for miscompile bug in combineShiftOfShiftedLogic
* 35fea1032741 release/18.x: [clang-format] Correctly annotate braces in macros (#87953)
* b9b73814ad8a [libcxx] [modules] Add _LIBCPP_USING_IF_EXISTS on aligned_alloc (#89827)
* c0b48372d82a release/18.x: [clang-format] Revert breaking stream operators to previous default (#89016)
* 3b4ba7277bd7 [analyzer] Fix performance of getTaintedSymbolsImpl() (#89606)
* 7699b341b763 release/18.x: [clang-format] Fix a regression in annotating BK_BracedInit (#87450)
* fb865928c8e0 [GlobalISel] Fix fewerElementsVectorPhi to insert after G_PHIs (#87927)
* 111ae4509c96 [X86] Fix miscompile in combineShiftRightArithmetic
* 76cbd417af50 [X86] Pre-commit tests (NFC)
* e7c816b3cd3e  [InstCombine] Fix unexpected overwriting in `foldSelectWithSRem` (#89539)
* 3685a599c866 ReleaseNote: Mention SpecialCaseList change (#89141)
* a981a4f7653c [X86] Always use 64-bit relocations in no-PIC large code model (#89101)
* 4ddac856c55f [analyzer] Fix a security.cert.env.InvalidPtr crash
* c6d63d4fc555 Bump version to 18.1.5 (#89291)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Upgrade to 18.1.4</title>
<updated>2024-04-23T05:47:18+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-04-20T16:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=66414c17ae60e489bef9a97031323e92c247fbe1'/>
<id>urn:sha1:66414c17ae60e489bef9a97031323e92c247fbe1</id>
<content type='text'>
* e6c3289804a6 [CMake][Release] Disable PGO (#88465) (#89000)
* 028e425f86cc [MIPS] Fix the opcode of max.fmt and mina.fmt (#85609)
* e3c832b37b0a Fix override keyword being print to the left side
* 1deeee3f5da4 Revert "[Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072)"
* 995539ce05ba [LLD] [COFF] Don't add pseudo relocs for dangling references (#88487)
* db67e6fb9ad1 [libc++] Fix -Wgnu-include-next in stddef.h (#88214)
* 647fbc710840 [SelectionDAG] Prevent combination on inconsistent type in `combineCarryDiamond` (#84888)
* eaae766a20fd [RISCV] Support rv{32, 64}e in the compiler builtins (#88252)
* c24b41d71f2e github-upload-release.py: Fix bug preventing release creation (#84571)
* c837970dd7e9 [Codegen][X86] Fix /HOTPATCH with clang-cl and inline asm (#87639)
* d0ddcce21d91 [InstSimplify] Make sure the simplified value doesn't generate poison in threadBinOpOverSelect (#87075)
* 4056cc29dfd3 Prepend all library intrinsics with `#` when building for Arm64EC (#87542)
* 6e071cf30599 [SLP]Fix a crash if the argument of call was affected by minbitwidth analysis.
* d89da2ac8839 [libcxx] coerce formatter precision to int (#87738)
* b6ebea7972cd [SPARC] Implement L and H inline asm argument modifiers (#87259)
* bffecba7ce4c [libc++] Simplify the implementation of &lt;stddef.h&gt; (#86843)
* 9899a2d76c8f [lit][ci] Publish lit wheels (#88072)
* 3ceccbdb1995 [clang-format] Correctly annotate braces of empty ctors/dtors (#82097)
* 429d62872525 [Headers] Don't declare unreachable() from stddef.h in C++ (#86748)
* feba8727f805 [ConstantRange] Fix off by 1 bugs in UIToFP and SIToFP handling. (#86041)
* e4259b583c92 [Float2Int] Pre-commit test for SIToFP/UIToFP ConstantRange bug. NFC
* daca56d8e162 Bump version to 18.1.4 (#87715)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Upgrade to 18.1.3</title>
<updated>2024-04-06T17:53:43+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-04-06T00:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=13dcab852c5bcd51fd75ae84ace9eddd99254653'/>
<id>urn:sha1:13dcab852c5bcd51fd75ae84ace9eddd99254653</id>
<content type='text'>
Brings
* c13b7485b879 [clang] Avoid -Wshadow warning when init-capture named same as class field (#74512)
* f249092ef26d [tsan] Refine fstat{,64} interceptors (#86625)
* 76c721994a11 [clang][Sema] Fix a CTAD regression after 42239d2e9 (#86914)
* e0f0c463b539 [mlir][transform] replace original op to loop ops (#83537)
* 47aac495c895 [OpenMP][AIX] Affinity implementation for AIX (#84984)
* a385a917da93 [Support] Fix color handling in formatted_raw_ostream (#86700)
* 0cd4babe0342 Reapply [libcxx] [modules] Fix relative paths with absolute LIBCXX_INSTALL_MODULES_DIR (#86020)
* cfaeee6a8994  release/18.x: [SystemZ] Fix overflow flag for i128 USUBO (#86491)
* 767b61c159b3 [lld/ELF][X86] Respect outSecOff when checking if GOTPCREL can be relaxed (#86334)
* 7c7c3d4a3a27 [ODS][NFC] Cast range.size() to int32_t in accumulation (#85629)
* 0e501dbd932e [Mips] Restore wrong deletion of instruction 'and' in unsigned min/max processing. (#85902)
* fbb27d16fa12 [Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072)
* e74c1678231a [PowerPC] provide CFI for ELF32 to unwind cr2, cr3, cr4 (#83098)
* 1c7c16e58240 [NFC][PowerPC] use script to regenerate the CHECK lines
* c2a57034eff0 [msan] Re-exec with no ASLR if memory layout is incompatible on Linux (#85142)
* b74f6158460c [msan] Add 'MappingDesc::ALLOCATOR' type and check it is available (#85153)
* 98a15dd2d728 [clang][CodeGen] Allow `memcpy` replace with trivial auto var init
* 2498e3a07f3d [LoongArch] Assume no-op addrspacecasts by default (#82332)
* 368dc8553c5a [SROA]: Only defer trying partial sized ptr or ptr vector types
* 0e16af8e4cf3 [ARM] Update IsRestored for LR based on all returns (#82745)
* 6f8016fda7d5 Pre-commit test showing bug #80287
* ef6d1ec07c69 Bump version to 18.1.3 (#86168)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>uftrace: Do not use internal clang assembler</title>
<updated>2024-03-28T03:17:39+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-03-27T03:57:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=73c00a5a0bebc871854e43cc1f0fe5bd5e5ad1d7'/>
<id>urn:sha1:73c00a5a0bebc871854e43cc1f0fe5bd5e5ad1d7</id>
<content type='text'>
This expects GNU assembler I guess.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
