Project

General

Profile

Actions

Backport #6043

closed

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 12 years ago. Updated over 12 years ago.

Status:
Closed
[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 1 (0 open1 closed)

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

Updated by naruse (Yui NARUSE) over 12 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?

Actions #2

Updated by naruse (Yui NARUSE) over 12 years ago

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

Updated by naruse (Yui NARUSE) over 12 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]
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0