<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/recipes-devtools, 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>2026-08-18T16:07:45+00:00</updated>
<entry>
<title>nativesdk-clang-glue: Delete do_create_package_spdx task</title>
<updated>2026-08-18T16:07:45+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2024-07-04T18:07:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=cc29beb210ab94eacc53bbd67e287e4e33ede342'/>
<id>urn:sha1:cc29beb210ab94eacc53bbd67e287e4e33ede342</id>
<content type='text'>
SPDX 3.0 has this task executing but other tasks which it
depends on are deleted, delete this one too.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Etienne Cordonnier &lt;ecordonnier@snap.com&gt;
</content>
</entry>
<entry>
<title>clang: Add status of CVE-2024-7883</title>
<updated>2026-06-16T05:17:41+00:00</updated>
<author>
<name>Divyanshu Rathore</name>
<email>Divyanshu.DR.Rathore@bti.bmwgroup.com</email>
</author>
<published>2026-06-08T06:07:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=7cf54f70cebe897d844f649024322bb096d7cb50'/>
<id>urn:sha1:7cf54f70cebe897d844f649024322bb096d7cb50</id>
<content type='text'>
The patch (CVE-2024-7883.patch) is correctly applied via
llvm-project-source's do_patch task. However, because common-source.inc
sets SRC_URI = "" in the clang recipe (shared-source architecture),
cve_check finds no patches in the clang recipe and reports the CVE as
Unpatched.

Add an explicit CVE_STATUS declaration to mark the CVE as fixed and
document that the patch is applied via llvm-project-source, without
altering the shared-source build flow.

CVE: CVE-2024-7883

Signed-off-by: Divyanshu Rathore &lt;Divyanshu.DR.Rathore@bti.bmwgroup.com&gt;
</content>
</entry>
<entry>
<title>clang : Fix CVE-2024-7883</title>
<updated>2026-03-16T21:09:55+00:00</updated>
<author>
<name>Anil Dongare</name>
<email>adongare@cisco.com</email>
</author>
<published>2026-03-16T16:55:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=5bce7e26a38a58bb52242494e54ab2af40009574'/>
<id>urn:sha1:5bce7e26a38a58bb52242494e54ab2af40009574</id>
<content type='text'>
This patch applies the upstream fix as referenced in [2], using the commit shown in [1].
[1] https://github.com/llvm/llvm-project/commit/33411d520783189c31e9936a67371198d6da5f25
[2] https://security-tracker.debian.org/tracker/CVE-2024-7883

Signed-off-by: Anil Dongare &lt;adongare@cisco.com&gt;
</content>
</entry>
<entry>
<title>llvm,clang: update to 18.1.8</title>
<updated>2025-10-01T16:54:22+00:00</updated>
<author>
<name>Adrian Freihofer</name>
<email>adrian.freihofer@siemens.com</email>
</author>
<published>2025-10-01T10:09:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=731488911f55ebfe746068512b426351192f82f2'/>
<id>urn:sha1:731488911f55ebfe746068512b426351192f82f2</id>
<content type='text'>
This is probably the last 18.1.x release, so let's get it in.

