Forum: Ruby-core [ruby-trunk - Bug #8134][Open] Compilation failure for 2.0.0 on 10.6.8

Posted by vschiavoni (Valerio Schiavoni) (Guest)
on 2013-03-20 19:45
(Received via mailing list)
Issue #8134 has been reported by vschiavoni (Valerio Schiavoni).

----------------------------------------
Bug #8134: Compilation failure for 2.0.0 on 10.6.8
https://bugs.ruby-lang.org/issues/8134

Author: vschiavoni (Valerio Schiavoni)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-darwin10.8.0]


Trying to install 2.0.0 with rvm on Mac OSX 10.6.8, the installation 
fails.
Posted by vschiavoni (Valerio Schiavoni) (Guest)
on 2013-03-20 19:46
(Received via mailing list)
Issue #8134 has been updated by vschiavoni (Valerio Schiavoni).


This is the content of the log file reported by RVM:

[2013-03-20 19:28:58] make
current path: /Users/veleno/.rvm/src/ruby-2.0.0-p0
command(2): make install
  CC = clang
  LD = ld
  LDSHARED = clang -dynamiclib
  CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter 
-Wno-parentheses -Wno-long-long -Wno-missing-field-initializers 
-Wunused-variable -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 
-D_FORTIFY_SOURCE=2 -fstack-protector -fvisibility=hidden -DRUBY_EXPORT
  CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE 
-D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/opt/local/include   -I. 
-I.ext/include/x86_64-darwin10.8.0 -I./include -I.
  DLDFLAGS = -Wl,-undefined,dynamic_lookup 
-Wl,-multiply_defined,suppress -L/opt/local/lib  -install_name 
/Users/veleno/.rvm/rubies/ruby-2.0.0-p0/lib/libruby.2.0.0.dylib 
-current_version 2.0.0 -compatibility_version 2.0.0  -fstack-protector 
-Wl,-u,_objc_msgSend  -fstack-protector -Wl,-u,_objc_msgSend
  SOLIBS =
<internal:prelude>:1: [BUG] Bus Error
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin10.8.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:0002 p:0002 s:0004 e:000003 TOP    <internal:prelude>:1 [FINISH]
c:0001 p:0000 s:0002 E:000fa8 TOP    [FINISH]

<internal:prelude>:1:in `<compiled>'

-- C level backtrace information 
-------------------------------------------

-- Other runtime information 
-----------------------------------------------

* Loaded script: ./miniruby

* 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

----------------------------------------
Bug #8134: Compilation failure for 2.0.0 on 10.6.8
https://bugs.ruby-lang.org/issues/8134#change-37774

Author: vschiavoni (Valerio Schiavoni)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-darwin10.8.0]


Trying to install 2.0.0 with rvm on Mac OSX 10.6.8, the installation 
fails.
Posted by Nobuyoshi Nakada (nobu)
on 2013-03-21 03:31
(Received via mailing list)
Issue #8134 has been updated by nobu (Nobuyoshi Nakada).

Status changed from Open to Third Party's Issue
ruby -v changed from ruby 1.8.7 (2011-06-30 patchlevel 352) 
[i686-darwin10.8.0] to ruby 2.0.0-p0


----------------------------------------
Bug #8134: Compilation failure for 2.0.0 on 10.6.8
https://bugs.ruby-lang.org/issues/8134#change-37779

Author: vschiavoni (Valerio Schiavoni)
Status: Third Party's Issue
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0-p0


Trying to install 2.0.0 with rvm on Mac OSX 10.6.8, the installation 
fails.
Posted by Nobuyoshi Nakada (nobu)
on 2013-03-21 03:36
(Received via mailing list)
Issue #8134 has been updated by nobu (Nobuyoshi Nakada).

ruby -v changed from ruby 2.0.0-p0 to Apple clang version 1.7 
(tags/Apple/clang-77) (based on LLVM 2.9svn)


----------------------------------------
Bug #8134: Compilation failure for 2.0.0 on 10.6.8
https://bugs.ruby-lang.org/issues/8134#change-37781

Author: vschiavoni (Valerio Schiavoni)
Status: Third Party's Issue
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 
2.9svn)


Trying to install 2.0.0 with rvm on Mac OSX 10.6.8, the installation 
fails.
Posted by naruse (Yui NARUSE) (Guest)
on 2013-03-22 07:58
(Received via mailing list)
Issue #8134 has been updated by naruse (Yui NARUSE).


It seems because your clang is too old; use newer clang or gcc-4.2.
Or report rvm to use gcc-4.2 prior clang/llvm-gcc.
----------------------------------------
Bug #8134: Compilation failure for 2.0.0 on 10.6.8
https://bugs.ruby-lang.org/issues/8134#change-37803

Author: vschiavoni (Valerio Schiavoni)
Status: Third Party's Issue
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 
2.9svn)


Trying to install 2.0.0 with rvm on Mac OSX 10.6.8, the installation 
fails.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.