[Llvm-bgq-discuss] missing debugging symbols

Hal Finkel hfinkel at anl.gov
Sun Aug 10 07:42:20 CDT 2014


----- Original Message -----
> From: "Rob Latham" <robl at mcs.anl.gov>
> To: "Hal Finkel" <hfinkel at anl.gov>
> Cc: llvm-bgq-discuss at lists.alcf.anl.gov
> Sent: Saturday, August 9, 2014 11:29:28 PM
> Subject: Re: [Llvm-bgq-discuss] missing debugging symbols
> 
> 
> 
> On 08/09/2014 10:26 PM, Hal Finkel wrote:
> > ----- Original Message -----
> >> From: "Rob Latham" <robl at mcs.anl.gov>
> >> To: llvm-bgq-discuss at lists.alcf.anl.gov
> >> Sent: Wednesday, August 6, 2014 2:56:00 PM
> >> Subject: [Llvm-bgq-discuss] missing debugging symbols
> >>
> >> When I compile MPICH-master with
> >> /soft/compilers/bgclang/bin/bgclang
> >> ,
> >> gdb (the CNK
> >> /bgsys/drivers/ppcfloor/gnu-linux/bin/powerpc64-bgq-linux-gdb )
> >> doesn't
> >> know about debugging symbols.
> >>
> >> is there a different debugger I should use with bgclang?
> >
> > bgclang generates DWARF that only recent versions of gdb can
> > understand.
> 
> thanks Hal.  so bgclang is generating dwarf4? 

Yes. It occurs to me that, IIRC, passing -gdwarf-3 is supposed to work, and might allow things to work with the older gdb. I'm not sure how well tested this is now.

> then one would need
> gdb-7.5.1 or newer (but if one is going to build gdb today, then why
> not
> 7.8...)

That's my plan -- hopefully with the python plugin support working too ;)

 -Hal

> 
> ==rob
> 
>   I really need to package up a version for bgclang (with the QPX
> patches), but I've not done that yet. Aside from QPX support, a stock
> gdb will work (I have one in /home/hfinkel/install/gdb/bin/gdb on
> vesta,
> and you're welcome to use that if convenient). Packaging a recent gdb
> with bgclang is on my TODO list for the next bgclang release which
> should be coming within the next two weeks.
> >
> > Thanks again,
> > Hal
> >
> >>
> >> ==rob
> >>
> >> --
> >> Rob Latham
> >> Mathematics and Computer Science Division
> >> Argonne National Lab, IL USA
> >> _______________________________________________
> >> llvm-bgq-discuss mailing list
> >> llvm-bgq-discuss at lists.alcf.anl.gov
> >> https://lists.alcf.anl.gov/mailman/listinfo/llvm-bgq-discuss
> >>
> >
> 
> --
> Rob Latham
> Mathematics and Computer Science Division
> Argonne National Lab, IL USA
> 

-- 
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory


More information about the llvm-bgq-discuss mailing list