Created
March 4, 2013 09:26
-
-
Save polarapfel/5081054 to your computer and use it in GitHub Desktop.
Building Ruby 2.0.0-p0 using RVM on Mac OS X 10.8.2 with latest XCode 4.6 (with Command Line Tools installed), using brew as package manager. This time, I set "export CC=/usr/bin/clang" and went on with "CC=/usr/bin/clang rmv install 2.0.0". As you can see in the make log, it still uses the gcc binary for CC. WTF?!
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
[2013-03-04 10:19:32] make | |
CC = /usr/bin/gcc | |
LD = ld | |
LDSHARED = /usr/bin/gcc -dynamiclib | |
CFLAGS = -O2 -arch x86_64 -fno-common -pipe | |
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT | |
CPPFLAGS = -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/libxslt/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I. -I.ext/include/x86_64-darwin12.2.0 -I./include -I. | |
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libxml2/lib -L/usr/local/opt/libxslt/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -install_name /Users/olymp/.rvm/rubies/ruby-2.0.0-p0/lib/libruby.2.0.0.dylib -current_version 2.0.0 -compatibility_version 2.0.0 -Wl,-u,_objc_msgSend -Wl,-u,_objc_msgSend | |
SOLIBS = | |
linking miniruby | |
ld: warning: directory not found for option '-L/opt/local/lib' | |
generating encdb.h | |
/Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:375: [BUG] Stack consistency error (sp: 30, bp: 28) | |
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0] | |
-- Crash Report log information -------------------------------------------- | |
See Crash Report log file under the one of following: | |
* ~/Library/Logs/CrashReporter | |
* /Library/Logs/CrashReporter | |
* ~/Library/Logs/DiagnosticReports | |
* /Library/Logs/DiagnosticReports | |
the more detail of. | |
-- Control frame information ----------------------------------------------- | |
c:0007 p:0081 s:0030 e:000029 CLASS /Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:375 | |
c:0006 p:0014 s:0026 e:000025 CLASS /Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:354 | |
c:0005 p:0011 s:0024 e:000023 CLASS /Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:341 | |
c:0004 p:0020 s:0020 e:000019 TOP /Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:270 [FINISH] | |
c:0003 p:---- s:0018 e:000017 CFUNC :require | |
c:0002 p:0007 s:0014 E:001148 EVAL ./tool/generic_erb.rb:2 [FINISH] | |
c:0001 p:0000 s:0002 E:0019e8 TOP [FINISH] | |
./tool/generic_erb.rb:2:in `<main>' | |
./tool/generic_erb.rb:2:in `require' | |
/Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:270:in `<top (required)>' | |
/Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:341:in `<class:ERB>' | |
/Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:354:in `<class:Compiler>' | |
/Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/erb.rb:375:in `<class:Scanner>' | |
-- C level backtrace information ------------------------------------------- | |
0 miniruby 0x000000010357f764 rb_vm_bugreport + 164 | |
1 miniruby 0x00000001034648de report_bug + 302 | |
2 miniruby 0x0000000103464b94 rb_bug + 180 | |
3 miniruby 0x0000000103575e70 vm_exec_core + 31632 | |
4 miniruby 0x00000001035760fe vm_exec + 94 | |
5 miniruby 0x0000000103576f8a rb_iseq_eval + 266 | |
6 miniruby 0x00000001034694f2 rb_load_internal + 306 | |
7 miniruby 0x000000010346ac41 rb_require_safe + 1313 | |
8 miniruby 0x0000000103566064 call_cfunc_1 + 20 | |
9 miniruby 0x000000010356c326 vm_call_cfunc + 1046 | |
10 miniruby 0x000000010357ac90 vm_call_method + 224 | |
11 miniruby 0x0000000103571333 vm_exec_core + 12371 | |
12 miniruby 0x00000001035760fe vm_exec + 94 | |
13 miniruby 0x0000000103576e64 rb_iseq_eval_main + 132 | |
14 miniruby 0x0000000103467c5f ruby_exec_internal + 111 | |
15 miniruby 0x0000000103468c42 ruby_run_node + 82 | |
16 miniruby 0x000000010343108f main + 79 | |
17 libdyld.dylib 0x00007fff862c57e1 start + 0 | |
18 ??? 0x000000000000000b 0x0 + 11 | |
-- Other runtime information ----------------------------------------------- | |
* Loaded script: ./tool/generic_erb.rb | |
* Loaded features: | |
0 enumerator.so | |
1 /Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/cgi/util.rb | |
[NOTE] | |
You may have encountered a bug in the Ruby interpreter or extension libraries. | |
Bug reports are welcome. | |
For details: http://www.ruby-lang.org/bugreport.html | |
/Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111: [BUG] Stack consistency error (sp: 38, bp: 36) | |
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin12.2.0] | |
-- Crash Report log information -------------------------------------------- | |
See Crash Report log file under the one of following: | |
* ~/Library/Logs/CrashReporter | |
* /Library/Logs/CrashReporter | |
* ~/Library/Logs/DiagnosticReports | |
* /Library/Logs/DiagnosticReports | |
the more detail of. | |
-- Control frame information ----------------------------------------------- | |
c:0006 p:0038 s:0038 e:000037 CLASS /Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111 | |
c:0005 p:0035 s:0034 e:000033 CLASS /Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:107 | |
c:0004 p:0009 s:0032 e:000031 TOP /Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:85 [FINISH] | |
c:0003 p:---- s:0030 e:000029 CFUNC :require | |
c:0002 p:0098 s:0026 E:0000e8 EVAL ./tool/mkconfig.rb:11 [FINISH] | |
c:0001 p:0000 s:0002 E:000568 TOP [FINISH] | |
./tool/mkconfig.rb:11:in `<main>' | |
./tool/mkconfig.rb:11:in `require' | |
/Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:85:in `<top (required)>' | |
/Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:107:in `<module:FileUtils>' | |
/Users/olymp/.rvm/src/ruby-2.0.0-p0/lib/fileutils.rb:111:in `<module:NoWrite>' | |
-- C level backtrace information ------------------------------------------- | |
0 miniruby 0x000000010f6ca764 rb_vm_bugreport + 164 | |
1 miniruby 0x000000010f5af8de report_bug + 302 | |
2 miniruby 0x000000010f5afb94 rb_bug + 180 | |
3 miniruby 0x000000010f6c0e70 vm_exec_core + 31632 | |
4 miniruby 0x000000010f6c10fe vm_exec + 94 | |
5 miniruby 0x000000010f6c1f8a rb_iseq_eval + 266 | |
6 miniruby 0x000000010f5b44f2 rb_load_internal + 306 | |
7 miniruby 0x000000010f5b5c41 rb_require_safe + 1313 | |
8 miniruby 0x000000010f6b1064 call_cfunc_1 + 20 | |
9 miniruby 0x000000010f6b7326 vm_call_cfunc + 1046 | |
10 miniruby 0x000000010f6c5c90 vm_call_method + 224 | |
11 miniruby 0x000000010f6bc333 vm_exec_core + 12371 | |
12 miniruby 0x000000010f6c10fe vm_exec + 94 | |
13 miniruby 0x000000010f6c1e64 rb_iseq_eval_main + 132 | |
14 miniruby 0x000000010f5b2c5f ruby_exec_internal + 111 | |
15 miniruby 0x000000010f5b3c42 ruby_run_node + 82 | |
16 miniruby 0x000000010f57c08f main + 79 | |
17 libdyld.dylib 0x00007fff862c57e1 start + 0 | |
-- Other runtime information ----------------------------------------------- | |
* Loaded script: ./tool/mkconfig.rb | |
* Loaded features: | |
0 enumerator.so | |
[NOTE] | |
You may have encountered a bug in the Ruby interpreter or extension libraries. | |
Bug reports are welcome. | |
For details: http://www.ruby-lang.org/bugreport.html | |
make: *** [.rbconfig.time] Abort trap: 6 | |
make: *** Waiting for unfinished jobs.... | |
make: *** [encdb.h] Abort trap: 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment