From: Yui NARUSE Date: 2012-02-28T15:24:51+09:00 Subject: [ruby-core:42996] [Backport93 - Backport #6064][Closed] unsupported -ggdb flag is used with clang 3.1 Issue #6064 has been updated by Yui NARUSE. Status changed from Open to Closed ---------------------------------------- Backport #6064: unsupported -ggdb flag is used with clang 3.1 https://bugs.ruby-lang.org/issues/6064 Author: Eric Hodel Status: Closed Priority: Normal Assignee: Category: Target version: =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 -- http://bugs.ruby-lang.org/