<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/recipes-core, branch pyro</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=pyro</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=pyro'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2017-02-13T16:41:44+00:00</updated>
<entry>
<title>ncurses: fix build errors in some clang configurations</title>
<updated>2017-02-13T16:41:44+00:00</updated>
<author>
<name>Daniel McGregor</name>
<email>daniel.mcgregor@vecima.com</email>
</author>
<published>2016-04-04T16:23:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=9a73a14da45ffcfa9346760123541f36dde9be2f'/>
<id>urn:sha1:9a73a14da45ffcfa9346760123541f36dde9be2f</id>
<content type='text'>
ncurses' configure script strips the arguments from $CC when checking
if -c and -o can be used together. Clang then doesn't have a default
sysroot argument to use, so it checks the host for the existence of
certain feature headers in libc. These checks fail, and it assumes
that clang can't handle -o and -c together.

Example config.log snippet:

configure:2524: checking whether arm-poky-linux-gnueabi-clang understands -c and -o together
configure:2540: arm-poky-linux-gnueabi-clang -c conftest.c -o conftest2.o &gt;&amp;5
In file included from conftest.c:1:
In file included from /usr/include/stdio.h:27:
In file included from /usr/include/features.h:399:
/usr/include/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found
# include &lt;gnu/stubs-32.h&gt;
          ^
1 error generated.
configure:2543: $? = 1
configure:2562: result: no

Signed-off-by: Daniel McGregor &lt;daniel.mcgregor@vecima.com&gt;
</content>
</entry>
<entry>
<title>packagegroup-core-standalone-sdk-target.bbappend: Append only for clang toolchain</title>
<updated>2016-05-26T05:03:25+00:00</updated>
<author>
<name>Steve Sakoman</name>
<email>steve@sakoman.com</email>
</author>
<published>2016-05-25T23:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=22055598e9b9933d0e94154a7fc5a0525ad3fa1e'/>
<id>urn:sha1:22055598e9b9933d0e94154a7fc5a0525ad3fa1e</id>
<content type='text'>
Applying the below patch gets rid of all of the extra packages except
glibmm-dev.  I have no idea where that is coming from!

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta-environment: Drop toolchain-clang override</title>
<updated>2016-05-11T02:49:56+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2016-05-11T02:49:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=16aab174d073f382f635b8086fd9a545da332953'/>
<id>urn:sha1:16aab174d073f382f635b8086fd9a545da332953</id>
<content type='text'>
It does not work and moreover its redundant

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta-environment: Remove cmdline options unknown to clang</title>
<updated>2016-05-11T02:28:58+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2016-05-11T02:28:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8a8d7388843ea4e16796459d7a4e60201ce92b3b'/>
<id>urn:sha1:8a8d7388843ea4e16796459d7a4e60201ce92b3b</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang-cross: Remove dep on libc-for-gcc</title>
<updated>2016-05-06T12:48:55+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2016-05-06T12:48:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=8b9f6773c2a250e2f5e85426066a745bc3e6493e'/>
<id>urn:sha1:8b9f6773c2a250e2f5e85426066a745bc3e6493e</id>
<content type='text'>
We do not need libc to build clang
Add dep on clang-cross when building musl
with clang

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang-runtime: Enable shared libraries</title>
<updated>2016-04-05T04:39:20+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2016-04-05T04:39:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=5a33935e8bb34e392913234b3251d26949b29bcb'/>
<id>urn:sha1:5a33935e8bb34e392913234b3251d26949b29bcb</id>
<content type='text'>
package libcxxabi-dev and compiler-rt-staticdev
into packagegroup-core-standalone-sdk-target so it
gets into SDK

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>packagegroup-core-standalone-sdk-target: Add clang runtime libs</title>
<updated>2016-04-04T03:11:39+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2016-04-04T03:11:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=734c2109d7352939198bc4cbcb24dd27619e99a6'/>
<id>urn:sha1:734c2109d7352939198bc4cbcb24dd27619e99a6</id>
<content type='text'>
ALLOW_EMPTY is added so packaging can succeed
the files are all static libs

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove -mmusl and -muclibc</title>
<updated>2016-04-01T22:45:41+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2016-04-01T22:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=18037e0158dd8956b4851f881acad06c42140a60'/>
<id>urn:sha1:18037e0158dd8956b4851f881acad06c42140a60</id>
<content type='text'>
These options were introduced in OE-Core to support multi libc SDKs
and added with

Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Sat Jul 25 14:48:21 2015 +0100

    toolchain-scripts: For non-glibc, pass compiler options to ensure the correct libc selection

    gcc-cross-canadian-&lt;arch&gt; is only built once. It needs to target all the
    different libcs, not just the currently selected one. This change ensures
    that if another libc is used, the compiler correctly selects the right one.

    [YOCTO #8025]

    (From OE-Core rev: da2e92e256054b137a1646fdad1fe1a47ba3215a)

Clang however acts based on crosscompiler name and does not have option to controlled
multi libc scene

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>packagegroup-cross-canadian: Fix append for clang into SDK</title>
<updated>2016-04-01T16:23:33+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2016-04-01T16:23:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=87642f3356cd5c0d9c3b073f5147317965b90fe7'/>
<id>urn:sha1:87642f3356cd5c0d9c3b073f5147317965b90fe7</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>glib-2.0: Fix build with clang/musl combo</title>
<updated>2015-09-25T05:10:01+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2015-09-25T05:10:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=a3794da3b2440f6ac550e77c9f36d3b1aaed4762'/>
<id>urn:sha1:a3794da3b2440f6ac550e77c9f36d3b1aaed4762</id>
<content type='text'>
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
