Hi Mikhail, On Thu, 28 Oct 2010, Mikhail Glushenkov wrote:> Joel E. Denny <jdenny <at> etinternational.com> writes: > > Is it intended that llvmc should search PATH for llc? For example, this > > means that llvmc 2.7 can invoke llc 2.8: > > [...] > > This is fixed in 2.8+ - llvmc now searches the directory it resides in first.I just built r117553 from http://llvm.org/svn/llvm-project/llvm/trunk, and I'm seeing the same behavior as with 2.7 and 2.8. % strace -f /home/jdenny/installs/llvm/trunk/bin/llvmc tmp.ll |& grep exec | grep llc [pid 7015] execve("/home/jdenny/installs/llvm/2.8/bin/llc", ["llc", "-O2", "tmp.ll", "-o", "/tmp/llvm_vbIyN9/tmp.s"], [/* 42 vars */] <unfinished ...>
Hi, On Thu, Oct 28, 2010 at 01:28:47PM -0400, Joel E. Denny wrote:> Hi Mikhail, > > On Thu, 28 Oct 2010, Mikhail Glushenkov wrote: > > > Joel E. Denny <jdenny <at> etinternational.com> writes: > > > Is it intended that llvmc should search PATH for llc? For example, this > > > means that llvmc 2.7 can invoke llc 2.8: > > > [...] > > > > This is fixed in 2.8+ - llvmc now searches the directory it resides in first. > > I just built r117553 from http://llvm.org/svn/llvm-project/llvm/trunk, and > I'm seeing the same behavior as with 2.7 and 2.8.Hmm, looks like you're right. Try latest trunk, I think I've fixed this in r117584. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
On Thu, 28 Oct 2010, Mikhail Glushenkov wrote:> > > > Is it intended that llvmc should search PATH for llc? For example, this > > > > means that llvmc 2.7 can invoke llc 2.8:> Hmm, looks like you're right. Try latest trunk, I think I've fixed this in > r117584.Yep, thanks.