------- Comment #3 from iains at gcc dot gnu dot org 2010-05-18 12:30 ------- it still fails for me on ppc and i686 4.6.0 r159518 and 159528 resp.
gcc version 4.5.1 20100518 (prerelease) [gcc-4_5-branch revision 159528] (GCC) apollo:gcc-4-5-branch-build $ ./gcc/xgcc -B gcc -g -feliminate-dwarf2-dups ../tests/trivial-debug-sym.c warning: no debug symbols in executable (-arch i386) $ cat ../tests/trivial-debug-sym.c int main (int ac, char *av[]) { int a ; return a + 1; } $ xcodebuild -version Xcode 3.1.4 Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0 BuildVersion: 9M2809 $ ld -v @(#)PROGRAM:ld PROJECT:ld64-85.2.1 $ dsymutil -v @(#)PROGRAM:dsymutil PROJECT:dwarfutils-70 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43821