rubinius/rubinius — Issue #1284: Build issues on Solaris
Author: bklang
Created: 2011-10-17 19:31:34+00:00
State: open

There is an issue rbx-head on Solaris. I've pasted the exact error message below, but I'm pretty sure this patch from MongoDB addresses the underlying issue:

https://gist.github.com/870503

I'm not sure where this would belong in the RBX code.

Here is the output from make:

```
make[1]: Leaving directory `/usr/local/rvm/src/rbx-head/vendor/udis86'
Running 164 tasks using 1 parallel threads
2: CC vm/agent.cpp
2: CC vm/agent_components.cpp
2: CC vm/arguments.cpp
2: CC vm/builtin/access_variable.cpp
2: CC vm/builtin/alias.cpp
2: CC vm/builtin/array.cpp
2: CC vm/builtin/autoload.cpp
2: CC vm/builtin/basicobject.cpp
2: CC vm/builtin/bignum.cpp
vm/builtin/bignum.cpp: In member function 'rubinius::Object* rubinius::Bignum::compare(rubinius::VM*, rubinius::Float*)':
vm/builtin/bignum.cpp:821: error: 'isinf' is not a member of 'std'
vm/builtin/bignum.cpp: In member function 'double rubinius::Bignum::to_double(rubinius::VM*)':
vm/builtin/bignum.cpp:1165: error: 'isinf' is not a member of 'std'
vm/builtin/bignum.cpp: In static member function 'static rubinius::Integer* rubinius::Bignum::from_double(rubinius::VM*, double)':
vm/builtin/bignum.cpp:1188: error: 'isinf' is not a member of 'std'
vm/builtin/bignum.cpp:1190: error: 'isnan' is not a member of 'std'
rake aborted!
Error compiling

Tasks: TOP => install => build => build:build => vm/vm
(See full trace by running task with --trace)
Error: gcc -Ivm -Ivm/test/cxxtest -I. -pipe -Wall -fno-omit-frame-pointer -ggdb3 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -march=i686 -DHAS_EXECINFO -DHAS_READLINE -DNDEBUG -include llvm/System/Solaris.h -D_GNU_SOURCE -fomit-frame-pointer -fPIC -Ivendor/llvm/include -DENABLE_LLVM -Ivendor/udis86 -Ivendor/libffi/include -Ivendor/libgdtoa -Ivendor/onig -Ivendor/libtommath -I/usr/local/include -c -o vm/builtin/artifacts/bignum.cpp.o vm/builtin/bignum.cpp
```