This is probably another dsymutil bug... but, just in case... int main (int ac, char *av[]) { int a ; return a + 1; }
=== $ ./gcc/xgcc -B gcc ../trivial.c -g $ ./gcc/xgcc -B gcc ../trivial.c -g -feliminate-dwarf2-dups warning: no debug symbols in executable (-arch i386) -- Summary: -feliminate-dwarf2-dups produces "no debug symbols in executable" warning from dsymutil Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: iains at gcc dot gnu dot org GCC target triplet: i686-apple-darwin9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43821