<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-clang.git/classes/clang.bbclass, branch sumo</title>
<subtitle>Mirror of github.com/kraj/meta-clang.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-clang.git/atom?h=sumo</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-clang.git/atom?h=sumo'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/'/>
<updated>2017-09-19T04:01:06+00:00</updated>
<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: 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>
<entry>
<title>clang.bbclass: Add -Qunused-arguments to clang arguments</title>
<updated>2017-06-09T14:20:08+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-06-09T14:20:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=307a3e21bee9c5d20888a6c2fadf09ab9105660a'/>
<id>urn:sha1:307a3e21bee9c5d20888a6c2fadf09ab9105660a</id>
<content type='text'>
GCC ignores unused arguements by default, but Clang needs this extra
parameter to stop printing warnings about LDFLAGS passed during
compiling stage and CFLAGS passed during linking stage.

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>clang.bbclass: Disable llvm-libunwind for mips</title>
<updated>2017-03-23T04:26:01+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2017-03-23T04:26:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-clang.git/commit/?id=77ccc43956806ecc6087e38b340e7fface470b5c'/>
<id>urn:sha1:77ccc43956806ecc6087e38b340e7fface470b5c</id>
<content type='text'>
Its not ported to mips yet

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