Skip to content

Instantly share code, notes, and snippets.

@rowland
Created November 4, 2010 04:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rowland/662130 to your computer and use it in GitHub Desktop.
Save rowland/662130 to your computer and use it in GitHub Desktop.
Pandora:rubinius brent$ ./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!
Configured. Run 'rake' to build and run VM tests and rubyspecs
Pandora:rubinius brent$ rake
(in /Users/brent/src/rubinius)
LLVM inclusion enabled.
GEN vm/gen/instruction_names.cpp
GEN vm/gen/instruction_names.hpp
GEN vm/gen/instruction_sizes.hpp
GEN vm/gen/instruction_prototypes.hpp
GEN vm/gen/instruction_defines.hpp
GEN vm/gen/instruction_locations.hpp
GEN vm/gen/instruction_implementations.hpp
GEN vm/gen/instruction_visitors.hpp
GEN vm/gen/instruction_effects.hpp
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby 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
Updating dependencies...
Can't open perl script "vm/external_libs/llvm/Release/bin/llvm-config": No such file or directory
CC vm/agent.cpp
gcc -Ivm/external_libs/llvm/include -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/test/cxxtest -Ivm -I. -I/usr/local/include -I/opt/local/include -Ivm/external_libs/udis86 -pipe -Wall -Wno-deprecated -mdynamic-no-pic -DENABLE_LLVM -DHAS_EXECINFO -ggdb3 -O2 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -c -o vm/agent.o vm/agent.cpp 2>&1
CC vm/agent_components.cpp
gcc -Ivm/external_libs/llvm/include -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/test/cxxtest -Ivm -I. -I/usr/local/include -I/opt/local/include -Ivm/external_libs/udis86 -pipe -Wall -Wno-deprecated -mdynamic-no-pic -DENABLE_LLVM -DHAS_EXECINFO -ggdb3 -O2 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -c -o vm/agent_components.o vm/agent_components.cpp 2>&1
CC vm/arguments.cpp
gcc -Ivm/external_libs/llvm/include -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/test/cxxtest -Ivm -I. -I/usr/local/include -I/opt/local/include -Ivm/external_libs/udis86 -pipe -Wall -Wno-deprecated -mdynamic-no-pic -DENABLE_LLVM -DHAS_EXECINFO -ggdb3 -O2 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -c -o vm/arguments.o vm/arguments.cpp 2>&1
CC vm/call_frame.cpp
gcc -Ivm/external_libs/llvm/include -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/test/cxxtest -Ivm -I. -I/usr/local/include -I/opt/local/include -Ivm/external_libs/udis86 -pipe -Wall -Wno-deprecated -mdynamic-no-pic -DENABLE_LLVM -DHAS_EXECINFO -ggdb3 -O2 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -c -o vm/call_frame.o vm/call_frame.cpp 2>&1
CC vm/compiled_file.cpp
gcc -Ivm/external_libs/llvm/include -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/test/cxxtest -Ivm -I. -I/usr/local/include -I/opt/local/include -Ivm/external_libs/udis86 -pipe -Wall -Wno-deprecated -mdynamic-no-pic -DENABLE_LLVM -DHAS_EXECINFO -ggdb3 -O2 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -c -o vm/compiled_file.o vm/compiled_file.cpp 2>&1
CC vm/config_parser.cpp
gcc -Ivm/external_libs/llvm/include -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/test/cxxtest -Ivm -I. -I/usr/local/include -I/opt/local/include -Ivm/external_libs/udis86 -pipe -Wall -Wno-deprecated -mdynamic-no-pic -DENABLE_LLVM -DHAS_EXECINFO -ggdb3 -O2 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -c -o vm/config_parser.o vm/config_parser.cpp 2>&1
CC vm/dispatch.cpp
gcc -Ivm/external_libs/llvm/include -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/test/cxxtest -Ivm -I. -I/usr/local/include -I/opt/local/include -Ivm/external_libs/udis86 -pipe -Wall -Wno-deprecated -mdynamic-no-pic -DENABLE_LLVM -DHAS_EXECINFO -ggdb3 -O2 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -c -o vm/dispatch.o vm/dispatch.cpp 2>&1
CC vm/environment.cpp
gcc -Ivm/external_libs/llvm/include -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/test/cxxtest -Ivm -I. -I/usr/local/include -I/opt/local/include -Ivm/external_libs/udis86 -pipe -Wall -Wno-deprecated -mdynamic-no-pic -DENABLE_LLVM -DHAS_EXECINFO -ggdb3 -O2 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -c -o vm/environment.o vm/environment.cpp 2>&1
In file included from vm/environment.cpp:20:
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:33: error: llvm/ModuleProvider.h: No such file or directory
vm/llvm/jit.hpp:14:38: error: llvm/ExecutionEngine/JIT.h: No such file or directory
vm/llvm/jit.hpp:15:42: error: llvm/CodeGen/MachineCodeInfo.h: No such file or directory
vm/llvm/jit.hpp:16:23: error: llvm/Pass.h: No such file or directory
vm/llvm/jit.hpp:17:30: error: llvm/PassManager.h: No such file or directory
vm/llvm/jit.hpp:18:38: error: llvm/Support/raw_ostream.h: No such file or directory
vm/llvm/jit.hpp:19:30: error: llvm/LLVMContext.h: No such file or directory
vm/environment.cpp:21:35: error: llvm/System/Threading.h: No such file or directory
In file included from vm/environment.cpp:20:
vm/llvm/jit.hpp:44: error: ISO C++ forbids declaration of ‘PHINode’ 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:45: error: ISO C++ forbids declaration of ‘BasicBlock’ with no type
vm/llvm/jit.hpp:45: error: invalid use of ‘::’
vm/llvm/jit.hpp:45: error: expected ‘;’ before ‘*’ token
vm/llvm/jit.hpp:53: error: ‘llvm::PHINode’ has not been declared
vm/llvm/jit.hpp:53: error: ‘llvm::BasicBlock’ has not been declared
vm/llvm/jit.hpp:57: error: ISO C++ forbids declaration of ‘PHINode’ with no type
vm/llvm/jit.hpp:57: error: invalid use of ‘::’
vm/llvm/jit.hpp:57: error: expected ‘;’ before ‘*’ token
vm/llvm/jit.hpp:61: error: expected `;' before ‘llvm’
vm/llvm/jit.hpp:61: error: ISO C++ forbids declaration of ‘BasicBlock’ with no type
vm/llvm/jit.hpp:61: error: invalid use of ‘::’
vm/llvm/jit.hpp:61: error: expected ‘;’ before ‘*’ token
vm/llvm/jit.hpp:65: error: expected `;' before ‘VMMethod’
vm/llvm/jit.hpp:93: error: ‘Value’ is not a member of ‘llvm’
vm/llvm/jit.hpp:93: error: ‘Value’ is not a member of ‘llvm’
vm/llvm/jit.hpp:93: error: template argument 1 is invalid
vm/llvm/jit.hpp:93: error: template argument 2 is invalid
vm/llvm/jit.hpp:110: error: ‘llvm::Value’ has not been declared
vm/llvm/jit.hpp:116: error: ISO C++ forbids declaration of ‘Value’ with no type
vm/llvm/jit.hpp:116: error: invalid use of ‘::’
vm/llvm/jit.hpp:116: error: expected ‘;’ before ‘*’ token
In file included from /usr/include/fcntl.h:23,
from vm/environment.cpp:41:
/usr/include/sys/fcntl.h:386: error: expected `;' before end of line
/usr/include/sys/fcntl.h:386: error: expected `}' before end of line
In file included from vm/environment.cpp:20:
vm/llvm/jit.hpp: In member function ‘void rubinius::JITStackArgs::put(size_t, int*)’:
vm/llvm/jit.hpp:112: error: invalid types ‘int[size_t]’ for array subscript
In file included from /usr/include/fcntl.h:23,
from vm/environment.cpp:41:
/usr/include/sys/fcntl.h: At global scope:
/usr/include/sys/fcntl.h:386: error: expected unqualified-id before end of line
/usr/include/sys/fcntl.h:386: error: expected `}' before end of line
/usr/include/sys/fcntl.h:386: error: expected declaration before end of line
rake aborted!
Command failed with status (1): [gcc -Ivm/external_libs/llvm/include -Ivm/e...]
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment