Project

General

Profile

Actions

Bug #8268

closed

ruby 2.0.0 incorrectly detects debugflags on SmartOS / gcc 4.7

Added by mattconnolly (Matt Connolly) about 11 years ago. Updated about 11 years ago.

Status:
Closed
Target version:
-
ruby -v:
2.0.0-p0
Backport:
[ruby-core:54277]

Description

When compiling ruby from source on Smart OS, which uses gcc-4.7, the configure script fails to correctly detect a compatible debug flag. It chooses "-ggdb3" which doesn't work, and this causes all of the conftest.c compilations to fail at build without executing.

Running configure like "./configure ac_cv_func_dl_iterate_phdr=no" fails to complete the configure script.

Running configure like this: ./configure ac_cv_func_dl_iterate_phdr=no debugflags="-ggdb" works. Configure completes and ruby compiles and runs fine.

I'm not sure if this is a SmartOS specific problem, or gcc 4.7, so I'm writing it here to see if others have seen the same thing.


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #5384: Ruby 1.9.3-RC1 Fails to Compile on Illumos (OpenSolaris)Third Party's Issue10/01/2011Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0