<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/recipes-devtools/clang/compiler-rt_git.bb, branch nanbield</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=nanbield</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=nanbield'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2023-08-02T03:37:52+00:00</updated>
<entry>
<title>compiler-rt,compiler-rt-sanitizers: Correct target tuple for armhf</title>
<updated>2023-08-02T03:37:52+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2023-08-01T03:21:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=04b2bd9b86301c905e352b4e6cfdacae1c3a2659'/>
<id>urn:sha1:04b2bd9b86301c905e352b4e6cfdacae1c3a2659</id>
<content type='text'>
It will fails on clang-17+
| CMake Error at /mnt/b/yoe/master/build/tmp/work-shared/llvm-project-source-17.0.0-r0/git/compiler-rt/cmake/Modules/CheckSectionExists.cmake:72 (message):
|   error: unknown target triple 'armhf'

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>compiler-rt: fix installed-vs-shipped qa issue</title>
<updated>2023-03-29T00:29:07+00:00</updated>
<author>
<name>Kai Kang</name>
<email>kai.kang@windriver.com</email>
</author>
<published>2023-03-28T02:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8bf663a4198f2c003aaa449764c91cd36fe807b8'/>
<id>urn:sha1:8bf663a4198f2c003aaa449764c91cd36fe807b8</id>
<content type='text'>
It fails to run task do_package of compiler-rt with
[installed-vs-shipped] issue when ${libdir} does not equal
${nonarch_libdir}. Update do_install script to fix the issue.

Signed-off-by: Kai Kang &lt;kai.kang@windriver.com&gt;
</content>
</entry>
<entry>
<title>compiler-rt: Do not include tests in build</title>
<updated>2023-03-20T14:48:27+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2023-01-12T17:29:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=6ce232d0769fdaba4a335084c4b4c27bffeda672'/>
<id>urn:sha1:6ce232d0769fdaba4a335084c4b4c27bffeda672</id>
<content type='text'>
Install uses MAJOR_VERSION only but clang still searches in
${MAJOR_VER}.${MINOR_VER}.${PATCH_VER} for it, so this inconsistency
needs to be fixed until them we just move the install from
${MAJOR_VER} -&gt; ${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>runtime: Enable PIC for static archives with clang runtime libs</title>
<updated>2023-02-06T19:35:04+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2023-02-05T18:49:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=3ae053a300a72e0fefbcf9220d05b6a6fbccb84c'/>
<id>urn:sha1:3ae053a300a72e0fefbcf9220d05b6a6fbccb84c</id>
<content type='text'>
This helps in compling shared libraries which may use e.g. static
libc++.a during link

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang, llvm-rutime: Turn per target runtime off and use RelWithDebInfo for build</title>
<updated>2022-09-12T17:51:30+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2022-07-28T16:22:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=6c5f6b00fd5ccfabe2483d9c03f570c9feac8fe8'/>
<id>urn:sha1:6c5f6b00fd5ccfabe2483d9c03f570c9feac8fe8</id>
<content type='text'>
clang can now build multiarch runtimes like debian's setup, but not all
arches work equally well, e.g. arm32 bit can not handle arm and armhf
case, so lets disable it for now.

Use DCMAKE_BUILD_TYPE=RelWithDebInfo as it is needed to set
DCMAKE_BUILD_TYPE in 15.x

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Fix native and nativesdk builds for hf targets</title>
<updated>2022-07-05T13:28:05+00:00</updated>
<author>
<name>Esben Haabendal</name>
<email>esben.haabendal@huawei.com</email>
</author>
<published>2022-06-29T14:22:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=9cea73660aa56b461f96487ddcbfba5e7b64fafb'/>
<id>urn:sha1:9cea73660aa56b461f96487ddcbfba5e7b64fafb</id>
<content type='text'>
Setting the ${HF} variable based on ${TUNE_CCARGS_MFLOAT} does only make sense
for target builds, as it defines arguments for target.  Without this fix,
building with hf machine configuration will cause problems, as native and
nativesdk triplets will be include "hf", something like "x86_64hf-linux", which
is wrong and not recognized by LLVM build/configuration system.

Signed-off-by: Esben Haabendal &lt;esben.haabendal@huawei.com&gt;
</content>
</entry>
<entry>
<title>compiler-rt: Build clang_rt.profile library when possible</title>
<updated>2022-06-02T02:55:00+00:00</updated>
<author>
<name>Esben Haabendal</name>
<email>esben.haabendal@huawei.com</email>
</author>
<published>2022-05-25T08:42:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=659d43190d906b6e6081deb48a4bdb038eea0f27'/>
<id>urn:sha1:659d43190d906b6e6081deb48a4bdb038eea0f27</id>
<content type='text'>
To enable clang_rt.profile library do something like the following in
local.conf or your distro configuration.

    PACKAGECONFIG:pn-compiler-rt = "profile"

The clang_rt.profile library is used to collect coverage information. It is a
static library, so does not introduce any additional footprint in
target images.

Signed-off-by: Esben Haabendal &lt;esben.haabendal@huawei.com&gt;
</content>
</entry>
<entry>
<title>compiler-rt: Fix nativesdk building</title>
<updated>2022-04-26T03:15:57+00:00</updated>
<author>
<name>Esben Haabendal</name>
<email>esben.haabendal@huawei.com</email>
</author>
<published>2022-04-07T12:32:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=f3c3e492285b57b269916b795b2e8b8767eb6179'/>
<id>urn:sha1:f3c3e492285b57b269916b795b2e8b8767eb6179</id>
<content type='text'>
Signed-off-by: Esben Haabendal &lt;esben.haabendal@huawei.com&gt;
</content>
</entry>
<entry>
<title>compiler-rt: Build builtins only for the default target</title>
<updated>2022-04-20T22:40:24+00:00</updated>
<author>
<name>Esben Haabendal</name>
<email>esben.haabendal@huawei.com</email>
</author>
<published>2022-04-12T11:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=74c7f6524cddd258f916e8e4acfb9e49d1870b65'/>
<id>urn:sha1:74c7f6524cddd258f916e8e4acfb9e49d1870b65</id>
<content type='text'>
We were never really supposed to build for multiple target architectures in one
compiler-rt build, so let's use the feature created to do exactly that.

This also happens to fix building for ARM softfp ABI builds, where the target
architecture guessing logics ends up with:

    -- Builtin supported architectures: arm;armv6m

And later on bailing out because of duplicate ninja rules:

    ninja: error: build.ninja:56765: multiple rules generate lib/clang/14.0.0/lib/linux/libclang_rt.builtins-arm.a [-w dupbuild=err]

Signed-off-by: Esben Haabendal &lt;esben.haabendal@huawei.com&gt;
</content>
</entry>
<entry>
<title>clang/compiler-rt: Convert to new override syntax</title>
<updated>2021-08-12T18:13:58+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2021-08-10T16:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=45a3707291a4e8bd2469b0d2bb9cf9e07878ae08'/>
<id>urn:sha1:45a3707291a4e8bd2469b0d2bb9cf9e07878ae08</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
