Project

General

Profile

This project is closed and read-only.

Actions

Backport #6064

closed

unsupported -ggdb flag is used with clang 3.1

Backport #6064: unsupported -ggdb flag is used with clang 3.1

Added by drbrain (Eric Hodel) over 14 years ago. Updated over 14 years ago.

Status:
Closed
Assignee:
-
[ruby-core:42812]

Description

=begin
I upgraded to Xcode 4.3 which has clang 3.1:

Apple clang version 3.1 (tags/Apple/clang-318.0.45) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.3.0
Thread model: posix

After running ((%autoconf; CC=clang ./configure; make%)) clang complains about -ggdb:

clang: warning: argument unused during compilation: '-ggdb'

Also, the clang manual page notes for -g -O0 will generate the best information:

   -g  Generate debug information.  Note that Clang debug information
       works best at -O0.  At higher optimization levels, only line number
       information is currently available.

=end


Related issues 1 (0 open1 closed)

Has duplicate Backport193 - Backport #6080: fails to define RUBY_FUNC_EXPORTED when compiled with clangClosednobu (Nobuyoshi Nakada)Actions

Updated by naruse (Yui NARUSE) over 14 years ago Actions #1

  • Tracker changed from Bug to Backport
  • Project changed from Ruby to 13
  • Category deleted (build)

Updated by naruse (Yui NARUSE) over 14 years ago Actions #2 [ruby-core:42996]

  • Status changed from Open to Closed
Actions

Also available in: PDF Atom