<div dir="ltr">Hi,<div><br></div><div style>I think add EXTRAFLAGS = -c -emit-llvm in the target Makefile is what you looking for.</div><div style><br></div><div style>Regards,</div><div style>Tinti</div><div style><br></div>
<div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 5, 2013 at 9:11 AM, Marcelo Sousa <span dir="ltr">&lt;<a href="mailto:marceloabsousa@gmail.com" target="_blank">marceloabsousa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was able to successfully build vexpress. The only step that I need<br>
right now is to be able to call clang with -c -emit-llvm again. Can<br>
you point me to which Makefile I need to modify?<br>
<br>
Regards,<br>
Marcelo<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Mar 4, 2013 at 5:55 PM, Jan-Simon Möller<br>
&lt;<a href="mailto:jsmoeller@linuxfoundation.org">jsmoeller@linuxfoundation.org</a>&gt; wrote:<br>
&gt; A checkpoint is provided inside targets/x86_64/CHECKPOINTS ...<br>
&gt; Based on kernel 3.3.<br>
&gt;<br>
&gt; I&#39;m back next week.<br>
&gt;<br>
&gt; Best,<br>
&gt; JS<br>
&gt;<br>
&gt; Am Montag, 4. März 2013, 11:07:38 schrieb Behan Webster:<br>
&gt;&gt; On 03/04/13 10:57, Marcelo Sousa wrote:<br>
&gt;&gt; &gt; Hello,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;m getting the following error when trying to build x86:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ---------------------------------------------------------------------<br>
&gt;&gt; &gt; Patching LLVM...<br>
&gt;&gt; &gt; ---------------------------------------------------------------------<br>
&gt;&gt; &gt; (cd /home/scratch/llvm-setup/toolchain/clang/src/llvm &amp;&amp; quilt push -a)<br>
&gt;&gt; &gt; Applying patch patches/0002-pax-linux-llvm-x86_handle-empty-archive.patch<br>
&gt;&gt; &gt; can&#39;t find file to patch at input line 15<br>
&gt;&gt; &gt; Perhaps you used the wrong -p or --strip option?<br>
&gt;&gt; &gt; The text leading up to this was:<br>
&gt;&gt; &gt; --------------------------<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; |From 7cb2d39b461c58df2583a6881f42b18c30f1eafb Mon Sep 17 00:00:00 2001<br>
&gt;&gt; &gt; |From: =?UTF-8?q?Jan-Simon=20M=C3=B6ller?= &lt;<a href="mailto:dl9pf@gmx.de">dl9pf@gmx.de</a>&gt;<br>
&gt;&gt; &gt; |Date: Tue, 10 Jul 2012 12:37:24 +0200<br>
&gt;&gt; &gt; |Subject: [PATCH 2/6] pax-linux-llvm x86_handle-empty-archive.patch<br>
&gt;&gt; &gt; |<br>
&gt;&gt; &gt; |Patch from series at<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; <a href="http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/14270" target="_blank">http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/14270</a><br>
&gt;&gt; &gt; 7.html by PaX Team.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; |---<br>
&gt;&gt; &gt; |<br>
&gt;&gt; &gt; | lib/Linker/LinkItems.cpp |    5 ++++-<br>
&gt;&gt; &gt; | 1 files changed, 4 insertions(+), 1 deletions(-)<br>
&gt;&gt; &gt; |<br>
&gt;&gt; &gt; |diff --git a/lib/Linker/LinkItems.cpp b/lib/Linker/LinkItems.cpp<br>
&gt;&gt; &gt; |index 52a0d17..2782196 100644<br>
&gt;&gt; &gt; |--- a/lib/Linker/LinkItems.cpp<br>
&gt;&gt; &gt; |+++ b/lib/Linker/LinkItems.cpp<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; --------------------------<br>
&gt;&gt; &gt; No file to patch.  Skipping patch.<br>
&gt;&gt; &gt; 1 out of 1 hunk ignored<br>
&gt;&gt; &gt; Patch patches/0002-pax-linux-llvm-x86_handle-empty-archive.patch does<br>
&gt;&gt; &gt; not apply (enforce with -f)<br>
&gt;&gt; &gt; make: *** [/home/scratch/llvm-setup/toolchain/clang/state/llvm-patch]<br>
&gt;&gt; &gt; Error 1<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any ideas of what&#39;s going wrong?<br>
&gt;&gt;<br>
&gt;&gt; The x86_64 build is broken (known issue). The maintainer of that target<br>
&gt;&gt; is working on it. However he&#39;s away on business right now, so he has<br>
&gt;&gt; less time to spend on it than normal.<br>
&gt;&gt;<br>
&gt;&gt; Due to the nature of our project, we need to work from the HEAD of the<br>
&gt;&gt; Linux Kernel and LLVM project, which means things can break easily.<br>
&gt;&gt;<br>
&gt;&gt; We should probably provide a config file which allows you to compile an<br>
&gt;&gt; eariler version of our project which does work.<br>
&gt;&gt;<br>
&gt;&gt; Behan<br>
&gt; --<br>
&gt;<br>
&gt; Sincerely yours,<br>
&gt;<br>
&gt; Jan-Simon Möller<br>
&gt;<br>
&gt; <a href="mailto:jsmoeller@linuxfoundation.org">jsmoeller@linuxfoundation.org</a><br>
&gt; _______________________________________________<br>
&gt; LLVMLinux mailing list<br>
&gt; <a href="mailto:LLVMLinux@lists.linuxfoundation.org">LLVMLinux@lists.linuxfoundation.org</a><br>
&gt; <a href="https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux</a><br>
_______________________________________________<br>
LLVMLinux mailing list<br>
<a href="mailto:LLVMLinux@lists.linuxfoundation.org">LLVMLinux@lists.linuxfoundation.org</a><br>
<a href="https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux" target="_blank">https://lists.linuxfoundation.org/mailman/listinfo/llvmlinux</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Simplicity is the ultimate sophistication<br></div>
</div>