[MacRuby-devel] llvm-config?
Alexander v. Below
below at mac.com
Fri Jul 9 01:51:46 PDT 2010
make fails :(
llvm[2]: Linking Release executable tblgen (without symbols)
Undefined symbols for architecture i386:
"llvm::sys::MemoryFence()", referenced from:
llvm::cl::extrahelp::extrahelp(char const*)in libLLVMSupport.a(CommandLine.o)
llvm::cl::extrahelp::extrahelp(char const*)in libLLVMSupport.a(CommandLine.o)
(anonymous namespace)::HelpPrinter::operator=(bool)in libLLVMSupport.a(CommandLine.o)
(anonymous namespace)::HelpPrinter::operator=(bool)in libLLVMSupport.a(CommandLine.o)
(anonymous namespace)::HelpPrinter::operator=(bool)in libLLVMSupport.a(CommandLine.o)
llvm::cl::ParseCommandLineOptions(int, char**, char const*, bool)in libLLVMSupport.a(CommandLine.o)
llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) constin libLLVMSupport.a(ManagedStatic.o)
llvm::llvm_stop_multithreaded() in libLLVMSystem.a(Threading.o)
llvm::llvm_start_multithreaded() in libLLVMSystem.a(Threading.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/P5/P5xcr6VXFZKFaglJThMDIk+++TQ/-Tmp-//cczcT9CU.out (No such file or directory)
make[2]: *** [/Users/below/dev/llvm-trunk/Release/bin/tblgen] Error 1
make[1]: *** [TableGen/.makeall] Error 2
make: *** [all] Error 1
OS X 10.6.4, IntelCore Duo ...
Any pointers?
I have repeated the procedure and make sure I follow it to the letter...
Thanks
Alex
Am 09.07.2010 um 10:27 schrieb Watson:
> Hi.
>
> Would you install LLVM as following? :D
> $ svn co -r 106781 https://llvm.org/svn/llvm-project/llvm/trunk llvm-trunk
> $ cd llvm-trunk
> $ env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" CC=/usr/bin/gcc
> CXX=/usr/bin/g++ ./configure --enable-bindings=none --enable-optimized
> --with-llvmgccdir=/tmp
> $ env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" CC=/usr/bin/gcc
> CXX=/usr/bin/g++ make
> $ sudo env UNIVERSAL=1 UNIVERSAL_ARCH="i386 x86_64" CC=/usr/bin/gcc
> CXX=/usr/bin/g++ make install
>
> Please watch a REAME.rdoc in detail :
> http://github.com/masterkain/macruby/blob/master/README.rdoc
>
> 2010/7/9 Alexander v. Below <below at mac.com>:
>> Hello,
>>
>> I am attempting to build MacRuby-trunk (rev 4338), and when I call rake I get the error:
>>
>> "The llvm-config executable was not located as /usr/local/bin/llvm-config. Please make sure LLVM is correctly installed on your machine and pass the llvm_config option to rake if necessary."
>>
>> Can I remedy this for Developer Tools installation of llvm (4.2), or is the only way to get rid of this to use the llvm version indicated in the readme?
>>
>> Thanks
>>
>> Alex
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
More information about the MacRuby-devel
mailing list