<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I found that .ll file has posix_memalign . Could I replace it ??<br><br>Sent from my iPhone</div><div><br>On Jul 30, 2017, at 8:55 PM, Rasha Omar <<a href="mailto:rasha.sala7@gmail.com">rasha.sala7@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><span class="gmail-vote-count-post"></span>
        




            
            

<div>
    <div class="gmail-post-text">

<p>When I try to run this command </p>

<pre><code>lli -force-interpreter file.ll
</code></pre>

<p>I have this error</p>

<pre><code>LLVM ERROR: Tried to execute an unknown external function: posix_memalign
</code></pre>

<p>Also, when I search for this error I found this link:</p><p><a href="http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20130923/188702.html">http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20130923/188702.html</a><br></p>

<p>Also, I tried to recompile LLVM using  --enable-libffi, then it gives me the same error</p><p>How could I solve this problem?</p>
    </div></div></div>
</div></blockquote></body></html>