On Mon, May 9, 2011 at 3:34 PM, Graydon Hoare <[email protected]> wrote:
> On 08/05/2011 5:09 PM, Patrick Walton wrote:
>> Will anyone object if I make clang a dependency on that platform?

Just a quick note to say - if anyone is trying to build on OS X and
sees an error like
link: rustllvm/librustllvm.dylib
Undefined symbols:
  "___eprintf", referenced from:
      ___eprintf$non_lazy_ptr in
libLLVMSupport.a(SearchForAddressOfSpecialSymbol.o)
     (maybe you meant: ___eprintf$non_lazy_ptr)
ld: symbol(s) not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The answer is here
(http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/40133)
"If you check out
compiler-rt into <llvm-src>/projects/compiler-rt, clang will pick it up
and build it automatically."

This works for me (OSX 10.6.7) I know Rafael has contributed to that
thread already but I thought I'd post here to save anyone else the
effort of googling it!

Peter
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to