Skip to content

Instantly share code, notes, and snippets.

@matthewd
Created January 7, 2011 03:47
Show Gist options
  • Select an option

  • Save matthewd/769089 to your computer and use it in GitHub Desktop.

Select an option

Save matthewd/769089 to your computer and use it in GitHub Desktop.
tango:src/rbx[daedalus]% ./configure
Configuring LLVM...
Checking for existing LLVM tree: found!
Checking sizeof(long): 8 bytes
Checking platform endianness: little endian
Checking tr1/hash definition: found
Checking for function 'backtrace': found!
Checking for function 'readline': found!
Checking curses library: curses
Configured. Run 'rake' to build and run VM tests and rubyspecs.
After building, you may add '/home/matthew/src/rbx/bin' to your PATH or run commands directly from that directory. Available commands are:
rbx, ruby, rake, gem, irb, rdoc, ri
tango:src/rbx[daedalus]% time rake
(in /home/matthew/src/rbx)
/usr/bin/ruby1.8 vm/codegen/field_extract.rb 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/bytearray.hpp vm/builtin/io.hpp vm/builtin/channel.hpp vm/builtin/module.hpp vm/builtin/class.hpp vm/builtin/compiledmethod.hpp vm/builtin/data.hpp vm/builtin/dir.hpp vm/builtin/exception.hpp vm/builtin/float.hpp vm/builtin/immediates.hpp vm/builtin/iseq.hpp vm/builtin/list.hpp vm/builtin/lookuptable.hpp vm/builtin/ffi_pointer.hpp vm/builtin/methodtable.hpp vm/builtin/nativefunction.hpp vm/builtin/packed_object.hpp vm/builtin/randomizer.hpp vm/builtin/regexp.hpp vm/builtin/staticscope.hpp vm/builtin/string.hpp vm/builtin/symbol.hpp vm/builtin/thread.hpp vm/builtin/tuple.hpp vm/builtin/compactlookuptable.hpp vm/builtin/time.hpp vm/builtin/taskprobe.hpp vm/builtin/nativemethod.hpp vm/builtin/system.hpp vm/builtin/autoload.hpp vm/builtin/proc.hpp vm/builtin/variable_scope.hpp vm/builtin/location.hpp vm/builtin/capi_handle.hpp vm/builtin/global_cache_entry.hpp vm/builtin/weakref.hpp vm/builtin/fiber.hpp vm/builtin/thunk.hpp vm/builtin/call_unit.hpp vm/builtin/call_unit_adapter.hpp
[ 1/155] CC vm/agent.cpp
[ 2/155] CC vm/agent_components.cpp
[ 3/155] CC vm/arguments.cpp
[ 4/155] CC vm/builtin/access_variable.cpp
[ 5/155] CC vm/builtin/alias.cpp
[ 6/155] CC vm/builtin/array.cpp
[ 7/155] CC vm/builtin/autoload.cpp
[ 8/155] CC vm/builtin/bignum.cpp
[ 9/155] CC vm/builtin/block_as_method.cpp
[ 10/155] CC vm/builtin/block_environment.cpp
In file included from vm/builtin/block_environment.cpp:28:
vm/llvm/jit.hpp:7:25: error: llvm/Module.h: No such file or directory
vm/llvm/jit.hpp:8:31: error: llvm/DerivedTypes.h: No such file or directory
vm/llvm/jit.hpp:9:27: error: llvm/Function.h: No such file or directory
vm/llvm/jit.hpp:11:31: error: llvm/Instructions.h: No such file or directory
vm/llvm/jit.hpp:12:36: error: llvm/Support/IRBuilder.h: No such file or directory
vm/llvm/jit.hpp:13:38: error: llvm/ExecutionEngine/JIT.h: No such file or directory
vm/llvm/jit.hpp:14:42: error: llvm/CodeGen/MachineCodeInfo.h: No such file or directory
vm/llvm/jit.hpp:15:23: error: llvm/Pass.h: No such file or directory
vm/llvm/jit.hpp:16:30: error: llvm/PassManager.h: No such file or directory
vm/llvm/jit.hpp:17:38: error: llvm/Support/raw_ostream.h: No such file or directory
vm/llvm/jit.hpp:18:30: error: llvm/LLVMContext.h: No such file or directory
In file included from vm/builtin/block_environment.cpp:28:
vm/llvm/jit.hpp:43: error: ISO C++ forbids declaration of ‘PHINode’ with no type
vm/llvm/jit.hpp:43: error: invalid use of ‘::’
vm/llvm/jit.hpp:43: error: expected ‘;’ before ‘*’ token
vm/llvm/jit.hpp:44: error: ISO C++ forbids declaration of ‘BasicBlock’ with no type
vm/llvm/jit.hpp:44: error: invalid use of ‘::’
vm/llvm/jit.hpp:44: error: expected ‘;’ before ‘*’ token
vm/llvm/jit.hpp:52: error: ‘llvm::PHINode’ has not been declared
vm/llvm/jit.hpp:52: error: ‘llvm::BasicBlock’ has not been declared
vm/llvm/jit.hpp:56: error: ISO C++ forbids declaration of ‘PHINode’ with no type
vm/llvm/jit.hpp:56: error: invalid use of ‘::’
vm/llvm/jit.hpp:56: error: expected ‘;’ before ‘*’ token
vm/llvm/jit.hpp:60: error: expected ‘;’ before ‘llvm’
vm/llvm/jit.hpp:60: error: ISO C++ forbids declaration of ‘BasicBlock’ with no type
vm/llvm/jit.hpp:60: error: invalid use of ‘::’
vm/llvm/jit.hpp:60: error: expected ‘;’ before ‘*’ token
vm/llvm/jit.hpp:64: error: expected ‘;’ before ‘VMMethod’
vm/llvm/jit.hpp:92: error: ‘Value’ is not a member of ‘llvm’
vm/llvm/jit.hpp:92: error: ‘Value’ is not a member of ‘llvm’
vm/llvm/jit.hpp:92: error: template argument 1 is invalid
vm/llvm/jit.hpp:92: error: template argument 2 is invalid
vm/llvm/jit.hpp:109: error: ‘llvm::Value’ has not been declared
vm/llvm/jit.hpp:115: error: ISO C++ forbids declaration of ‘Value’ with no type
vm/llvm/jit.hpp:115: error: invalid use of ‘::’
vm/llvm/jit.hpp:115: error: expected ‘;’ before ‘*’ token
vm/builtin/block_environment.cpp:268: error: expected ‘;’ at end of input
vm/builtin/block_environment.cpp:268: error: expected ‘}’ at end of input
In file included from vm/builtin/block_environment.cpp:28:
vm/llvm/jit.hpp: In member function ‘void rubinius::JITStackArgs::put(size_t, int*)’:
vm/llvm/jit.hpp:111: error: invalid types ‘int[size_t]’ for array subscript
vm/llvm/jit.hpp: At global scope:
vm/llvm/jit.hpp:113: error: expected unqualified-id at end of input
vm/llvm/jit.hpp:113: error: expected ‘}’ at end of input
Error: gcc -Ivm -Ivm/test/cxxtest -I. -I/usr/local/include -I/opt/local/include -pipe -Wall -fno-omit-frame-pointer -ggdb3 -Werror -DENABLE_LLVM -DRBX_PROFILER -O2 -DHAS_EXECINFO -DHAS_READLINE -Ivm/external_libs/udis86 -Ivm/external_libs/libffi/include -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libtommath -I/home/matthew/src/rbx/vm/external_libs/llvm/Release/include -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fomit-frame-pointer -fPIC -c -o vm/builtin/artifacts/block_environment.cpp.o vm/builtin/block_environment.cpp
rake aborted!
Error compiling
(See full trace by running task with --trace)
rake 6.61s user 0.45s system 104% cpu 6.742 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment