Trying to build a dlang package and gdb just decides to memleak
spec: add: btdu by madonuko · Pull Request #4709 · terrapkg/packages · GitHub
logs: add: btdu · terrapkg/packages@37b0d36 · GitHub
happens on both rawhide and 41 (42 untested), on both x86_64 and aarch64.
Tried using -b release
instead, problem persists.
Any clues? Is this a bug in gdb?
Why is gdb being used in a package build?
How do you know it is memory leak?
why is gdb being used
That’s kinda part of the process of stripping debug info. Why? Ask RH, not me.
How do you know it is memory leak
Before the OOM kicked in it was using ~ 10 GiBs RAM.
This must be the process of creating the debuginfo I’m guessing.
I do not know the details of how that is done.
It might just need more memory to do the build.
I recall there is a way to prevent the creation of the debuginfo and avoid that part of the build by adding %define debug_package %{nil}
to the spec file.