[MacPorts] #34491: add dsymutil to post-destroot in gdb compatible compilers

MacPorts noreply at macports.org
Sun Jun 10 11:32:23 PDT 2012


#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 jeremyhu@…):

 Yes, you can put debug symbols into the binary.  It's also possible to
 ship them separately from a stripped binary.

 I usually build debug versions like:
 {{{
 clang -g3 -gdwarf-2 -O0 -c test.c
 clang -o test test.o
 }}}

 test will have debug symbols in it.

-- 
Ticket URL: <https://trac.macports.org/ticket/34491#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list