<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"><<a href="mailto:marceloabsousa@gmail.com" target="_blank">marceloabsousa@gmail.com</a>></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>
<<a href="mailto:jsmoeller@linuxfoundation.org">jsmoeller@linuxfoundation.org</a>> wrote:<br>
> A checkpoint is provided inside targets/x86_64/CHECKPOINTS ...<br>
> Based on kernel 3.3.<br>
><br>
> I'm back next week.<br>
><br>
> Best,<br>
> JS<br>
><br>
> Am Montag, 4. März 2013, 11:07:38 schrieb Behan Webster:<br>
>> On 03/04/13 10:57, Marcelo Sousa wrote:<br>
>> > Hello,<br>
>> ><br>
>> > I'm getting the following error when trying to build x86:<br>
>> ><br>
>> > ---------------------------------------------------------------------<br>
>> > Patching LLVM...<br>
>> > ---------------------------------------------------------------------<br>
>> > (cd /home/scratch/llvm-setup/toolchain/clang/src/llvm && quilt push -a)<br>
>> > Applying patch patches/0002-pax-linux-llvm-x86_handle-empty-archive.patch<br>
>> > can't find file to patch at input line 15<br>
>> > Perhaps you used the wrong -p or --strip option?<br>
>> > The text leading up to this was:<br>
>> > --------------------------<br>
>> ><br>
>> > |From 7cb2d39b461c58df2583a6881f42b18c30f1eafb Mon Sep 17 00:00:00 2001<br>
>> > |From: =?UTF-8?q?Jan-Simon=20M=C3=B6ller?= <<a href="mailto:dl9pf@gmx.de">dl9pf@gmx.de</a>><br>
>> > |Date: Tue, 10 Jul 2012 12:37:24 +0200<br>
>> > |Subject: [PATCH 2/6] pax-linux-llvm x86_handle-empty-archive.patch<br>
>> > |<br>
>> > |Patch from series at<br>
>> ><br>
>> > <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>
>> > 7.html by PaX Team.<br>
>> ><br>
>> > |---<br>
>> > |<br>
>> > | lib/Linker/LinkItems.cpp | 5 ++++-<br>
>> > | 1 files changed, 4 insertions(+), 1 deletions(-)<br>
>> > |<br>
>> > |diff --git a/lib/Linker/LinkItems.cpp b/lib/Linker/LinkItems.cpp<br>
>> > |index 52a0d17..2782196 100644<br>
>> > |--- a/lib/Linker/LinkItems.cpp<br>
>> > |+++ b/lib/Linker/LinkItems.cpp<br>
>> ><br>
>> > --------------------------<br>
>> > No file to patch. Skipping patch.<br>
>> > 1 out of 1 hunk ignored<br>
>> > Patch patches/0002-pax-linux-llvm-x86_handle-empty-archive.patch does<br>
>> > not apply (enforce with -f)<br>
>> > make: *** [/home/scratch/llvm-setup/toolchain/clang/state/llvm-patch]<br>
>> > Error 1<br>
>> ><br>
>> ><br>
>> > Any ideas of what's going wrong?<br>
>><br>
>> The x86_64 build is broken (known issue). The maintainer of that target<br>
>> is working on it. However he's away on business right now, so he has<br>
>> less time to spend on it than normal.<br>
>><br>
>> Due to the nature of our project, we need to work from the HEAD of the<br>
>> Linux Kernel and LLVM project, which means things can break easily.<br>
>><br>
>> We should probably provide a config file which allows you to compile an<br>
>> eariler version of our project which does work.<br>
>><br>
>> Behan<br>
> --<br>
><br>
> Sincerely yours,<br>
><br>
> Jan-Simon Möller<br>
><br>
> <a href="mailto:jsmoeller@linuxfoundation.org">jsmoeller@linuxfoundation.org</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>
_______________________________________________<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>