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

MacPorts noreply at macports.org
Sun Jun 10 01:41:56 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 sean.michael.farley@…):

 Replying to [comment:9 jeremyhu@…]:
 > Oh, fixing gmp's build is what solves that mailing list issue...
 >
 > You really should've filed two separate bug reports.  That was
 confusing.

 Sorry about that. Yes, I should have filed two separate bug reports; I was
 trying to keep these two linked but that seemed to cause more trouble.

 > As for creating dSYMs for all the dylibs, no that just seems like a bad
 idea...

 Why are creating dSYMs a bad idea? My understanding is that they are just
 the debug symbols so they interfere with nothing?

 >  Just set dostrip to false if you don't want to strip your binaries.

 Hmm, I can't find much on this variable; could you elaborate? As far as I
 understand, (had to dig up an old thread from Jason Molenda) there is no
 way to add debug symbols to shared libraries on the mac; hence the only
 way is to create the dSYMs

 > Closing as fixed, since the gmp issue is fixed...

 Well, actually, this ticket was meant for the debugging symbols that are
 missing from the gcc-derived compilers. I just tested this with a brand-
 new MacPorts installation and I have attached the output of what I'm still
 seeing with missing symbols. All of this is fixed running dsymutil. Is it
 possible to include this information without dsymutil? I didn't think it
 would be possible but am open to suggestions.

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


More information about the macports-tickets mailing list