rubinius/rubinius — Issue #1594: gcc on freebsd has problems inlining in murmur_hash3.cpp
Author: Gibheer
Created: 2012-03-06 19:17:42+00:00
State: open

I have problems compiling rbx on freebsd 8.2 with gcc 4.2.1 with a fresh clone.

```
4: CC vm/util/murmur_hash3.cpp
vm/util/murmur_hash3.cpp: In function 'void MurmurHash3_x86_128(const void*, int, uint32_t, void*)':
vm/util/murmur_hash3.cpp:55: sorry, unimplemented: inlining failed in call to 'uint32_t getblock(const uint32_t*, int)': function not inlinable
vm/util/murmur_hash3.cpp:173: sorry, unimplemented: called from here
vm/util/murmur_hash3.cpp:55: sorry, unimplemented: inlining failed in call to 'uint32_t getblock(const uint32_t*, int)': function not inlinable
vm/util/murmur_hash3.cpp:174: sorry, unimplemented: called from here
vm/util/murmur_hash3.cpp:55: sorry, unimplemented: inlining failed in call to 'uint32_t getblock(const uint32_t*, int)': function not inlinable
vm/util/murmur_hash3.cpp:175: sorry, unimplemented: called from here
vm/util/murmur_hash3.cpp:55: sorry, unimplemented: inlining failed in call to 'uint32_t getblock(const uint32_t*, int)': function not inlinable
vm/util/murmur_hash3.cpp:176: sorry, unimplemented: called from here
vm/util/murmur_hash3.cpp:68: sorry, unimplemented: inlining failed in call to 'uint32_t fmix(uint32_t)': function not inlinable
vm/util/murmur_hash3.cpp:239: sorry, unimplemented: called from here
vm/util/murmur_hash3.cpp:68: sorry, unimplemented: inlining failed in call to 'uint32_t fmix(uint32_t)': function not inlinable
vm/util/murmur_hash3.cpp:240: sorry, unimplemented: called from here
vm/util/murmur_hash3.cpp:68: sorry, unimplemented: inlining failed in call to 'uint32_t fmix(uint32_t)': function not inlinable
vm/util/murmur_hash3.cpp:241: sorry, unimplemented: called from here
vm/util/murmur_hash3.cpp:68: sorry, unimplemented: inlining failed in call to 'uint32_t fmix(uint32_t)': function not inlinable
vm/util/murmur_hash3.cpp:242: sorry, unimplemented: called from here
Error: gcc -fPIC -Ivm -Ivm/test/cxxtest -I. -pipe -Wall -fno-omit-frame-pointer -ggdb3 -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DHAS_EXECINFO -DHAVE_CLOCK_GETTIME -DHAVE_NL_LANGINFO -DHAVE_TM_GMTOFF -DHAVE_TM_ZONE -DHAVE_TIMEZONE -DHAVE_TZNAME -DHAVE_STRING_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TIMES_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_STDARG_H -D_GNU_SOURCE -fPIC -Ivendor/llvm/include -DENABLE_LLVM -Ivendor/oniguruma -DHAVE_CONFIG_H -I. -I../../vm/capi/19/include -Ivendor/udis86 -Ivendor/libffi/include -Ivendor/libgdtoa -Ivendor/libtommath -I/usr/local/include -c -o vm/util/artifacts/murmur_hash3.cpp.o vm/util/murmur_hash3.cpp
```