<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/dynamic-layers, branch kirkstone</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=kirkstone</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=kirkstone'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2026-01-08T22:48:20+00:00</updated>
<entry>
<title>android-tools: Specify branch</title>
<updated>2026-01-08T22:48:20+00:00</updated>
<author>
<name>Daniel Díaz</name>
<email>daniel.diaz@sonos.com</email>
</author>
<published>2026-01-07T20:23:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=eafdaa3cda9000c6d9bd1819ffe1219c7b66e4b8'/>
<id>urn:sha1:eafdaa3cda9000c6d9bd1819ffe1219c7b66e4b8</id>
<content type='text'>
With the removal of `nobranch=1`, the Git Fetcher complains
about the following:

  WARNING: /poky/meta-clang/dynamic-layers/selinux/android-tools/android-tools_10.0.0.r36.bb: URL: git://salsa.debian.org/android-tools-team/android-platform-external-boringssl;name=boringssl;protocol=https;destsuffix=git/external/boringssl does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls.
  WARNING: /poky/meta-clang/dynamic-layers/selinux/android-tools/android-tools_10.0.0.r36.bb: URL: git://salsa.debian.org/android-tools-team/android-platform-system-core;name=core;protocol=https;destsuffix=git/system/core does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls.
  WARNING: /poky/meta-clang/dynamic-layers/selinux/android-tools/android-tools_10.0.0.r36.bb: URL: git://salsa.debian.org/android-tools-team/android-platform-system-extras;name=extras;protocol=https;destsuffix=git/system/extras does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls.
  WARNING: /poky/meta-clang/dynamic-layers/selinux/android-tools/android-tools_10.0.0.r36.bb: URL: git://salsa.debian.org/android-tools-team/android-platform-build.git;name=build;protocol=https;destsuffix=git/build does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls.
  WARNING: /poky/meta-clang/dynamic-layers/selinux/android-tools/android-tools_10.0.0.r36.bb: URL: git://salsa.debian.org/android-tools-team/android-platform-external-libunwind.git;protocol=https;name=libunwind;destsuffix=git/external/libunwind does not set any branch parameter. The future default branch used by tools and repositories is uncertain and we will therefore soon require this is set in all git urls.

To avoid this problem, add the branch where the commits can be
found, which for all cases is the `master` branch.

Signed-off-by: Daniel Díaz &lt;daniel.diaz@sonos.com&gt;
</content>
</entry>
<entry>
<title>android-tools: Remove use of nobranch</title>
<updated>2025-09-17T03:51:26+00:00</updated>
<author>
<name>Nitin Wankhade</name>
<email>nitin.wankhade333@gmail.com</email>
</author>
<published>2025-09-10T06:46:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=26de1c560ef3caf3cf641cd54ed0b7cbdc219ed9'/>
<id>urn:sha1:26de1c560ef3caf3cf641cd54ed0b7cbdc219ed9</id>
<content type='text'>
remove use of nobranch=1 so that source
can be pick up from master branch

For libhardware SRCREV not present in
master branch so mentioned the branch
android10-qpr2-release

Signed-off-by: Nitin Wankhade &lt;nitin.wankhade333@gmail.com&gt;
</content>
</entry>
<entry>
<title>bcc: fix CVE-2024-2314</title>
<updated>2025-04-11T00:55:17+00:00</updated>
<author>
<name>Divya Chellam</name>
<email>divya.chellam@windriver.com</email>
</author>
<published>2025-04-08T04:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8a1d0a1993040ab9d2fb7259b71e4c9582f5cd17'/>
<id>urn:sha1:8a1d0a1993040ab9d2fb7259b71e4c9582f5cd17</id>
<content type='text'>
If kernel headers need to be extracted, bcc will attempt to load them
from a temporary directory. An unprivileged attacker could use this to
force bcc to load compromised linux headers. Linux distributions which
provide kernel headers by default are not affected by default.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2024-2314

Upstream-patch:
https://github.com/iovisor/bcc/commit/008ea09e891194c072f2a9305a3c872a241dc342

Signed-off-by: Divya Chellam &lt;divya.chellam@windriver.com&gt;
</content>
</entry>
<entry>
<title>android-tools: Fix library linking issue for img2simg and simg2img</title>
<updated>2025-03-05T14:19:04+00:00</updated>
<author>
<name>Bhabu Bindu</name>
<email>bindu.bhabu@kpit.com</email>
</author>
<published>2025-03-04T08:16:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=0356fab9b788e6071471f82743964aec1775cd71'/>
<id>urn:sha1:0356fab9b788e6071471f82743964aec1775cd71</id>
<content type='text'>
Fix "libsparse.so.0:cannot open shared object file:No such file or directory"
error found at runtime on usage of img2simg and simg2img.

Modify patches to resolve the issue by updating LDFLAGS to use a relative
rpath instead of a fixed path to ensure runtime linking works correcly.
Explicitly link additional libraries to resolve dependencies.

Signed-off-by: Bhabu Bindu &lt;bindu.bhabu@kpit.com&gt;
</content>
</entry>
<entry>
<title>android-tools: Install img2simg and simg2img</title>
<updated>2025-03-05T14:19:04+00:00</updated>
<author>
<name>Bhabu Bindu</name>
<email>bindu.bhabu@kpit.com</email>
</author>
<published>2025-03-04T08:16:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=9d003f71a94740ba22840c7f778aa36f8ff7a8cf'/>
<id>urn:sha1:9d003f71a94740ba22840c7f778aa36f8ff7a8cf</id>
<content type='text'>
Install img2simg and simg2img binaries to enable usage
of img2simg instead of ext2simg if required.

Signed-off-by: Bhabu Bindu &lt;bindu.bhabu@kpit.com&gt;
</content>
</entry>
<entry>
<title>android-tools: allow removing fastboot from TOOLS_TO_BUILD</title>
<updated>2023-03-10T16:59:00+00:00</updated>
<author>
<name>Etienne Cordonnier</name>
<email>ecordonnier@snap.com</email>
</author>
<published>2023-03-06T10:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=7e3f2a4126d1bfacda497dfa6b59f3f471f1a984'/>
<id>urn:sha1:7e3f2a4126d1bfacda497dfa6b59f3f471f1a984</id>
<content type='text'>
The fastboot makefile is creating the directory $(OUT_DIR)/usr/bin, so removing
fastboot from TOOLS_TO_BUILD in a bbappend resulted in a build failure
because of the missing directory $(OUT_DIR)/usr/bin.

Signed-off-by: Etienne Cordonnier &lt;ecordonnier@snap.com&gt;
</content>
</entry>
<entry>
<title>android-tools: make it work with devtool</title>
<updated>2023-03-10T16:59:00+00:00</updated>
<author>
<name>Etienne Cordonnier</name>
<email>ecordonnier@snap.com</email>
</author>
<published>2023-03-03T10:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=547fbf8cc032799167586d9fca6947ea7e697ac5'/>
<id>urn:sha1:547fbf8cc032799167586d9fca6947ea7e697ac5</id>
<content type='text'>
devtool modify android-tools was failing with an error:

- regenerate patches in the git format working with devtool
- add debian patches to yocto instead of applying them manually with do_unpack_and_patch_debian,
  to make it work with devtool

Signed-off-by: Etienne Cordonnier &lt;ecordonnier@snap.com&gt;
</content>
</entry>
<entry>
<title>android-tools: fix libcrypto_utils link error</title>
<updated>2023-03-06T18:21:41+00:00</updated>
<author>
<name>Etienne Cordonnier</name>
<email>ecordonnier@snap.com</email>
</author>
<published>2023-03-02T13:23:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=15ea5a1f8fc24af96055cd7bf416b0d8fd90243e'/>
<id>urn:sha1:15ea5a1f8fc24af96055cd7bf416b0d8fd90243e</id>
<content type='text'>
When building android-tools, this chain of dependency pulls the openssl library libcrypto.so.3 in recipe-sysroot:
clang-native -&gt; cmake-native -&gt; curl-native -&gt; openssl-native

The issue is that libcrypto_utils attempt to link against the libcrypto.so produced by boringssl (debian/out/usr/lib/android/libcrypto.so),
but the -L flags added by yocto to CPPFLAGS appear before the -L flag provided in the patch, and therefore the wrong library is used.

Link explicitly against libcrypto.so.0 in order to ignore the openssl library and use boringssl instead.

Note: to debug this add -Wl,--verbose to LDFLAGS

Signed-off-by: Etienne Cordonnier &lt;ecordonnier@snap.com&gt;
</content>
</entry>
<entry>
<title>android-tools: make native version compile</title>
<updated>2023-03-06T18:21:41+00:00</updated>
<author>
<name>Etienne Cordonnier</name>
<email>ecordonnier@snap.com</email>
</author>
<published>2023-03-02T12:02:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=ef927a6289b183a1af49fe55507a63bd8294c9d1'/>
<id>urn:sha1:ef927a6289b183a1af49fe55507a63bd8294c9d1</id>
<content type='text'>
Those 2 warnings (caused by the combination of -nostdlib and the options added by meta-clang) were treated as errors:

"""
clang-14: warning: argument unused during compilation: '-rtlib=libgcc' [-Wunused-command-line-argument]
clang-14: warning: argument unused during compilation: '--unwindlib=libgcc' [-Wunused-command-line-argument]
"""

Signed-off-by: Etienne Cordonnier &lt;ecordonnier@snap.com&gt;
</content>
</entry>
<entry>
<title>android-tools-conf: fix typo</title>
<updated>2023-03-06T18:21:41+00:00</updated>
<author>
<name>Etienne Cordonnier</name>
<email>ecordonnier@snap.com</email>
</author>
<published>2023-03-02T12:00:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=c33054096960cef21a7d73d77e9d68bf1d65b001'/>
<id>urn:sha1:c33054096960cef21a7d73d77e9d68bf1d65b001</id>
<content type='text'>
Signed-off-by: Etienne Cordonnier &lt;ecordonnier@snap.com&gt;
</content>
</entry>
</feed>
