This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/43821] -feliminate-dwarf2-dups produces "no debug symbols in executable" warning from dsymutil
- From: "iains at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 May 2010 12:30:36 -0000
- Subject: [Bug debug/43821] -feliminate-dwarf2-dups produces "no debug symbols in executable" warning from dsymutil
- References: <bug-43821-19002@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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