Can't compile the trunk version #291

Closed
bastos opened this Issue May 15, 2010 · 2 comments

2 participants

@bastos

I've downloaded the trunk, tried to build it and got these errors:

gcc -Ivm/external_libs/libtommath -Ivm/external_libs/libgdtoa -Ivm/external_libs/onig -Ivm/external_libs/libffi/include -Ivm/external_libs/libltdl -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 -Ivm/external_libs/llvm/include -I/Users/bastos/Code/rubinius/vm/external_libs/llvm/Release/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-common -c -o vm/environment.o vm/environment.cpp 2>&1
In file included from vm/environment.cpp:20:
vm/llvm/jit.hpp:320: error: expected unqualified-id before ‘&’ token
vm/llvm/jit.hpp:320: error: expected ‘,’ or ‘...’ before ‘&’ token
rake aborted!

Info:

Output: http://gist.github.com/402000

Git: commit e6c32af

uname -a
Darwin bastos-2.local 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386

llvm-gcc --version
i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5646) (LLVM build 2207.5)

llvmc --version
Low Level Virtual Machine (http://llvm.org/):
llvm version 2.5

@brixen
Rubinius member

We do not support any llvm version other than 2.6 right now. Could you please try the following:

./configure --skip-system
rake clean
rake
@bastos

Just updated my llvm to 2.6 and compiled again, it works, thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment