<div dir="ltr"><div class="gmail_extra"><pre style="font-family:'Courier New',courier,monotype,monospace;color:rgb(0,0,0);font-size:medium"><span class="">Hi Duncan,</span></pre><pre style="font-family:'Courier New',courier,monotype,monospace;color:rgb(0,0,0);font-size:medium">
<span class="">We see the following error on our (still private) Mac buildbot. Do you have an idea what might be wrong?</span></pre><pre style="font-family:'Courier New',courier,monotype,monospace;color:rgb(0,0,0);font-size:medium">
<span class=""><br></span></pre><pre style="font-family:'Courier New',courier,monotype,monospace;color:rgb(0,0,0);font-size:medium"><span class="">Script:
--
/Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/llvm_build64/bin/clang -fprofile-instr-generate -o /Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/compiler_rt_build/test/profile/Output/instrprof-basic.c.tmp -O3 -flto  /Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/llvm/projects/compiler-rt/test/profile/instrprof-basic.c
env LLVM_PROFILE_FILE=/Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/compiler_rt_build/test/profile/Output/instrprof-basic.c.tmp.profraw /Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/compiler_rt_build/test/profile/Output/instrprof-basic.c.tmp
llvm-profdata merge -o /Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/compiler_rt_build/test/profile/Output/instrprof-basic.c.tmp.profdata /Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/compiler_rt_build/test/profile/Output/instrprof-basic.c.tmp.profraw
/Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/llvm_build64/bin/clang -fprofile-instr-use=/Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/compiler_rt_build/test/profile/Output/instrprof-basic.c.tmp.profdata -o - -S -emit-llvm /Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/llvm/projects/compiler-rt/test/profile/instrprof-basic.c | FileCheck /Users/buildbot/src/llvm-buildbot/slave/mac10.9-cmake/build/llvm/projects/compiler-rt/test/profile/instrprof-basic.c
--
Exit Code: 1

Command Output (stderr):
--
ld: warning: ignoring file /var/tmp/instrprof-basic-164f0d.o, lto file was built for x86_64 which is not the architecture being linked (x86_64): /var/tmp/instrprof-basic-164f0d.o
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang-3.5: error: linker command failed with exit code 1 (use -v to see invocation)
</span></pre><div><span class=""><br></span></div>
</div></div>