Created
January 24, 2012 11:51
-
-
Save moomerman/1669788 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /Users/richard/.rvm/log/ruby-1.9.3-p0-fast/make.log | |
[2012-01-24 11:44:18] make | |
CC = clang | |
LD = ld | |
LDSHARED = clang -dynamiclib | |
CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe | |
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT | |
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -I.ext/include/x86_64-darwin11.2.0 -I./include -I. | |
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/richard/.rvm/rubies/ruby-1.9.3-p0-fast/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_* -Wl,-u,_objc_msgSend | |
SOLIBS = | |
compiling main.c | |
compiling dmydln.c | |
compiling dmyencoding.c | |
compiling version.c | |
compiling dmyversion.c | |
compiling miniprelude.c | |
compiling array.c | |
compiling bignum.c | |
compiling class.c | |
compiling compar.c | |
compiling complex.c | |
compiling dir.c | |
compiling dln_find.c | |
compiling enum.c | |
compiling enumerator.c | |
compiling error.c | |
compiling eval.c | |
compiling load.c | |
load.c:49:4: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
RARRAY_LEN(load_path), RARRAY_PTR(load_path), | |
^~~~~~~~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:695:6: note: instantiated from: | |
(long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
load.c:49:4: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
RARRAY_LEN(load_path), RARRAY_PTR(load_path), | |
^~~~~~~~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:697:25: note: instantiated from: | |
RARRAY(a)->as.heap.len) | |
^ | |
load.c:282:36: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
return ext && !strchr(ext, '/') ? ext - feature : flen; | |
~ ^~~~~~~~~~~~~ | |
load.c:282:52: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
return ext && !strchr(ext, '/') ? ext - feature : flen; | |
~ ^~~~ | |
load.c:323:26: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
int before = 0, first = RARRAY_LEN(features); | |
^~~~~~~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:695:6: note: instantiated from: | |
(long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
load.c:323:26: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
int before = 0, first = RARRAY_LEN(features); | |
^~~~~~~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:697:25: note: instantiated from: | |
RARRAY(a)->as.heap.len) | |
^ | |
load.c:349:26: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
int before = 0, first = RARRAY_LEN(features); | |
^~~~~~~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:695:6: note: instantiated from: | |
(long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
load.c:349:26: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
int before = 0, first = RARRAY_LEN(features); | |
^~~~~~~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:697:25: note: instantiated from: | |
RARRAY(a)->as.heap.len) | |
^ | |
load.c:368:9: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
return RARRAY_LEN(features); | |
^~~~~~~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:695:6: note: instantiated from: | |
(long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
load.c:368:9: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
return RARRAY_LEN(features); | |
^~~~~~~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:697:25: note: instantiated from: | |
RARRAY(a)->as.heap.len) | |
^ | |
load.c:402:20: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
rb_push_feature_m(RARRAY_LEN(add), RARRAY_PTR(add), features); | |
^~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:695:6: note: instantiated from: | |
(long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
load.c:402:20: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
rb_push_feature_m(RARRAY_LEN(add), RARRAY_PTR(add), features); | |
^~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:697:25: note: instantiated from: | |
RARRAY(a)->as.heap.len) | |
^ | |
load.c:1112:36: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
return rb_funcall2(self, push, RARRAY_LEN(ary), RARRAY_PTR(ary)); | |
^~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:695:6: note: instantiated from: | |
(long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
load.c:1112:36: error: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] | |
return rb_funcall2(self, push, RARRAY_LEN(ary), RARRAY_PTR(ary)); | |
^~~~~~~~~~~~~~~ | |
./include/ruby/ruby.h:697:25: note: instantiated from: | |
RARRAY(a)->as.heap.len) | |
^ | |
14 errors generated. | |
make: *** [load.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@moomerman, thank you for a report. Unfortunately I don't have Mac, so that could not find the bag by myself.
Could you try https://gist.github.com/1672977 ? Let's work on adaptation to Mac there, and when it will compile, I'll update this Gist and correlated patches.