<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/llvm, 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>2019-01-17T08:56:49+00:00</updated>
<entry>
<title>package/llvm: set the path to llvm-config</title>
<updated>2019-01-17T08:56:49+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@smile.fr</email>
</author>
<published>2019-01-16T21:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=d3245ce4258f4f5e5230e976862a0fd40fdd1890'/>
<id>urn:sha1:d3245ce4258f4f5e5230e976862a0fd40fdd1890</id>
<content type='text'>
While building llvm for the target (x86_64), the build failed due to
path poisoning (-I/usr/include/libxml2) while building NATIVE tools
(i.e for the host). The llvm package tries to build a tool for the host
with the cross-compiler which doesn't work when the paranoid toolchain
wrapper (BR2_COMPILER_PARANOID_UNSAFE_PATH) is enabled.

We know that llvm (target) needs llvm-tablegen and llvm-config built by
host-llvm, but only LLVM_TABLEGEN is provided by llvm.mk. Adding
LLVM_CONFIG_PATH=$(HOST_DIR)/bin/llvm-config for llvm (target)
fixes the path poisoining issue since llvm doesn't build the NATIVE
variant.

Signed-off-by: Romain Naour &lt;romain.naour@smile.fr&gt;
Cc: Valentin Korenblit &lt;valentinkorenblit@gmail.com&gt;
Cc: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Tested-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/llvm: bump to version 7.0.1</title>
<updated>2018-12-27T15:38:41+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentinkorenblit@gmail.com</email>
</author>
<published>2018-12-26T20:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8ad93cc6347c94fda716530fb2d2a766ab063f49'/>
<id>urn:sha1:8ad93cc6347c94fda716530fb2d2a766ab063f49</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/llvm: bump to version 7.0.0</title>
<updated>2018-09-30T18:07:35+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentinkorenblit@gmail.com</email>
</author>
<published>2018-09-30T13:06:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=09a76d507dac9f03944f0f9d25c6bc9ee476e556'/>
<id>urn:sha1:09a76d507dac9f03944f0f9d25c6bc9ee476e556</id>
<content type='text'>
LLVM_BUILD_GLOBAL_ISEL does no longer exist

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@gmail.com&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/llvm: bump to version 6.0.1</title>
<updated>2018-07-27T21:46:06+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@gmail.com</email>
</author>
<published>2018-07-27T20:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=900fec702a5b2b6ca8ffc452eb1037f4a6b31f7e'/>
<id>urn:sha1:900fec702a5b2b6ca8ffc452eb1037f4a6b31f7e</id>
<content type='text'>
http://releases.llvm.org/6.0.1/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>llvm: bump to version 6.0.0</title>
<updated>2018-06-15T20:23:15+00:00</updated>
<author>
<name>Joseph Kogut</name>
<email>joseph.kogut@gmail.com</email>
</author>
<published>2018-06-14T22:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=2d8ce733b852a09764eeea57f73ab4b5859a3da4'/>
<id>urn:sha1:2d8ce733b852a09764eeea57f73ab4b5859a3da4</id>
<content type='text'>
Signed-off-by: Joseph Kogut &lt;joseph.kogut@gmail.com&gt;
Tested-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/llvm: fix host-llvm build with GCC8</title>
<updated>2018-05-17T20:01:53+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentin.korenblit@smile.fr</email>
</author>
<published>2018-05-16T15:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=db3dd600256e4ce3ba18496ea3e15c993489b598'/>
<id>urn:sha1:db3dd600256e4ce3ba18496ea3e15c993489b598</id>
<content type='text'>
This patch fixes the build of lli for host-llvm when using GCC 8.

It was taken from llvm-5.0 package for Fedora 28.

Link to bug: https://bugzilla.redhat.com/show_bug.cgi?id=1540620

Fixes:

http://autobuild.buildroot.net/results/824c70e982d8ec7e518cf4db058767df42db6b04/

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/llvm: bump to version 5.0.2</title>
<updated>2018-05-17T18:53:00+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentin.korenblit@smile.fr</email>
</author>
<published>2018-05-17T13:31:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=e702d5f69b0ed2e3ee24f7840a9f431175c1c983'/>
<id>urn:sha1:e702d5f69b0ed2e3ee24f7840a9f431175c1c983</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/llvm: delete LLVMHello.so from /usr/lib</title>
<updated>2018-05-02T09:33:22+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentin.korenblit@smile.fr</email>
</author>
<published>2018-05-02T09:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=cf1f6cd1e7741f90845f34c762bd8c63765d3307'/>
<id>urn:sha1:cf1f6cd1e7741f90845f34c762bd8c63765d3307</id>
<content type='text'>
LLVMHello.so contains the Hello World example of an
LLVM pass. It is not needed on the target.

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/llvm: fix typo in llvm.mk</title>
<updated>2018-04-12T19:16:24+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentin.korenblit@smile.fr</email>
</author>
<published>2018-04-12T12:02:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=62285fbe46c8d740aeabb9563204d7d74b5629f1'/>
<id>urn:sha1:62285fbe46c8d740aeabb9563204d7d74b5629f1</id>
<content type='text'>
"+=" was missing in -DLLVM_TARGETS_TO_BUILD, so LLVM_CONF_OPTS and
HOST_LLVM_CONF_OPTS before this option weren't being considered.

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/llvm: remove $ORIGIN/../lib from RPATH</title>
<updated>2018-04-12T19:12:51+00:00</updated>
<author>
<name>Valentin Korenblit</name>
<email>valentin.korenblit@smile.fr</email>
</author>
<published>2018-04-12T12:36:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=4f9e3989f3c736d9792e942fcf0f22b2e8210d00'/>
<id>urn:sha1:4f9e3989f3c736d9792e942fcf0f22b2e8210d00</id>
<content type='text'>
AddLLVM.cmake adds $ORIGIN/../lib to the RPATH of llvm binaries.  This
causes a problem when llvm-config built for the host, installed in
STAGING_DIR, is executed under the following conditions:

* Target architecture same as host architecture (normally x86_64)
* Target's libc different from host's libc (normally glibc)

llvm-config will try to link with the target's libc, resulting in:

./llvm-config: error while loading shared libraries: libc.so.0: cannot open shared object file: No such file or directory.

To avoid this, we simply add pass
-DCMAKE_INSTALL_RPATH="$(HOST_DIR)/lib" in HOST_LLVM_CONF_OPTS.

Link to discussion:

  http://lists.busybox.net/pipermail/buildroot/2018-April/218627.html

Fixes:

  http://autobuild.buildroot.net/results/b81c12d529c66a028e2297ea5ce1d6930324fa69/

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>
