<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/recipes-devtools/clang/libcxx_git.bb, branch hardknott</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=hardknott</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=hardknott'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2020-08-21T17:30:52+00:00</updated>
<entry>
<title>libcxx: Fix build on rv32 and use compiler-rt on rv32/rv64</title>
<updated>2020-08-21T17:30:52+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-08-02T17:28:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=f26b8ea31eea468eac53f7218f9e9895d3c3b6d3'/>
<id>urn:sha1:f26b8ea31eea468eac53f7218f9e9895d3c3b6d3</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>libcxx: Default to compiler-rt when it is in PACKAGECONFIG</title>
<updated>2020-08-04T16:36:00+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-08-02T17:32:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=427b6cb4cdd03bf437f295952dcdda12213f157b'/>
<id>urn:sha1:427b6cb4cdd03bf437f295952dcdda12213f157b</id>
<content type='text'>
This ensures right C runtime is used as desired by user

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>libcxx: Fix linking based upon chosen compiler runtime</title>
<updated>2020-08-02T06:34:09+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-08-02T05:58:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=78015d19394e4c570015c97fd8bb56f7b797aa1c'/>
<id>urn:sha1:78015d19394e4c570015c97fd8bb56f7b797aa1c</id>
<content type='text'>
libcxx can use either libgcc_s or llvm libunwind for unwinder
functionality, the defaults are platform dependent, therefore with this
patch we make intentional choice based on RUNTIME settings chosen, e.g.
when using GNU runtime we use libgcc and also ensure that it add right
compiler options to build as well, since libcxx build looks C runtime by
calling $($CC --print-libgcc-file-name) to build libc++abi.so unless we
use right -rtlib option it will result in linking wrong library

Enable RTTI as well

do not enable llvm unwinder unless we chose llvm runtime, even that
might not work since libpthread from glibc explicitly dlopens
libgcc_s.so to enable unwinding

https://github.com/bminor/glibc/blob/5f72f9800b250410cad3abfeeb09469ef12b2438/sysdeps/nptl/unwind-forcedunwind.c#L53...L58

Fixes Issue #332

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>libcxx,compiler-rt: Use python3 during build</title>
<updated>2020-01-21T01:30:37+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-01-20T17:16:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=41fab212905a2047a277831ba9328465f242c27d'/>
<id>urn:sha1:41fab212905a2047a277831ba9328465f242c27d</id>
<content type='text'>
py2 is gone from oe-core

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: stay closer to cmake.bbclass</title>
<updated>2020-01-20T16:56:16+00:00</updated>
<author>
<name>Daniel McGregor</name>
<email>daniel.mcgregor@vecima.com</email>
</author>
<published>2019-02-15T00:42:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=269634b393554a5502e47cc0cf9a3f63a5856d45'/>
<id>urn:sha1:269634b393554a5502e47cc0cf9a3f63a5856d45</id>
<content type='text'>
Allow more of the cmake variables coming from the OE environment
through, otherwise the release C flags and CXX flags get reset to
LLVM's default, which greatly extend build times.

Also switch to using cmake.bbclass's do_compile and do_install
commands. There's no need to call ninja directly anymore.

Signed-off-by: Daniel McGregor &lt;daniel.mcgregor@vecima.com&gt;
</content>
</entry>
<entry>
<title>libcxx: Fix build on architectures with baselib != lib</title>
<updated>2019-12-20T23:58:15+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-12-20T21:19:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=dcd2a82c186ecbdfd70b254edf7fadeb606355a4'/>
<id>urn:sha1:dcd2a82c186ecbdfd70b254edf7fadeb606355a4</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>Compute LLVM_LIBDIR_SUFFIX correctly on multiarch environment</title>
<updated>2019-12-16T17:40:41+00:00</updated>
<author>
<name>Hiroshi Hatake</name>
<email>hatake@clear-code.com</email>
</author>
<published>2019-12-16T08:41:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=be7a567a8eab50e6a0a10b3409850ddd0d529a6f'/>
<id>urn:sha1:be7a567a8eab50e6a0a10b3409850ddd0d529a6f</id>
<content type='text'>
Co-authored-by: INAJIMA Daisuke &lt;inajima@soum.co.jp&gt;
</content>
</entry>
<entry>
<title>clang: Merge libunwind back into libcxx</title>
<updated>2019-10-09T18:58:54+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-10-09T07:28:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=d87c406c0f54e0e1ad4fb6aa2d0ecba93136139d'/>
<id>urn:sha1:d87c406c0f54e0e1ad4fb6aa2d0ecba93136139d</id>
<content type='text'>
Do not export libunwind to other recipes besides libcxx itself, we use
non-gnu libunwind on linux in general and its not a drop in replacement
as of yet

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Remove editing THUMB_TUNE_CCARGS</title>
<updated>2019-10-03T06:36:21+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-10-03T03:53:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=4b2d7a8ce783f9f275102f299a60c14b3d834918'/>
<id>urn:sha1:4b2d7a8ce783f9f275102f299a60c14b3d834918</id>
<content type='text'>
THUMB_TUNE_CCARGS is gone from oe-core

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>libcxx: Add packageconfig for compiler-rt use</title>
<updated>2019-10-03T06:36:21+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2019-10-03T01:42:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=6b552ae7442252b07abf41680696a904fea87ece'/>
<id>urn:sha1:6b552ae7442252b07abf41680696a904fea87ece</id>
<content type='text'>
This helps in disabling compiler-rt e.g. on risc-v if we need to enable
exceptions then we need to use libgcc_s, since llvm-libunwind is not yet
ported to risc-v

For ppc, enable compiler-rt

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