Created
February 16, 2012 14:08
-
-
Save soc/1845101 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| soc@laptop ~/Entwicklung/scala/docs/examples/llvm (git)-[llvm] % make run-sample | |
| make -C ../../../src/llvm/rt llvmrt.a runscala | |
| make[1]: Entering directory `/home/soc/Entwicklung/scala/src/llvm/rt' | |
| make[1]: `llvmrt.a' is up to date. | |
| g++ `icu-config --ldflags-searchpath --ldflags-icuio` `llvm-config --ldflags core jit bitreader native interpreter archive bitwriter` `apr-1-config --link-ld --libs` -o runscala runscala.o wrapper.o unwind.o `icu-config --ldflags-libsonly --ldflags-icuio` `llvm-config --libs core jit bitreader native interpreter archive bitwriter` -lm | |
| runscala.o: In function `main': | |
| /home/soc/Entwicklung/scala/src/llvm/rt/runscala.cpp:109: undefined reference to `llvm::MemoryBuffer::getFileOrSTDIN(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, long, stat*)' | |
| runscala.o: In function `ForceCodegenLinking': | |
| /usr/lib/llvm-2.8/include/llvm/CodeGen/LinkAllCodegenComponents.h:38: undefined reference to `llvm::createPBQPRegisterAllocator()' | |
| /usr/lib/llvm-2.9/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type const*)': | |
| (.text+0x45): undefined reference to `ffi_type_float' | |
| /usr/lib/llvm-2.9/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type const*)': | |
| (.text+0x53): undefined reference to `ffi_type_void' | |
| /usr/lib/llvm-2.9/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type const*)': | |
| (.text+0x63): undefined reference to `ffi_type_double' | |
| /usr/lib/llvm-2.9/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type const*)': | |
| (.text+0x73): undefined reference to `ffi_type_pointer' | |
| /usr/lib/llvm-2.9/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type const*)': | |
| (.text+0x8d): undefined reference to `ffi_type_sint64' | |
| /usr/lib/llvm-2.9/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type const*)': | |
| (.text+0x9b): undefined reference to `ffi_type_sint32' | |
| /usr/lib/llvm-2.9/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type const*)': | |
| (.text+0xab): undefined reference to `ffi_type_sint8' | |
| /usr/lib/llvm-2.9/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type const*)': | |
| (.text+0xbb): undefined reference to `ffi_type_sint16' | |
| /usr/lib/llvm-2.9/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `llvm::Interpreter::callExternalFunction(llvm::Function*, std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> > const&)': | |
| (.text+0x21b3): undefined reference to `ffi_prep_cif' | |
| /usr/lib/llvm-2.9/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `llvm::Interpreter::callExternalFunction(llvm::Function*, std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> > const&)': | |
| (.text+0x2208): undefined reference to `ffi_call' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(char const*)': | |
| (.text+0x201): undefined reference to `dlsym' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::LoadLibraryPermanently(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)': | |
| (.text+0x33c): undefined reference to `dlopen' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::LoadLibraryPermanently(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)': | |
| (.text+0x3cb): undefined reference to `dlerror' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(Signals.o): In function `PrintStackTrace(void*)': | |
| (.text+0x6c): undefined reference to `dladdr' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(Signals.o): In function `PrintStackTrace(void*)': | |
| (.text+0x187): undefined reference to `dladdr' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::MutexImpl(bool)': | |
| (.text+0x41): undefined reference to `pthread_mutexattr_init' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::MutexImpl(bool)': | |
| (.text+0x4d): undefined reference to `pthread_mutexattr_settype' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::MutexImpl(bool)': | |
| (.text+0x57): undefined reference to `pthread_mutexattr_setpshared' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::MutexImpl(bool)': | |
| (.text+0x6a): undefined reference to `pthread_mutexattr_destroy' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::tryacquire()': | |
| (.text+0x108): undefined reference to `pthread_mutex_trylock' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::RWMutexImpl()': | |
| (.text+0x2b): undefined reference to `pthread_rwlock_init' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::~RWMutexImpl()': | |
| (.text+0x58): undefined reference to `pthread_rwlock_destroy' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::reader_acquire()': | |
| (.text+0x78): undefined reference to `pthread_rwlock_rdlock' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::reader_release()': | |
| (.text+0x98): undefined reference to `pthread_rwlock_unlock' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::writer_acquire()': | |
| (.text+0xb8): undefined reference to `pthread_rwlock_wrlock' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::writer_release()': | |
| (.text+0xd8): undefined reference to `pthread_rwlock_unlock' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(ThreadLocal.o): In function `llvm::sys::ThreadLocalImpl::~ThreadLocalImpl()': | |
| (.text+0x16): undefined reference to `pthread_key_delete' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(ThreadLocal.o): In function `llvm::sys::ThreadLocalImpl::ThreadLocalImpl()': | |
| (.text+0x8a): undefined reference to `pthread_key_create' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(ThreadLocal.o): In function `llvm::sys::ThreadLocalImpl::setInstance(void const*)': | |
| (.text+0xb7): undefined reference to `pthread_setspecific' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(ThreadLocal.o): In function `llvm::sys::ThreadLocalImpl::getInstance()': | |
| (.text+0xc7): undefined reference to `pthread_getspecific' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(Threading.o): In function `llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int)': | |
| (.text+0x137): undefined reference to `pthread_create' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(Threading.o): In function `llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int)': | |
| (.text+0x168): undefined reference to `pthread_attr_setstacksize' | |
| /usr/lib/llvm-2.9/lib/libLLVMSupport.a(Threading.o): In function `llvm::llvm_execute_on_thread(void (*)(void*), void*, unsigned int)': | |
| (.text+0x180): undefined reference to `pthread_join' | |
| collect2: ld returned 1 exit status | |
| make[1]: *** [runscala] Error 1 | |
| make[1]: Leaving directory `/home/soc/Entwicklung/scala/src/llvm/rt' | |
| make: *** [run-sample] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment