<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/clang, branch 2019.02-op-build</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2019.02-op-build'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2018-12-27T15:38:46+00:00</updated>
<entry>
<title>package/clang: bump to version 7.0.1</title>
<updated>2018-12-27T15:38:46+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentinkorenblit@gmail.com</email>
</author>
<published>2018-12-26T20:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b016f20c32dfb4c1aefdefae7d28f74b03740b44'/>
<id>urn:sha1:b016f20c32dfb4c1aefdefae7d28f74b03740b44</id>
<content type='text'>
Signed-off-by: Valentin Korenblit &lt;valentinkorenblit@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>package/clang: default linker to the cross GNU</title>
<updated>2018-10-21T14:28:50+00:00</updated>
<author>
<name>Matt Weber</name>
<email>matthew.weber@rockwellcollins.com</email>
</author>
<published>2018-10-21T12:21:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=c2b0fe80e025ebd816cf0447fb11022d3fe57309'/>
<id>urn:sha1:c2b0fe80e025ebd816cf0447fb11022d3fe57309</id>
<content type='text'>
By default clang is assuming the system linker /usr/bin/ld.  This
patchset updates the default to point at the cross toolchain ld.

Previously clang had been used on target only, this update is
required for host clang/clang++ to be used as a frontend for
cross-compiling.

Example build command:

output/host/bin/clang++ -mcpu=cortex-a53  \
  --sysroot /&lt;abs path&gt;/output/staging/ \
  -B /&lt;abs path&gt;/output/host/opt/ext-toolchain/ \
  foobar.cc -o foobar

Cc: Valentin Korenblit &lt;valentinkorenblit@gmail.com&gt;
Reviewed-by: Romain Naour &lt;romain.naour@gmail.com&gt;
Signed-off-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>package/clang: bump to version 7.0.0</title>
<updated>2018-09-30T18:08:39+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentinkorenblit@gmail.com</email>
</author>
<published>2018-09-30T13:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=fbb7c269dcbef5249e460034a84b82c6233c8b38'/>
<id>urn:sha1:fbb7c269dcbef5249e460034a84b82c6233c8b38</id>
<content type='text'>
LICENSE.TXT hash changed due to the Copyright date update.

Signed-off-by: Valentin Korenblit &lt;valentinkorenblit@gmail.com&gt;
Reviewed-by: Romain Naour &lt;romain.naour@smile.fr&gt;
Tested-by: Romain Naour &lt;romain.naour@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package: clean up remaining references to $(HOST_DIR)/usr</title>
<updated>2018-09-25T20:22:24+00:00</updated>
<author>
<name>Ferdinand van Aartsen</name>
<email>ferdinand@ombud.nl</email>
</author>
<published>2018-09-23T22:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=af0cd44a15e18aa4280cbbb5000c448987d3c98f'/>
<id>urn:sha1:af0cd44a15e18aa4280cbbb5000c448987d3c98f</id>
<content type='text'>
Signed-off-by: Ferdinand van Aartsen &lt;ferdinand@ombud.nl&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>package/clang: bump to version 6.0.1</title>
<updated>2018-07-27T21:46:16+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@gmail.com</email>
</author>
<published>2018-07-27T20:00:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=40d7ada340c599c897a9508530be187892822687'/>
<id>urn:sha1:40d7ada340c599c897a9508530be187892822687</id>
<content type='text'>
http://releases.llvm.org/6.0.1/tools/clang/docs/ReleaseNotes.html

Signed-off-by: Romain Naour &lt;romain.naour@gmail.com&gt;
Cc: Joseph Kogut &lt;joseph.kogut@gmail.com&gt;
Cc: Valentin Korenblit &lt;valentinkorenblit@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>clang: bump to version 6.0.0</title>
<updated>2018-06-15T20:23:38+00:00</updated>
<author>
<name>Joseph Kogut</name>
<email>joseph.kogut@gmail.com</email>
</author>
<published>2018-06-14T22:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=1f4616a1de1bf2b73140f4e9426d2225640bbc46'/>
<id>urn:sha1:1f4616a1de1bf2b73140f4e9426d2225640bbc46</id>
<content type='text'>
Signed-off-by: Joseph Kogut &lt;joseph.kogut@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>package/clang: fix host-clang binaries</title>
<updated>2018-06-01T16:24:18+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentin.korenblit@smile.fr</email>
</author>
<published>2018-05-30T11:46:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=71b3df1cbbfeb69d9f9a39af9a1ae5722215a9a3'/>
<id>urn:sha1:71b3df1cbbfeb69d9f9a39af9a1ae5722215a9a3</id>
<content type='text'>
This patch fixes the following error when trying to execute clang compiler
(host-variant):

CommandLine Error: Option 'x86-use-base-pointer' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

The same happens for the other binaries, such as clang-format:

./clang-format
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

Clang binaries are tools, and given that DLLVM_LINK_LLVM_DYLIB is set,
they are linked against libLLVM.so. The problem is that binaries are
also linking against some LLVM static libraries, resulting in the error
shown above. However, it is not the same case for libclang, which is also
a tool but links only against libLLVM.so.

To fix this problem, add LLVM_DYLIB_COMPONENTS=all.

Signed-off-by: Valentin Korenblit &lt;valentin.korenblit@smile.fr&gt;
Tested-by: Joseph Kogut &lt;joseph.kogut@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/clang: bump to version 5.0.2</title>
<updated>2018-05-17T18:53:03+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentin.korenblit@smile.fr</email>
</author>
<published>2018-05-17T13:31:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=31e4328728dd78f4df7499d5e310be597a759907'/>
<id>urn:sha1:31e4328728dd78f4df7499d5e310be597a759907</id>
<content type='text'>
5.0.2  is API and ABI compatible with 5.0.0 and 5.0.1 and includes
mitigations for CVE-2017-5715 (Spectre Variant 2) for X86 and MIPS.

Signed-off-by: Valentin Korenblit &lt;valentin.korenblit@smile.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>package/clang: link libclang against libLLVM.so</title>
<updated>2018-05-11T21:22:01+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentin.korenblit@smile.fr</email>
</author>
<published>2018-05-11T11:47:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=95fc31239962ae488b159f83e8fc436c10b1128c'/>
<id>urn:sha1:95fc31239962ae488b159f83e8fc436c10b1128c</id>
<content type='text'>
libclang.so is statically linking against all LLVM static libraries
instead of linking dynamically against libLLVM.so.

This patch fixes this problem by setting LLVM_LINK_LLVM_DYLIB to ON.

Signed-off-by: Valentin Korenblit &lt;valentin.korenblit@smile.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>package/clang: delete unnecessary files from target</title>
<updated>2018-05-02T12:48:58+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentin.korenblit@smile.fr</email>
</author>
<published>2018-05-02T10:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e1540151c104d86003736a845e23969283cea4c6'/>
<id>urn:sha1:e1540151c104d86003736a845e23969283cea4c6</id>
<content type='text'>
Delete:
	Binaries in: /usr/bin
		     /usr/libexec

	Directories: /usr/lib/clang
		     /usr/share/clang
		     /usr/share/opt-viewer
		     /usr/share/scan-build
		     /usr/share/scan-view

	Manual:	     /usr/share/man/man1/scan-build.1

Signed-off-by: Valentin Korenblit &lt;valentin.korenblit@smile.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@bootlin.com&gt;
</content>
</entry>
</feed>
