<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/dynamic-layers/clang-layer/recipes-support, branch master</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2025-08-02T00:23:41+00:00</updated>
<entry>
<title>thin-provisioning-tools: Move out of clang dynamic layer to meta-oe</title>
<updated>2025-08-02T00:23:41+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2025-08-02T00:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=13e814bb8830719e2bf284fae9a31df495ad17e4'/>
<id>urn:sha1:13e814bb8830719e2bf284fae9a31df495ad17e4</id>
<content type='text'>
clang is now in oe-core so it can live in its original place

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>thin-provisioning-tools: fix bindgen build error with clang on octeontx2</title>
<updated>2025-07-24T15:40:45+00:00</updated>
<author>
<name>Bo Sun</name>
<email>bo.sun.cn@windriver.com</email>
</author>
<published>2025-07-24T07:55:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=7e3b4725c92a1c3cabdc6e2467acbce376d03085'/>
<id>urn:sha1:7e3b4725c92a1c3cabdc6e2467acbce376d03085</id>
<content type='text'>
Remove unsupported '-mcpu=octeontx2+crypto' from BINDGEN_EXTRA_CLANG_ARGS
as clang does not recognize 'octeontx2' as a valid target CPU, causing
bindgen to fail when generating Rust bindings.

Since bindgen only parses headers using Clang, CPU-specific options
like -mcpu are generally unnecessary.

Fixes build failure:
|   error: unsupported argument 'octeontx2+crypto' to option '-mcpu='
|   error: unknown target CPU 'octeontx2'

Signed-off-by: Bo Sun &lt;bo.sun.cn@windriver.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta-openembedded/all: adapt to UNPACKDIR changes</title>
<updated>2025-06-25T13:44:52+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex@linutronix.de</email>
</author>
<published>2025-06-20T14:06:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=fc78d37ff0ce9e0d60455465851dbe4e86d7a8b3'/>
<id>urn:sha1:fc78d37ff0ce9e0d60455465851dbe4e86d7a8b3</id>
<content type='text'>
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>thin-provisioning-tools: Fix build on riscv32</title>
<updated>2025-04-06T18:06:42+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2025-04-05T21:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=82056b92459607ea69b0133308685c4872cb19b7'/>
<id>urn:sha1:82056b92459607ea69b0133308685c4872cb19b7</id>
<content type='text'>
Rustix crate needs libc crate to be patched

Fix build on 32-bit hosts without 64bit atomics

Use portable-atomic crate for 64bit atomics, helps 32bit arches without
64bit atomic intrinsics.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>thin-provisioning-tools: use STAGING_LIBDIR_NATIVE variable for LIBCLANG_PATH</title>
<updated>2025-03-07T16:37:00+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>martin.jansa@gmail.com</email>
</author>
<published>2025-03-03T19:16:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=458934221f39e8f9f64981be1eb0af91511e9b33'/>
<id>urn:sha1:458934221f39e8f9f64981be1eb0af91511e9b33</id>
<content type='text'>
* hardcoding:
  ${WORKDIR}/recipe-sysroot-native${libdir}
  is just wrong when there is a better variable

* This path won't be correct for multilib builds where target ${libdir}
  might be e.g. /usr/lib32 while native libdir is /usr/lib.

* use STAGING_LIBDIR_NATIVE variable which uses correct ${libdir_native}

* fixes:
  error: failed to run custom build command for `devicemapper-sys v0.3.0`

  Caused by:
    process didn't exit successfully: `lib32-thin-provisioning-tools/1.1.0/build/target/release/build/devicemapper-sys-88de590bc55acb43/build-script-build` (exit status: 101)
    --- stderr
    thread 'main' panicked at lib32-thin-provisioning-tools/1.1.0/sources-unpack/cargo_home/bitbake/bindgen-0.69.4/lib.rs:622:31:
    Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"

Signed-off-by: Martin Jansa &lt;martin.jansa@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>thin-provisioning-tools: add target and sysroot to bindgen flags</title>
<updated>2025-02-27T21:10:00+00:00</updated>
<author>
<name>Gyorgy Sarvari</name>
<email>skandigraun@gmail.com</email>
</author>
<published>2025-02-27T18:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=8dad29ad58e237e67d7d4f5b0dc68b10b9d86065'/>
<id>urn:sha1:8dad29ad58e237e67d7d4f5b0dc68b10b9d86065</id>
<content type='text'>
BUILD_CFLAGS doesn't contain information about the recipe sysroot nor about the target
system - and in case these are not specified for bindgen, then it builds against
the build system's headers, using the build system's arch.

Instead of BUILD_CFLAGS pass HOST_CC_ARCH and TOOLCHAIN_OPTIONS, which contain the sysroot
and the requred cross-compiling flags, beside passing the target flag also.

Fixes the following do_compile error:

|   /usr/include/linux/types.h:5:10: fatal error: 'asm/types.h' file not found
|   thread 'main' panicked at /yocto/sandbox/build/tmp/work/cortexa72-poky-linux/thin-provisioning-tools/1.1.0/sources-unpack/cargo_home/bitbake/devicemapper-sys-0.3.0/build.rs:24:10:
|   Could not generate dm.h bindings: ClangDiagnostic("/usr/include/linux/types.h:5:10: fatal error: 'asm/types.h' file not found\n")

Signed-off-by: Gyorgy Sarvari &lt;skandigraun@gmail.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>thin-provisioning-tools: Upgrade to 1.1.0</title>
<updated>2025-02-27T21:10:00+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2025-02-27T06:23:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=a271d827afb29b225eb6adbc6da252d2943abf1d'/>
<id>urn:sha1:a271d827afb29b225eb6adbc6da252d2943abf1d</id>
<content type='text'>
Specify BINDGEN_EXTRA_CLANG_ARGS to pass correct cflags to bindgen during
cross compile

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>thin-provisioning-tools: 1.0.13 -&gt; 1.0.14</title>
<updated>2025-02-25T05:31:38+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2025-02-25T03:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=e19b4c9755fd03bbe8ebb3ab92de5703030881a9'/>
<id>urn:sha1:e19b4c9755fd03bbe8ebb3ab92de5703030881a9</id>
<content type='text'>
* License-Update: Update links in GPLv3 (http -&gt; https)

* It need depend on pkg-config, udev and clang-native to build

* Move it to dynamic-layers since now it depends on meta-clang.

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