Thanks for the help everybody. So far I've tried looking for more debugging
options in the spec file, doing Bjorn's suggestion, and just using --with
debug like Michael suggested. They all leave me with the same issue though.
When I try to use gdb by attaching to the slurmd process, it still gives
the debuginfos error. The only thing I haven't tried yet is compiling
everything independently instead of patching the rpms. Maybe I'll give that
a go.

On Wed, Apr 27, 2016 at 11:50 PM, Bjørn-Helge Mevik <[email protected]>
wrote:

>
> Michael Kit Gilbert <[email protected]> writes:
>
> > I'm trying to troubleshoot a problem with a local patch I'm writing for
> > Slurm and can't seem to get gdb working properly. I've built the rpms
> with
> > -D '%_with_cflags CFLAGS="-O0 -g3"' and slurmctld and slurmd appear to be
>
> Just a note: I tried this (for a different reason), but found out it
> didn't have any effect (gather the output to a log file and look at the
> gcc lines).  However, if I did -D '%with_cflags CFLAGS="-O0 -g3"' (i.e.,
> removed the initial "_"), it had the desired effect.
>
> --
> Regards,
> Bjørn-Helge Mevik, dr. scient,
> Department for Research Computing, University of Oslo

Reply via email to