<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<div><br></div><div>I'm running the nightly test suite locally and getting a difference with the output from this buildbot (<a href="http://lab.llvm.org:8011/builders/clang-x86_64-debian-fnt/builds/1168/steps/make.test-suite/logs/stdio">http://lab.llvm.org:8011/builders/clang-x86_64-debian-fnt/builds/1168/steps/make.test-suite/logs/stdio</a>)</div><div><br></div><div>For .ll tests the buildbot does the following (look for spirit.cpp in that link.  Only comes up twice, one of which is this one)</div><div><span class="Apple-style-span" style="font-family: Times; "><pre style="font-family: 'Courier New', courier, monotype, monospace; "><span class="stdout" style="font-family: 'Courier New', courier, monotype, monospace; color: black; ">/home/baldrick/osuosl/slave/clang-x86_64-debian-fnt/llvm.obj/Release+Asserts/bin/clang++ ...</span><span class="stdout" style="font-family: 'Courier New', courier, monotype, monospace; color: black; "> -S /home/baldrick/osuosl/slave/clang-x86_64-debian-fnt/test-suite.src/SingleSource/Benchmarks/Misc-C++-EH/spirit.cpp -o Output/spirit.ll -emit-llvm</span></pre></span><div><br></div><div>while my machine does </div></div><div><br></div><div>/usr/bin/llvm-g++ … -S spirit.cpp -o Output/spirit.ll -emit-llvm</div><div><br></div><div>Trouble is, llvm-g++ emits an .ll file which isn't valid so llvm-as fails on my machine.</div><div><br></div><div>I've looked at the makefiles for the test suite and it seems that this command is the one being run here</div><div><br></div><div>-$(LCXX) $(CPPFLAGS) $(CXXFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)</div><div><br></div><div>So how did my machine find llvm-g++ for $(LCXX) but the build machine found clang++?</div><div><br></div><div>Note i have configured my machine and pointed the test-suite at my bin folder as the command after that failing one has the correct path.  </div><div><br></div><div>/Users/pete/svn/Debug+Asserts/bin/llvm-as Output/spirit.ll -o Output/spirit.bc.</div><div><br></div><div>Also, for the spirit.native test i get the opposite behavior so the buildbot uses g++ while my machine uses clang++</div><div><br></div><div>Thanks,</div><div>Pete</div></body></html>