Project

General

Profile

Backport #6043

compile error for 1.9.3-p125 on OS X 10.7.3 with Xcode 4.2.1, gcc not found

Added by jahapro (Jan Harmsen) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:42710]

Description

Configure aborts due to not finding gcc, configure script looks for gcc-4.2 but there is only /usr/bin/gcc

/usr/bin/gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

For a successfule compile, param '--with-gcc=clang' needs to be specified:

rvm install ruby-1.9.3-p125 --with-gcc=clang

will successfully install ruby-1.9.3-p125


Related issues

Related to Ruby master - Bug #5082: test_context_switch(TestMarshal) was failed on OS X 10.7 (Lion)Closed07/23/2011Actions

Associated revisions

Revision fa1a2ae1
Added by naruse (Yui NARUSE) over 7 years ago

  • configure.in: remove workaround replacement from gcc to gcc-4.2. [Backport #6043]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 34746
Added by naruse (Yui NARUSE) over 7 years ago

  • configure.in: remove workaround replacement from gcc to gcc-4.2. [Backport #6043]

History

Updated by naruse (Yui NARUSE) over 7 years ago

  • Status changed from Open to Assigned
  • Assignee set to mrkn (Kenta Murata)

Recent ruby seems to work with llvm-gcc.
mrkn, could you confirm and decide the direction?

#2

Updated by naruse (Yui NARUSE) over 7 years ago

  • Tracker changed from Bug to Backport
  • Project changed from Ruby master to Backport193
#3

Updated by naruse (Yui NARUSE) over 7 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r34746.
Jan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • configure.in: remove workaround replacement from gcc to gcc-4.2. [Backport #6043]

Also available in: Atom PDF