3b5b5c1ec4a3 (tag: llvmorg-18.1.8, origin/release/18.x) [libcxx] Align `__recommend() + 1`  by __endian_factor (#90292)
72c9425a79fd [libc++][NFC] Rewrite function call on two lines for clarity (#79141)
443e23eed24d Bump version to 18.1.8 (#95458)
768118d1ad38 (tag: llvmorg-18.1.7) [clang-format] Fix a bug in formatting goto labels in macros (#92494)
8c0fe0d65ed8 release/18.x: [clang-format] Don't always break before &lt;&lt; between str… (#94091)
7e6ece9b4f2d [PPCMergeStringPool] Only replace constant once (#92996)
1ce2d26cd2e9 Bump version to 18.1.7 (#93723)

Signed-off-by: Adrian Freihofer &lt;adrian.freihofer@siemens.com&gt;
</content>
</entry>
<entry>
<title>clang: fix native build with gcc-15</title>
<updated>2025-08-18T15:51:51+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2025-08-17T19:15:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=f915bbfc71f7b58c38607b8407718bd8b5cefa44'/>
<id>urn:sha1:f915bbfc71f7b58c38607b8407718bd8b5cefa44</id>
<content type='text'>
Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>compiler-rt-sanitizers: disable builtins library</title>
<updated>2025-07-10T21:22:52+00:00</updated>
<author>
<name>Peter Marko</name>
<email>peter.marko@siemens.com</email>
</author>
<published>2025-07-07T17:13:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=aef850f7fa53121c74b244b7ae40d31fb9809ccf'/>
<id>urn:sha1:aef850f7fa53121c74b244b7ae40d31fb9809ccf</id>
<content type='text'>
Currently compiler-rt-sanitizers fails to build as native recipe.
Configuration log shows:
-- Compiler-RT supported architectures: x86_64
-- Failed to find compiler-rt builtins library for x86_64-linux

The reasons is that calling
clang --rtlib=compiler-rt -print-libgcc-file-name
returns (tested in devtool and via additional cmake logs)
/usr/lib/clang/18.1.6/lib/linux/libclang_rt.builtins-x86_64.a
which is missing the recipe-sysroot-native prefix.

COMPILER_RT_USE_BUILTINS_LIBRARY=OFF is implemented in kirkstone and
also in master (in core). Note that when moving clang from meta-clang
to core, I didn't find explanation why this was changed back, but I
assume that it was because of issues like this.

When running
clang --rtlib=compiler-rt -print-libgcc-file-name
on master, it correctly returns the sysroot prefix.
However re-enabling builtins still results in a failure because on my
system it also detects i386 multilib which then fails.

Alternative which works (at least in Debian 11) is following:
EXTRA_OECMAKE:append:class-native = "\
    -DCOMPILER_RT_LIBRARY_builtins_${BUILD_SYS}=${STAGING_LIBDIR_NATIVE}/clang/${PV}/lib/linux/libclang_rt.builtins-${BUILD_ARCH}.a \
    -DCOMPILER_RT_LIBRARY_builtins_=${STAGING_LIBDIR_NATIVE}/clang/${PV}/lib/linux/libclang_rt.builtins-${BUILD_ARCH}.a \
"
However seeing failures on master, it's uncertain if it fixes all corner
cases.

Signed-off-by: Peter Marko &lt;peter.marko@siemens.com&gt;
</content>
</entry>
<entry>
<title>fix: [Issue #1061] - check for existence before trying to process a file</title>
<updated>2025-03-18T01:38:45+00:00</updated>
<author>
<name>aprospero</name>
<email>apro@posteo.de</email>
</author>
<published>2025-03-17T13:12:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=b9ef02282197380ef05edbd0eb852e1934ceb59b'/>
<id>urn:sha1:b9ef02282197380ef05edbd0eb852e1934ceb59b</id>
<content type='text'>
In certain configurations LLVMConfig.cmake does not exist. If that's the case do_install breaks for the nativesdk-clang recipe.

Eg. set the following:

EXTRA_OECMAKE:append:pn-nativesdk-clang = " -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON"

as suggested here:

https://llvm.org/docs/BuildingADistribution.html

Signed-off-by: aprospero &lt;apro@posteo.de&gt;
</content>
</entry>
<entry>
<title>clang_git.bb: Remove True option to getVar calls</title>
<updated>2025-01-22T04:12:47+00:00</updated>
<author>
<name>itsmesky4</name>
<email>akash.hadke27@gmail.com</email>
</author>
<published>2025-01-10T10:40:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8c77b427408db01b8de4c04bd3d247c13c154f92'/>
<id>urn:sha1:8c77b427408db01b8de4c04bd3d247c13c154f92</id>
<content type='text'>
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Signed-off-by: Akash Hadke &lt;akash.hadke27@gmail.com&gt;</content>
</entry>
<entry>
<title>clang: improve reproducibility</title>
<updated>2025-01-09T07:26:26+00:00</updated>
<author>
<name>Oleh Matiusha</name>
<email>omatiush@cisco.com</email>
</author>
<published>2024-07-19T06:33:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=f002eb5ab051443e7b5fbc32a9505d63a67db7b6'/>
<id>urn:sha1:f002eb5ab051443e7b5fbc32a9505d63a67db7b6</id>
<content type='text'>
Currently, class-target is reproducible, but
class-nativesdk is not. What I did:

- noticed that BuildVariables.inc contains meaningless
path fragments after running sed, so I adjusted sed
commands to remove the rest of paths as well;
- moved common code into a function, which is then
called twice;
- changed do_compile:prepend into do_configure:append,
this is more conventional and intuitive;
- verified that the resulting code works for both
target and nativesdk after these changes.

Signed-off-by: Oleh Matiusha &lt;omatiush@cisco.com&gt;
Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang_git.bb: assign PYTHON_PN to LLDB_PYTHON_EXE_RELATIVE_PATH</title>
<updated>2024-10-31T13:33:50+00:00</updated>
<author>
<name>Jan Kircher</name>
<email>jan.kircher@leica-microsystems.com</email>
</author>
<published>2024-10-23T14:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=9fbfa9db33131abdf3870a94f00199eb53e276e5'/>
<id>urn:sha1:9fbfa9db33131abdf3870a94f00199eb53e276e5</id>
<content type='text'>
Signed-off-by: Jan Kircher &lt;jan.kircher@leica-microsystems.com&gt;
</content>
</entry>
</feed>
