Skip to content

Instantly share code, notes, and snippets.

@tak1n
Created January 28, 2016 22:35
Show Gist options
  • Save tak1n/d1ee3c9ff16d33462e59 to your computer and use it in GitHub Desktop.
Save tak1n/d1ee3c9ff16d33462e59 to your computer and use it in GitHub Desktop.
~/D/r/rubinius ❯❯❯ rake build ⏎
/home/benny/.rubies/2.3.0/bin/ruby vm/codegen/field_extract.rb vm/builtin/basic_object.hpp vm/builtin/object.hpp vm/builtin/integer.hpp vm/builtin/fixnum.hpp vm/builtin/array.hpp vm/builtin/bignum.hpp vm/builtin
/executable.hpp vm/builtin/access_variable.hpp vm/builtin/alias.hpp vm/builtin/block_environment.hpp vm/builtin/block_as_method.hpp vm/builtin/byte_array.hpp vm/builtin/io.hpp vm/builtin/channel.hpp vm/builtin/m
odule.hpp vm/builtin/constant_table.hpp vm/builtin/class.hpp vm/builtin/compiled_code.hpp vm/builtin/data.hpp vm/builtin/dir.hpp vm/builtin/exception.hpp vm/builtin/float.hpp vm/builtin/fsevent.hpp vm/builtin/im
mediates.hpp vm/builtin/iseq.hpp vm/builtin/list.hpp vm/builtin/logger.hpp vm/builtin/lookup_table.hpp vm/builtin/ffi_pointer.hpp vm/builtin/method_table.hpp vm/builtin/native_function.hpp vm/builtin/packed_obje
ct.hpp vm/builtin/randomizer.hpp vm/builtin/regexp.hpp vm/builtin/constant_scope.hpp vm/builtin/encoding.hpp vm/builtin/string.hpp vm/builtin/symbol.hpp vm/builtin/thread.hpp vm/builtin/tuple.hpp vm/builtin/comp
act_lookup_table.hpp vm/builtin/time.hpp vm/builtin/stat.hpp vm/builtin/native_method.hpp vm/builtin/system.hpp vm/builtin/autoload.hpp vm/builtin/proc.hpp vm/builtin/variable_scope.hpp vm/builtin/location.hpp v
m/builtin/constant_cache.hpp vm/builtin/call_site.hpp vm/builtin/mono_inline_cache.hpp vm/builtin/poly_inline_cache.hpp vm/builtin/call_custom_cache.hpp vm/builtin/respond_to_cache.hpp vm/builtin/weakref.hpp vm/
builtin/fiber.hpp vm/builtin/thunk.hpp vm/builtin/call_unit.hpp vm/builtin/call_unit_adapter.hpp vm/builtin/atomic.hpp vm/builtin/character.hpp vm/builtin/thread_state.hpp vm/builtin/jit.hpp vm/builtin/diagnosti
cs.hpp
Running 0 tasks using 4 parallel threads
Build time: 0.000283044 seconds
1: LD vm/vm
vm/llvm/artifacts/disassembler.cpp.o: In function `JITDisassembler':
/home/benny/Dev/ruby/rubinius/vm/llvm/disassembler.cpp:34: undefined reference to `llvm::sys::getDefaultTargetTriple[abi:cxx11]()'
vm/llvm/artifacts/jit_context.cpp.o: In function `Context':
/home/benny/Dev/ruby/rubinius/vm/llvm/jit_context.cpp:111: undefined reference to `llvm::DataLayout::getStringRepresentation[abi:cxx11]() const'
clang: error: linker command failed with exit code 1 (use -v to see invocation) [23/2036]
Error: clang++ -o vm/vm vm/artifacts/accessor_primitives.cpp.o vm/artifacts/arguments.cpp.o .. ... ... ... ..
rake aborted!
Error compiling
/home/benny/Dev/ruby/rubinius/.gem/ruby/2.3.0/gems/daedalus-core-0.5.0/lib/daedalus.rb:68:in `command'
/home/benny/Dev/ruby/rubinius/.gem/ruby/2.3.0/gems/daedalus-core-0.5.0/lib/daedalus.rb:254:in `link'
/home/benny/Dev/ruby/rubinius/.gem/ruby/2.3.0/gems/daedalus-core-0.5.0/lib/daedalus.rb:774:in `build'
/home/benny/Dev/ruby/rubinius/.gem/ruby/2.3.0/gems/daedalus-core-0.5.0/lib/daedalus.rb:877:in `block in linear_tasks'
/home/benny/Dev/ruby/rubinius/.gem/ruby/2.3.0/gems/daedalus-core-0.5.0/lib/daedalus.rb:876:in `each'
/home/benny/Dev/ruby/rubinius/.gem/ruby/2.3.0/gems/daedalus-core-0.5.0/lib/daedalus.rb:876:in `linear_tasks'
/home/benny/Dev/ruby/rubinius/.gem/ruby/2.3.0/gems/daedalus-core-0.5.0/lib/daedalus.rb:872:in `start'
/home/benny/Dev/ruby/rubinius/.gem/ruby/2.3.0/gems/daedalus-core-0.5.0/lib/daedalus.rb:989:in `block in build'
/home/benny/Dev/ruby/rubinius/.gem/ruby/2.3.0/gems/daedalus-core-0.5.0/lib/daedalus.rb:980:in `each'
/home/benny/Dev/ruby/rubinius/.gem/ruby/2.3.0/gems/daedalus-core-0.5.0/lib/daedalus.rb:980:in `build'
/home/benny/Dev/ruby/rubinius/rakelib/vm.rake:241:in `block in <top (required)>'
Tasks: TOP => build => build:build => vm/vm
(See full trace by running task with --trace)
~/D/r/rubinius ❯❯❯ ./configure --prefix=/home/benny/.rubies/rbx --llvm-config=/home/benny/Dev/llvm-3.5/bin/llvm-config ⏎
Checking clang: found
Checking clang++: found
Checking for 'llvm-config': found! (version 3.5.2 - api: 305)
Checking sizeof(short): 2 bytes
Checking sizeof(int): 4 bytes
Checking sizeof(void*): 8 bytes
Checking sizeof(size_t): 8 bytes
Checking sizeof(long): 8 bytes
Checking sizeof(long long): 8 bytes
Checking sizeof(float): 4 bytes
Checking sizeof(double): 8 bytes
Checking sizeof(off_t): 8 bytes
Checking sizeof(time_t): 8 bytes
Checking for libc version: libc.so.6 found!
Checking platform endianness: little endian
Checking for tr1: found
Checking for tr1/hash definition: found
Checking for x86_32: no
Checking for x86_64: yes
Checking for function 'backtrace': found!
Checking for function 'clock_gettime': found!
Checking for function 'nl_langinfo': found!
Checking for function 'setproctitle': not found
Checking for function 'posix_fadvise': found!
Checking for function 'strnlen': found!
Checking for function 'kqueue': not found
Checking for function 'timerfd_create': found!
Checking for function 'inotify_init': found!
Checking for function 'gettid': not found
Checking for struct stat has member st_atim: found!
Checking for struct stat has member st_atimespec: not found
Checking for struct stat has member st_atimensec: not found
Checking for struct stat has member st_mtim: found!
Checking for struct stat has member st_mtimespec: not found
Checking for struct stat has member st_mtimensec: not found
Checking for struct stat has member st_ctim: found!
Checking for struct stat has member st_ctimespec: not found
Checking for struct stat has member st_ctimensec: not found
Checking for struct stat has member st_birthtimespec: not found
Checking for function 'lchown': found!
Checking for function 'mkfifo': found!
Checking for struct tm has member tm_gmtoff: found!
Checking for struct tm has member tm_zone: found!
Checking for global 'timezone': found!
Checking for global 'tzname': found!
Checking for global 'daylight': found!
Checking for header 'zlib.h': found!
Checking for header 'openssl/ssl.h': found!
Checking for header 'alloca.h': found!
Checking for header 'string.h': found!
Checking for header 'sys/time.h': found!
Checking for header 'sys/times.h': found!
Checking for header 'sys/types.h': found!
Checking for header 'unistd.h': found!
Checking for header 'stdarg.h': found!
Checking for header 'sys/pstat.h': not found
Checking for header 'valgrind/valgrind.h': not found
Checking curses library: -lcurses
Checking if function 'strerror_r' returns char*: yes
Fetching gems...
Setting up gems...
Unpacked gem: '/home/benny/Dev/ruby/rubinius/staging/runtime/gems/rubinius-ast-2.4.0'
Unpacked gem: '/home/benny/Dev/ruby/rubinius/staging/runtime/gems/rubinius-compiler-2.3.1'
Unpacked gem: '/home/benny/Dev/ruby/rubinius/staging/runtime/gems/rubinius-melbourne-2.3.1.0'
Unpacked gem: '/home/benny/Dev/ruby/rubinius/staging/runtime/gems/rubinius-processor-2.3.0'
Unpacked gem: '/home/benny/Dev/ruby/rubinius/staging/runtime/gems/rubinius-toolset-2.3.1'
Writing configuration files...
------------------------------------------------------------------
Rubinius (a7ba16db) has been configured for the following paths:
prefix: /home/benny/.rubies/rbx
bin: /home/benny/.rubies/rbx/bin
lib: /home/benny/.rubies/rbx/library
include: /home/benny/.rubies/rbx/vm/include/capi
runtime: /home/benny/.rubies/rbx/runtime
kernel: /home/benny/.rubies/rbx/kernel
site: /home/benny/.rubies/rbx/site
vendor: /home/benny/.rubies/rbx/vendor
man: /home/benny/.rubies/rbx/man
gems: /home/benny/.rubies/rbx/gems
gems cache: /home/benny/Dev/ruby/rubinius/vendor/cache
Run 'rake' to build, test and install Rubinius.
After building, you may add
'/home/benny/.rubies/rbx/bin'
to your PATH or run commands directly from that directory.
Available commands are:
ruby, rake, gem, irb, rdoc, ri, erb, rbx
------------------------------------------------------------------
~/D/r/rubinius ❯❯❯
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment