June 05, 2011 [Issue 4154] Incorrect DWARF section names on Mac | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | http://d.puremagic.com/issues/show_bug.cgi?id=4154 --- Comment #10 from Robert Clipsham <robert@octarineparrot.com> 2011-06-05 20:11:49 BST --- (In reply to comment #9) > I don't understand - why should dsymutil be needed at all? It isn't needed for gcc. Au contraire - put the following in test.c: ---- int main() { return 0; } ---- then: $ gcc -v -g test.c -o test or $ clang -v -g test.c -o test You'll notice the last command run by either is dsymutil test. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 05, 2011 [Issue 4154] Incorrect DWARF section names on Mac | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | http://d.puremagic.com/issues/show_bug.cgi?id=4154 --- Comment #11 from Robert Clipsham <robert@octarineparrot.com> 2011-06-05 21:50:05 BST --- I may have found what dsymutil is choking on, I can't be sure though - following the steps taken by gcc, then removing the object file it creates before running dsymutil causes dsymutil to complain that <object file> does not exist. Curious, I inspected the binary with a hex editor, and it appears ld left some information in there that dsymutil requires, a list of object files. It seems ld doesn't do this for dmd, so I suspect there's something else we're not outputting that's required, or some flag we need to pass to ld. I blame ld, as there is no mention of the object file(s) in themselves before linking. I'll hunt a bit further, I'm not sure how much I can do without more knowledge of what's going on. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 06, 2011 [Issue 4154] Incorrect DWARF section names on Mac | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | http://d.puremagic.com/issues/show_bug.cgi?id=4154 --- Comment #12 from Jacob Carlborg <doob@me.com> 2011-06-06 03:47:12 PDT --- So DMD should invoke dsymutil? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 06, 2011 [Issue 4154] Incorrect DWARF section names on Mac | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | http://d.puremagic.com/issues/show_bug.cgi?id=4154 --- Comment #13 from Robert Clipsham <robert@octarineparrot.com> 2011-06-06 17:50:58 BST --- I believe so, there's not a lot of point right now though, given that the binaries produced by dmd cause dsymutil to fail. Struggling to find out what needs changing to stop dsymutil failing. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 09, 2012 [Issue 4154] Incorrect DWARF section names on Mac | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | http://d.puremagic.com/issues/show_bug.cgi?id=4154 dawg@dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dawg@dawgfoto.de --- Comment #14 from dawg@dawgfoto.de 2012-01-09 03:01:15 PST --- You don't need to run dsymutil. The final executables do usually not contain debug infos, but they do contain the path of all object files that were linked. Debuggers will use these to get the debug infos from the object files. Also GDB will load debug infos from the executable. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 19, 2012 [Issue 4154] Incorrect DWARF section names on Mac | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | http://d.puremagic.com/issues/show_bug.cgi?id=4154 --- Comment #15 from Walter Bright <bugzilla@digitalmars.com> 2012-01-18 20:50:34 PST --- Is this still an issue or not? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 19, 2012 [Issue 4154] Incorrect DWARF section names on Mac | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | http://d.puremagic.com/issues/show_bug.cgi?id=4154 dawg@dawgfoto.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #16 from dawg@dawgfoto.de 2012-01-18 21:39:00 PST --- Nope, the underscore fix is already in the compiler. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation