[compiler-rt] r205256 - InstrProf: Add simple compiler-rt test

Alexey Samsonov samsonov at google.com
Tue Apr 1 01:12:29 PDT 2014


Hi Duncan,

We see the following error on our (still private) Mac buildbot. Do you
have an idea what might be wrong?


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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140401/fced0419/attachment.html>


More information about the llvm-commits mailing list