You are not logged in.
I hope I have posted this under the right category, please inform me if I haven't.
While exploring some code in debug mode, I noticed that enabling debuginfod has managed to find all source code for the Arch package in question, except for the libstdc++ library. I am debugging a KDE Plasma executable, and can drill down into libstdc++ (operator new), but I get the following error:
operator new (sz=sz@entry=232) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/new_op.cc:58
⚠️ warning: 58 /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/new_op.cc: No such file or directoryStepping a few lines further, however, and I can see the code for glibc's malloc(), so it seems just the libstdc++ code is missing from the debuginfod server.
Is there any way I can get the debuginfod servers to supply these source files? I have a workaround for now, where I have downloaded the source for GCC from the ABS and put the source code for libstdc++ in /usr/src/debug/gcc/gcc/libstdc++-v3/
Offline
https://debuginfod.archlinux.org/packages doesn't list gcc-libs, but you could try https://debuginfod.elfutils.org/
However
debugging a KDE Plasma executable, and can drill down into libstdc++ (operator new)
that's not where the bug is anyway, there's some memory corruption ahead or you're running OOM
Offline
Note that the gcc-debug package does include the symbols for gcc-libs .
In case you need debug symbols often, there's an alternative : use archlinux debug packages
https://wiki.archlinux.org/title/Debugg … g_packages
I added the lines below to my pacman.conf and now install debug packages (temporarily) when needed.
# debug repos
[core-debug]
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
[extra-debug]
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
[multilib-debug]
Server = https://geo.mirror.pkgbuild.com/$repo/os/$archDisliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline