Created
April 2, 2012 21:56
-
-
Save soc/2287507 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
| % make run-sample | |
| make -C ../../../src/llvm/runtime llvmrt.a runscala | |
| make[1]: Entering directory `/home/soc/Entwicklung/scala-llvm/src/llvm/runtime' | |
| clang -std=c99 -fexceptions `icu-config --cppflags` -O4 -emit-llvm -c -o runtime.bc runtime.c | |
| clang -std=c99 -fexceptions `icu-config --cppflags` -O4 -emit-llvm -c -o object.bc object.c | |
| clang -std=c99 -fexceptions `icu-config --cppflags` -O4 -emit-llvm -c -o boxes.bc boxes.c | |
| clang -std=c99 -fexceptions `icu-config --cppflags` -O4 -emit-llvm -c -o arrays.bc arrays.c | |
| arrays.c:134:8: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] | |
| if(i < 0 || i >= arr->length) { | |
| ~ ^ ~ | |
| 1 warning generated. | |
| clang -std=c99 -fexceptions `icu-config --cppflags` -O4 -emit-llvm -c -o strings.bc strings.c | |
| clang -std=c99 -fexceptions `icu-config --cppflags` -O4 -emit-llvm -c -o fp.bc fp.c | |
| clang -std=c99 -fexceptions `icu-config --cppflags` -O4 -emit-llvm -c -o io.bc io.c | |
| clang -std=c99 -fexceptions `icu-config --cppflags` -O4 -emit-llvm -c -o gc.bc gc.c | |
| llvm-ar cr llvmrt.a runtime.bc object.bc boxes.bc arrays.bc strings.bc fp.bc io.bc gc.bc | |
| g++ -g -Wall -fexceptions `llvm-config --cxxflags core jit bitreader native interpreter archive bitwriter` `icu-config --cppflags` -c -o runscala.o runscala.cpp | |
| In file included from runscala.cpp:45:0: | |
| wrapper.h:4:13: warning: declaration 'class llvm::Function' does not declare anything [enabled by default] | |
| wrapper.h:5:13: warning: declaration 'class llvm::GlobalVariable' does not declare anything [enabled by default] | |
| g++ -g -Wall -fexceptions `llvm-config --cxxflags core jit bitreader native interpreter archive bitwriter` `icu-config --cppflags` -c -o wrapper.o wrapper.cpp | |
| In file included from wrapper.cpp:2:0: | |
| wrapper.h:4:13: warning: declaration 'class llvm::Function' does not declare anything [enabled by default] | |
| wrapper.h:5:13: warning: declaration 'class llvm::GlobalVariable' does not declare anything [enabled by default] | |
| g++ -g -Wall -fexceptions `llvm-config --cxxflags core jit bitreader native interpreter archive bitwriter` `icu-config --cppflags` -c -o unwind.o unwind.cpp | |
| unwind.cpp: In function 'bool handleActionValue(int64_t*, OurExceptionType_t**, uintptr_t, uint64_t, _Unwind_Exception*)': | |
| unwind.cpp:422:18: warning: unused variable 'obj' [-Wunused-variable] | |
| unwind.cpp: In function '_Unwind_Reason_Code handleLsda(int, const uint8_t*, _Unwind_Action, uint64_t, _Unwind_Exception*, _Unwind_Context_t)': | |
| unwind.cpp:583:14: warning: variable 'foreignException' set but not used [-Wunused-but-set-variable] | |
| g++ -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 | |
| /usr/lib/llvm-3.0/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type*)': | |
| (.text+0x45): undefined reference to `ffi_type_float' | |
| /usr/lib/llvm-3.0/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type*)': | |
| (.text+0x53): undefined reference to `ffi_type_void' | |
| /usr/lib/llvm-3.0/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type*)': | |
| (.text+0x63): undefined reference to `ffi_type_double' | |
| /usr/lib/llvm-3.0/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type*)': | |
| (.text+0x73): undefined reference to `ffi_type_pointer' | |
| /usr/lib/llvm-3.0/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type*)': | |
| (.text+0x8d): undefined reference to `ffi_type_sint64' | |
| /usr/lib/llvm-3.0/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type*)': | |
| (.text+0x9b): undefined reference to `ffi_type_sint32' | |
| /usr/lib/llvm-3.0/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type*)': | |
| (.text+0xab): undefined reference to `ffi_type_sint8' | |
| /usr/lib/llvm-3.0/lib/libLLVMInterpreter.a(ExternalFunctions.o): In function `ffiTypeFor(llvm::Type*)': | |
| (.text+0xbb): undefined reference to `ffi_type_sint16' | |
| /usr/lib/llvm-3.0/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-3.0/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-3.0/lib/libLLVMSupport.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)': | |
| (.text+0x336): undefined reference to `dlopen' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)': | |
| (.text+0x3ff): undefined reference to `dlclose' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)': | |
| (.text+0x8c6): undefined reference to `dlerror' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::SearchForAddressOfSymbol(char const*)': | |
| (.text+0xabd): undefined reference to `dlsym' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(DynamicLibrary.o): In function `llvm::sys::DynamicLibrary::getAddressOfSymbol(char const*)': | |
| (.text+0x97d): undefined reference to `dlsym' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(Signals.o): In function `PrintStackTrace(void*)': | |
| (.text+0x6c): undefined reference to `dladdr' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(Signals.o): In function `PrintStackTrace(void*)': | |
| (.text+0x187): undefined reference to `dladdr' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::MutexImpl(bool)': | |
| (.text+0x41): undefined reference to `pthread_mutexattr_init' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::MutexImpl(bool)': | |
| (.text+0x4d): undefined reference to `pthread_mutexattr_settype' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::MutexImpl(bool)': | |
| (.text+0x57): undefined reference to `pthread_mutexattr_setpshared' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::MutexImpl(bool)': | |
| (.text+0x6a): undefined reference to `pthread_mutexattr_destroy' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(Mutex.o): In function `llvm::sys::MutexImpl::tryacquire()': | |
| (.text+0x108): undefined reference to `pthread_mutex_trylock' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::RWMutexImpl()': | |
| (.text+0x2b): undefined reference to `pthread_rwlock_init' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::~RWMutexImpl()': | |
| (.text+0x58): undefined reference to `pthread_rwlock_destroy' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::reader_acquire()': | |
| (.text+0x78): undefined reference to `pthread_rwlock_rdlock' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::reader_release()': | |
| (.text+0x98): undefined reference to `pthread_rwlock_unlock' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::writer_acquire()': | |
| (.text+0xb8): undefined reference to `pthread_rwlock_wrlock' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(RWMutex.o): In function `llvm::sys::RWMutexImpl::writer_release()': | |
| (.text+0xd8): undefined reference to `pthread_rwlock_unlock' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(ThreadLocal.o): In function `llvm::sys::ThreadLocalImpl::~ThreadLocalImpl()': | |
| (.text+0x16): undefined reference to `pthread_key_delete' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(ThreadLocal.o): In function `llvm::sys::ThreadLocalImpl::ThreadLocalImpl()': | |
| (.text+0x8a): undefined reference to `pthread_key_create' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(ThreadLocal.o): In function `llvm::sys::ThreadLocalImpl::setInstance(void const*)': | |
| (.text+0xb7): undefined reference to `pthread_setspecific' | |
| /usr/lib/llvm-3.0/lib/libLLVMSupport.a(ThreadLocal.o): In function `llvm::sys::ThreadLocalImpl::getInstance()': | |
| (.text+0xc7): undefined reference to `pthread_getspecific' | |
| /usr/lib/llvm-3.0/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-3.0/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-3.0/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-llvm/src/llvm/runtime' | |
| make: *** [run-sample] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment