secret
Created

Rubinius LLVM Compile Failure (OS X ML)

  • Download Gist
build_failure.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
cmiller@cmiller-iMac:~/Code/rubinius
> ./configure --default-version=19 --cc=clang --cxx=clang++ master [422359a]
Checking gcc: found
Checking g++: found
Checking bison: found
Configuring LLVM...
Checking for existing LLVM library tree: found!
 
Checking sizeof(short): 2 bytes
Checking sizeof(int): 4 bytes
Checking sizeof(void*): 8 bytes
Checking sizeof(size_t): 8 bytes
Checking sizeof(long): 8 bytes
Checking sizeof(long long): 8 bytes
Checking sizeof(float): 4 bytes
Checking sizeof(double): 8 bytes
Checking sizeof(off_t): 8 bytes
Checking sizeof(time_t): 8 bytes
Checking for libc version: libc.dylib found!
Checking platform endianness: little endian
Checking tr1/hash definition: found
Checking for x86_32: no
Checking for x86_64: yes
Checking for function 'backtrace': found!
Checking for function 'readline': found!
Checking for library: libyaml: found!
Checking for function 'clock_gettime': not found
Checking for function 'nl_langinfo': found!
Checking for function 'setproctitle': not found
Checking for function 'posix_fadvise': not found
Checking for struct tm has member tm_gmtoff: found!
Checking for struct tm has member tm_zone: found!
Checking for global 'timezone': found!
Checking for global 'tzname': found!
Checking for global 'daylight': found!
Checking for header 'alloca.h': found!
Checking for header 'string.h': found!
Checking for header 'sys/time.h': found!
Checking for header 'sys/times.h': found!
Checking for header 'sys/types.h': found!
Checking for header 'unistd.h': found!
Checking for header 'stdarg.h': found!
Checking for header 'sys/pstat.h': not found
Checking curses library: curses
------------------------------------------------------------------
 
Rubinius has been configured.
 
Run 'rake' to build and test Rubinius.
 
After building, you may add
 
'/Users/cmiller/Code/rubinius/bin'
 
to your PATH or run commands directly from that directory.
 
Available commands are:
 
ruby, rake, gem, irb, rdoc, ri, rbx
 
------------------------------------------------------------------
 
cmiller@cmiller-iMac:~/Code/rubinius
> rake clean master [422359a]
(in /Users/cmiller/Code/rubinius)
 
cmiller@cmiller-iMac:~/Code/rubinius (*)
> DEV=1 rake build master [422359a] deleted
(in /Users/cmiller/Code/rubinius)
GEN vm/gen/config_variables.h
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby vm/codegen/config_vars.rb vm/gen/config_variables.h
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby vm/codegen/encoding_extract.rb /Users/cmiller/Code/rubinius/vendor/oniguruma vm/gen/encoding_database.cpp
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby vm/codegen/transcoders_extract.rb /Users/cmiller/Code/rubinius/vendor/oniguruma/enc/trans vm/gen/transcoder_database.cpp
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby vm/codegen/field_extract.rb vm/builtin/basicobject.hpp 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/compiledcode.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/constantscope.hpp vm/builtin/encoding.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/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/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 vm/builtin/cache.hpp vm/builtin/atomic.hpp
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
GEN web/_includes/instructions.markdown
1: CC regcomp.c
1: CC regenc.c
1: CC regerror.c
1: CC regexec.c
1: CC regparse.c
1: CC regsyntax.c
1: CC regtrav.c
1: CC regversion.c
1: CC st.c
1: CC enc/ascii.c
1: CC enc/big5.c
1: CC enc/cp949.c
1: CC enc/emacs_mule.c
1: CC enc/euc_jp.c
1: CC enc/euc_kr.c
1: CC enc/euc_tw.c
1: CC enc/gb18030.c
1: CC enc/gbk.c
1: CC enc/iso_8859_1.c
1: CC enc/iso_8859_10.c
1: CC enc/iso_8859_11.c
1: CC enc/iso_8859_13.c
1: CC enc/iso_8859_14.c
1: CC enc/iso_8859_15.c
1: CC enc/iso_8859_16.c
1: CC enc/iso_8859_2.c
1: CC enc/iso_8859_3.c
1: CC enc/iso_8859_4.c
1: CC enc/iso_8859_5.c
1: CC enc/iso_8859_6.c
1: CC enc/iso_8859_7.c
1: CC enc/iso_8859_8.c
1: CC enc/iso_8859_9.c
1: CC enc/koi8_r.c
1: CC enc/koi8_u.c
1: CC enc/mktable.c
1: CC enc/shift_jis.c
1: CC enc/unicode.c
1: CC enc/us_ascii.c
1: CC enc/utf_16be.c
1: CC enc/utf_16le.c
1: CC enc/utf_32be.c
1: CC enc/utf_32le.c
1: CC enc/utf_8.c
1: CC enc/windows_1251.c
1: AR ./libonig.a
ar: creating archive ./libonig.a
a - ./artifacts/regcomp.c.o
a - ./artifacts/regenc.c.o
a - ./artifacts/regerror.c.o
a - ./artifacts/regexec.c.o
a - ./artifacts/regparse.c.o
a - ./artifacts/regsyntax.c.o
a - ./artifacts/regtrav.c.o
a - ./artifacts/regversion.c.o
a - ./artifacts/st.c.o
a - enc/artifacts/ascii.c.o
a - enc/artifacts/big5.c.o
a - enc/artifacts/cp949.c.o
a - enc/artifacts/emacs_mule.c.o
a - enc/artifacts/euc_jp.c.o
a - enc/artifacts/euc_kr.c.o
a - enc/artifacts/euc_tw.c.o
a - enc/artifacts/gb18030.c.o
a - enc/artifacts/gbk.c.o
a - enc/artifacts/iso_8859_1.c.o
a - enc/artifacts/iso_8859_10.c.o
a - enc/artifacts/iso_8859_11.c.o
a - enc/artifacts/iso_8859_13.c.o
a - enc/artifacts/iso_8859_14.c.o
a - enc/artifacts/iso_8859_15.c.o
a - enc/artifacts/iso_8859_16.c.o
a - enc/artifacts/iso_8859_2.c.o
a - enc/artifacts/iso_8859_3.c.o
a - enc/artifacts/iso_8859_4.c.o
a - enc/artifacts/iso_8859_5.c.o
a - enc/artifacts/iso_8859_6.c.o
a - enc/artifacts/iso_8859_7.c.o
a - enc/artifacts/iso_8859_8.c.o
a - enc/artifacts/iso_8859_9.c.o
a - enc/artifacts/koi8_r.c.o
a - enc/artifacts/koi8_u.c.o
a - enc/artifacts/mktable.c.o
a - enc/artifacts/shift_jis.c.o
a - enc/artifacts/unicode.c.o
a - enc/artifacts/us_ascii.c.o
a - enc/artifacts/utf_16be.c.o
a - enc/artifacts/utf_16le.c.o
a - enc/artifacts/utf_32be.c.o
a - enc/artifacts/utf_32le.c.o
a - enc/artifacts/utf_8.c.o
a - enc/artifacts/windows_1251.c.o
1: CC enc/trans/big5.c
1: LDSHARED enc/trans/big5.bundle
1: CC enc/trans/chinese.c
1: LDSHARED enc/trans/chinese.bundle
1: CC enc/trans/emoji.c
1: LDSHARED enc/trans/emoji.bundle
1: CC enc/trans/emoji_iso2022_kddi.c
1: LDSHARED enc/trans/emoji_iso2022_kddi.bundle
1: CC enc/trans/emoji_sjis_docomo.c
1: LDSHARED enc/trans/emoji_sjis_docomo.bundle
1: CC enc/trans/emoji_sjis_kddi.c
1: LDSHARED enc/trans/emoji_sjis_kddi.bundle
1: CC enc/trans/emoji_sjis_softbank.c
1: LDSHARED enc/trans/emoji_sjis_softbank.bundle
1: CC enc/trans/escape.c
1: LDSHARED enc/trans/escape.bundle
1: CC enc/trans/gb18030.c
1: LDSHARED enc/trans/gb18030.bundle
1: CC enc/trans/gbk.c
1: LDSHARED enc/trans/gbk.bundle
1: CC enc/trans/iso2022.c
1: LDSHARED enc/trans/iso2022.bundle
1: CC enc/trans/japanese.c
1: LDSHARED enc/trans/japanese.bundle
1: CC enc/trans/japanese_euc.c
1: LDSHARED enc/trans/japanese_euc.bundle
1: CC enc/trans/japanese_sjis.c
1: LDSHARED enc/trans/japanese_sjis.bundle
1: CC enc/trans/korean.c
1: LDSHARED enc/trans/korean.bundle
1: CC enc/trans/newline.c
1: LDSHARED enc/trans/newline.bundle
1: CC enc/trans/single_byte.c
1: LDSHARED enc/trans/single_byte.bundle
1: CC enc/trans/utf8_mac.c
1: LDSHARED enc/trans/utf8_mac.bundle
1: CC enc/trans/utf_16_32.c
1: LDSHARED enc/trans/utf_16_32.bundle
Running 181 tasks using 4 parallel threads
2: CC vm/arguments.cpp
3: CC vm/agent_components.cpp
4: CC vm/agent.cpp
clang: error: argument unused during compilation: '-ggdb3'
5: CC vm/accessor_primitives.cpp
clang: error: argument unused during compilation: '-ggdb3'
clang: error: argument unused during compilation: '-ggdb3'
clang: error: argument unused during compilation: '-ggdb3'
Error: clang -Ivm -Ivm/test/cxxtest -I. -pipe -Wall -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-function -g -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -ggdb3 -DHAS_EXECINFO -DHAVE_SPT_REUSEARGV -DHAVE_NL_LANGINFO -DHAVE_TM_GMTOFF -DHAVE_TM_ZONE -DHAVE_TIMEZONE -DHAVE_TZNAME -DHAVE_DAYLIGHT -DHAVE_ALLOCA_H -DHAVE_STRING_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TIMES_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_STDARG_H -D_DARWIN_USE_64_BIT_INODE -mdynamic-no-pic -Ivendor/oniguruma -DHAVE_CONFIG_H -I. -I../../vm/capi/19/include -Ivendor/llvm/include -I/Users/cmiller/Code/rubinius/vendor/llvm/Release/include -D_GNU_SOURCE -fno-common -DENABLE_LLVM -Ivendor/udis86 -Ivendor/libffi/include -Ivendor/libgdtoa -Ivendor/libtommath -I/usr/local/include -c -o vm/artifacts/arguments.cpp.o vm/arguments.cpp
Error: clang -Ivm -Ivm/test/cxxtest -I. -pipe -Wall -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-function -g -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -ggdb3 -DHAS_EXECINFO -DHAVE_SPT_REUSEARGV -DHAVE_NL_LANGINFO -DHAVE_TM_GMTOFF -DHAVE_TM_ZONE -DHAVE_TIMEZONE -DHAVE_TZNAME -DHAVE_DAYLIGHT -DHAVE_ALLOCA_H -DHAVE_STRING_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TIMES_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_STDARG_H -D_DARWIN_USE_64_BIT_INODE -mdynamic-no-pic -Ivendor/oniguruma -DHAVE_CONFIG_H -I. -I../../vm/capi/19/include -Ivendor/llvm/include -I/Users/cmiller/Code/rubinius/vendor/llvm/Release/include -D_GNU_SOURCE -fno-common -DENABLE_LLVM -Ivendor/udis86 -Ivendor/libffi/include -Ivendor/libgdtoa -Ivendor/libtommath -I/usr/local/include -c -o vm/artifacts/agent_components.cpp.o vm/agent_components.cpp
Error: clang -Ivm -Ivm/test/cxxtest -I. -pipe -Wall -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-function -g -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -ggdb3 -DHAS_EXECINFO -DHAVE_SPT_REUSEARGV -DHAVE_NL_LANGINFO -DHAVE_TM_GMTOFF -DHAVE_TM_ZONE -DHAVE_TIMEZONE -DHAVE_TZNAME -DHAVE_DAYLIGHT -DHAVE_ALLOCA_H -DHAVE_STRING_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TIMES_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_STDARG_H -D_DARWIN_USE_64_BIT_INODE -mdynamic-no-pic -Ivendor/oniguruma -DHAVE_CONFIG_H -I. -I../../vm/capi/19/include -Ivendor/llvm/include -I/Users/cmiller/Code/rubinius/vendor/llvm/Release/include -D_GNU_SOURCE -fno-common -DENABLE_LLVM -Ivendor/udis86 -Ivendor/libffi/include -Ivendor/libgdtoa -Ivendor/libtommath -I/usr/local/include -c -o vm/artifacts/agent.cpp.o vm/agent.cpp
Error: clang -Ivm -Ivm/test/cxxtest -I. -pipe -Wall -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-function -g -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -ggdb3 -DHAS_EXECINFO -DHAVE_SPT_REUSEARGV -DHAVE_NL_LANGINFO -DHAVE_TM_GMTOFF -DHAVE_TM_ZONE -DHAVE_TIMEZONE -DHAVE_TZNAME -DHAVE_DAYLIGHT -DHAVE_ALLOCA_H -DHAVE_STRING_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TIMES_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_STDARG_H -D_DARWIN_USE_64_BIT_INODE -mdynamic-no-pic -Ivendor/oniguruma -DHAVE_CONFIG_H -I. -I../../vm/capi/19/include -Ivendor/llvm/include -I/Users/cmiller/Code/rubinius/vendor/llvm/Release/include -D_GNU_SOURCE -fno-common -DENABLE_LLVM -Ivendor/udis86 -Ivendor/libffi/include -Ivendor/libgdtoa -Ivendor/libtommath -I/usr/local/include -c -o vm/artifacts/accessor_primitives.cpp.o vm/accessor_primitives.cpp
rake aborted!
Error compiling
 
(See full trace by running task with --trace)
 
cmiller@cmiller-iMac:~/Code/rubinius
> clang -Ivm -Ivm/test/cxxtest -I. -pipe -Wall -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-function -g -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -ggdb3 -DHAS_EXECINFO -DHAVE_SPT_REUSEARGV -DHAVE_NL_LANGINFO -DHAVE_TM_GMTOFF -DHAVE_TM_ZONE -DHAVE_TIMEZONE -DHAVE_TZNAME -DHAVE_DAYLIGHT -DHAVE_ALLOCA_H -DHAVE_STRING_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TIMES_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_STDARG_H -D_DARWIN_USE_64_BIT_INODE -mdynamic-no-pic -Ivendor/oniguruma -DHAVE_CONFIG_H -I. -I../../vm/capi/19/include -Ivendor/llvm/include -I/Users/cmiller/Code/rubinius/vendor/llvm/Release/include -D_GNU_SOURCE -fno-common -DENABLE_LLVM -Ivendor/udis86 -Ivendor/libffi/include -Ivendor/libgdtoa -Ivendor/libtommath -I/usr/local/include -c -o vm/artifacts/arguments.cpp.o vm/arguments.cpp
clang: error: argument unused during compilation: '-ggdb3'
 
cmiller@cmiller-iMac:~/Code/rubinius
> ls vm/artifacts master [422359a]
 
cmiller@cmiller-iMac:~/Code/rubinius
> clang -Ivm -Ivm/test/cxxtest -I. -pipe -Wall -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-function -g -Werror -DRBX_PROFILER -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -DHAS_EXECINFO -DHAVE_SPT_REUSEARGV -DHAVE_NL_LANGINFO -DHAVE_TM_GMTOFF -DHAVE_TM_ZONE -DHAVE_TIMEZONE -DHAVE_TZNAME -DHAVE_DAYLIGHT -DHAVE_ALLOCA_H -DHAVE_STRING_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TIMES_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DHAVE_STDARG_H -D_DARWIN_USE_64_BIT_INODE -mdynamic-no-pic -Ivendor/oniguruma -DHAVE_CONFIG_H -I. -I../../vm/capi/19/include -Ivendor/llvm/include -I/Users/cmiller/Code/rubinius/vendor/llvm/Release/include -D_GNU_SOURCE -fno-common -DENABLE_LLVM -Ivendor/udis86 -Ivendor/libffi/include -Ivendor/libgdtoa -Ivendor/libtommath -I/usr/local/include -c -o vm/artifacts/arguments.cpp.o vm/arguments.cpp
 
cmiller@cmiller-iMac:~/Code/rubinius
> ls vm/artifacts master [422359a]
arguments.cpp.o
 
cmiller@cmiller-iMac:~/Code/rubinius
> clang++ --version master [422359a]
Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.0.0
Thread model: posix
 
cmiller@cmiller-iMac:~/Code/rubinius
> uname -a master [422359a]
Darwin cmiller-iMac.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.