<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/classes, branch rocko</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=rocko</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=rocko'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2017-10-05T22:50:34+00:00</updated>
<entry>
<title>clang,llvm,lld: Update to latest on release_50</title>
<updated>2017-10-05T22:50:34+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-10-05T22:06:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=5176136fe731f0e8e526fe7252e607dbafb3ac92'/>
<id>urn:sha1:5176136fe731f0e8e526fe7252e607dbafb3ac92</id>
<content type='text'>
Drop upstreamed patches

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>libcxx: Disable libunwind on all mips</title>
<updated>2017-09-19T04:01:06+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-09-19T00:27:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=87c42081202c3cfa64da92bbda28527afb9439b8'/>
<id>urn:sha1:87c42081202c3cfa64da92bbda28527afb9439b8</id>
<content type='text'>
llvm libunwind is still not ported to mips

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Prepend instead of appending to overrides</title>
<updated>2017-09-10T08:40:49+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-09-10T08:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=66667021eebaf4f606184b78495dd37cd578c42d'/>
<id>urn:sha1:66667021eebaf4f606184b78495dd37cd578c42d</id>
<content type='text'>
Right now it becomes highest priority override which we dont
want

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>classes: Do not replace armv7ve with armv7a anymore</title>
<updated>2017-08-29T15:51:10+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-08-29T15:51:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=b6b9f4a6cf5e2d250f39c58d0f9da6340dac22fb'/>
<id>urn:sha1:b6b9f4a6cf5e2d250f39c58d0f9da6340dac22fb</id>
<content type='text'>
clang-5.0 supports the option now

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: fix nativesdk build</title>
<updated>2017-08-23T16:10:29+00:00</updated>
<author>
<name>Ming Liu</name>
<email>peter.x.liu@external.atlascopco.com</email>
</author>
<published>2017-08-23T07:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=0ce41d411f9fd8213584e2b9fdc1cbb99910c330'/>
<id>urn:sha1:0ce41d411f9fd8213584e2b9fdc1cbb99910c330</id>
<content type='text'>
I could not manage to build nativesdk-clang, I encountered errors as
follows: (trimmed for purpose)
| ../gcc/x86_64-pokysdk-linux/6.3.0/ld::
| cannot find crt1.o: No such file or directory
| cannot find crtbegin.o: No such file or directory
| cannot find -lgcc
| cannot find -lgcc_s

After some investigation, I found it's caused by the llvm native tools
could not compile with crosssdk toolchains. (special linking flags
are needed)

So we introduce a cmake-native class with a task to generate a native
toolchain file, it will be used to build llvm native tools by passed
with CROSS_TOOLCHAIN_FLAGS_NATIVE.

Signed-off-by: Ming Liu &lt;peter.x.liu@external.atlascopco.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Switch c++ default to gnu++14 standard</title>
<updated>2017-08-12T20:13:53+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-08-12T20:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=d57536af86b27779125cb30202d562d6d4fbbfdc'/>
<id>urn:sha1:d57536af86b27779125cb30202d562d6d4fbbfdc</id>
<content type='text'>
Using cmdline options -std doesnt always work e.g. boost
where it uses c++ driver (clang++) to invoke compilation
but then passes '-x c' to choose the language for compilation

Which ends in errors like below

error: invalid argument '-std=c++14' not allowed with 'C'

Therefore change the defaults in driver itself to use gnu++14
which is default with g++ from gcc7+ too.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang++: Default to c++14 std</title>
<updated>2017-08-12T17:27:23+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-08-12T17:27:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=a32eecdf6ca62210381b0a8808829dd867ff06d4'/>
<id>urn:sha1:a32eecdf6ca62210381b0a8808829dd867ff06d4</id>
<content type='text'>
latest gcc7 also defaults to c++14, some packages
have started to use c++11 and newer features without
specifying -std option and rightly so now that gcc
defaults are c++14, applications can safely assume
c++14 as default

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>llvm-libunwind: Delete</title>
<updated>2017-07-31T16:20:22+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-07-31T16:14:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=61579d74eca12998ce988339dc71566a360309a7'/>
<id>urn:sha1:61579d74eca12998ce988339dc71566a360309a7</id>
<content type='text'>
build llvm libunwind along with libcxx

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang: Default to PIE when GCCPIE is set</title>
<updated>2017-07-29T17:31:38+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-07-29T15:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=ebf65eba343ae4c5e9af073b62d386d1749c12e0'/>
<id>urn:sha1:ebf65eba343ae4c5e9af073b62d386d1749c12e0</id>
<content type='text'>
This matches with OE-Core expectations and we
do not need to inject PIE flags manually via
SECURITY_CFLAGS which does not always work

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Add -pie -fPIE to SECURITY_PIE_CFLAGS explicitly</title>
<updated>2017-07-21T14:50:40+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-07-21T14:50:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=f00c4fe5f67fefc65bf5a3d430dc6bc1b8fc002c'/>
<id>urn:sha1:f00c4fe5f67fefc65bf5a3d430dc6bc1b8fc002c</id>
<content type='text'>
gcc in core now is configured with these options but clang
does not have a configuration level knob so we still need to
pass it old way

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