Bug #8036
closedUnable to compile Ruby 2.0.0p20 on Mac OSX 10.7.5
Description
svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_2_0_0/ ruby2
...
cd ruby2
autoconf --version
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
http://gnu.org/licenses/gpl.html, http://gnu.org/licenses/exceptions.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David J. MacKenzie and Akim Demaille.
autoconf --verbose
...
./configure --version
configure
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
./configure --program-suffix=20
...
clang --version
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
make
CC = /usr/bin/gcc
LD = ld
LDSHARED = /usr/bin/gcc -dynamic -bundle
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fstack-protector -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin11.4.2 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -fstack-protector -Wl,-u,_objc_msgSend -pie
SOLIBS =
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling dmyversion.c
generating miniprelude.c
generating id.h
id.h updated
compiling miniprelude.c
translating probes probes.d
. ./vm_opts.h
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
generating known_errors.inc
known_errors.inc updated
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
generating parse.c
copying lex.c
generating id.c
id.c updated
compiling parse.c
compiling process.c
compiling random.c
compiling range.c
compiling rational.c
compiling re.c
compiling regcomp.c
compiling regenc.c
compiling regerror.c
compiling regexec.c
compiling regparse.c
compiling regsyntax.c
compiling ruby.c
compiling safe.c
compiling signal.c
compiling sprintf.c
compiling st.c
compiling strftime.c
compiling string.c
compiling struct.c
compiling time.c
compiling transcode.c
compiling util.c
compiling variable.c
generating insns.inc
generating insns_info.inc
generating optinsn.inc
generating optunifs.inc
generating opt_sc.inc
compiling compile.c
compiling debug.c
generating node_name.inc
compiling iseq.c
generating vmtc.inc
generating vm.inc
compiling vm.c
compiling vm_dump.c
compiling vm_backtrace.c
compiling vm_trace.c
compiling thread.c
compiling cont.c
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
generating newline.c ...
converter for universal_newline
converter for crlf_newline
converter for cr_newline
done. (0.03user 0.00system 0.01elapsed)
compiling newline.c
compiling ./missing/setproctitle.c
compiling dmyext.c
linking miniruby
/Users/epeterson/In_Work/Projects/lang/ruby2/lib/fileutils.rb:111: [BUG] Stack consistency error (sp: 38, bp: 36)
ruby 2.0.0p20 (2013-03-06) [x86_64-darwin11.4.2]
-- 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/epeterson/In_Work/Projects/lang/ruby2/lib/fileutils.rb:111
c:0005 p:0035 s:0034 e:000033 CLASS /Users/epeterson/In_Work/Projects/lang/ruby2/lib/fileutils.rb:107
c:0004 p:0009 s:0032 e:000031 TOP /Users/epeterson/In_Work/Projects/lang/ruby2/lib/fileutils.rb:85 [FINISH]
c:0003 p:---- s:0030 e:000029 CFUNC :require
c:0002 p:0098 s:0026 E:0016b8 EVAL ./tool/mkconfig.rb:11 [FINISH]
c:0001 p:0000 s:0002 E:000728 TOP [FINISH]
./tool/mkconfig.rb:11:in <main>' ./tool/mkconfig.rb:11:in
require'
/Users/epeterson/In_Work/Projects/lang/ruby2/lib/fileutils.rb:85:in <top (required)>' /Users/epeterson/In_Work/Projects/lang/ruby2/lib/fileutils.rb:107:in
module:FileUtils'
/Users/epeterson/In_Work/Projects/lang/ruby2/lib/fileutils.rb:111:in `module:NoWrite'
-- C level backtrace information -------------------------------------------
0 miniruby 0x0000000103db3e54 rb_vm_bugreport + 164
1 miniruby 0x0000000103c8b8be report_bug + 302
2 miniruby 0x0000000103c8bb74 rb_bug + 180
3 miniruby 0x0000000103da9ed0 vm_exec_core + 32080
4 miniruby 0x0000000103daa0ae vm_exec + 94
5 miniruby 0x0000000103daaf8a rb_iseq_eval + 266
6 miniruby 0x0000000103c904d2 rb_load_internal + 306
7 miniruby 0x0000000103c91c21 rb_require_safe + 1313
8 miniruby 0x0000000103d99c84 call_cfunc_1 + 20
9 miniruby 0x0000000103da0156 vm_call_cfunc + 1046
10 miniruby 0x0000000103daed10 vm_call_method + 224
11 miniruby 0x0000000103da5393 vm_exec_core + 12819
12 miniruby 0x0000000103daa0ae vm_exec + 94
13 miniruby 0x0000000103daae5e rb_iseq_eval_main + 206
14 miniruby 0x0000000103c8ec3f ruby_exec_internal + 111
15 miniruby 0x0000000103c8fc22 ruby_run_node + 82
16 miniruby 0x0000000103c55fff main + 79
17 miniruby 0x0000000103c55fa4 start + 52
18 ??? 0x0000000000000009 0x0 + 9
-- 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
Files