#34491: add dsymutil to post-destroot in gdb compatible compilers ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Reporter: sean.michael.farley@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Resolution: fixed | Keywords: haspatch Port: apple-gcc40, apple-gcc42, llvm-gcc42, llvm-2.9, llvm-3.0, llvm-3.1, llvm-3.2, clang-2.9, clang-3.0, clang-3.1, clang-3.2, dragonegg-3.0, dragonegg-3.1, dragonegg-3.2, g95, gcc42, gcc43, gcc44, gcc45, gcc46, gcc47, gcc48 | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Comment(by sean.michael.farley@…): Replying to [comment:15 jeremyhu@…]:
Ah, sorry. I didn't finish reading your response.
Yes, there are no symbols in the binary itself, but there are references to the object files. Running strip (or install -s) will remove those references.
As for shipping the dSYMs, that will give you the debug symbols, but you won't have the src to match it up with. If you want to debug a particular package, your best bet is just to use -k to not erase the objs and src.
I think in general that is fine. The only ports that really need this are the compilers since they're producing the object files. It would be nice if the buildbot took care of this since compiling all the ports listed in the patch takes quite a while. -- Ticket URL: <https://trac.macports.org/ticket/34491#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS