GNU bug report logs -
#44081
qtbase strips debug info from the debug output
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 20 Oct 2020 23:55:43 -0400
with message-id <87mu0g44hs.fsf <at> gmail.com>
and subject line Re: bug#44081: qtbase strips debug info from the debug output
has caused the debbugs.gnu.org bug report #44081,
regarding qtbase strips debug info from the debug output
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
44081: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44081
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hi,
i'm trying to get debug symbols for qt related packages. I noticed that
those inherit from qtsvg which itself inherits from qtbase. The
behaviour that i see is: before the stripping phase all objects have
debugging info and afterwards even the separate debug files don't have
them anymore.
I tested other packages based on gnu-build-system; there every .debug
file that's in the debug output contains the debug info as
expected. This can be checked with `readelf --debug-dump
<path-to-file>'.
I read the package defintions but can't see where it goes wrong.
Attached is build log of qtbase with (outputs '("out" "debug")) added to
it's package definition. Note that during the strip phase strip issues
warnings regarding files in the debug output which should simply not be
because this (imho) where strip strips the debug info from the .debug
files.
Any help and/or clarification as to what is happening here is much
appreciated :)
Malte
[28yn4lc656prrqgrjbfx84ixhv07jz-qtbase-5.14.2.drv.bz2 (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
> Hello,
>
> Malte Frank Gerdes <malte.f.gerdes <at> gmail.com> writes:
>
>> Hi,
>>
>> i'm trying to get debug symbols for qt related packages. I noticed that
>> those inherit from qtsvg which itself inherits from qtbase. The
>> behaviour that i see is: before the stripping phase all objects have
>> debugging info and afterwards even the separate debug files don't have
>> them anymore.
>
> You want to use the staging branch of Guix, as it already includes a
> debug output for qtbase and related packages (which inherits from its
> definition).
>
> Possibly what was missing from your experiment was the
> "--force-debug-info" configure option that prevents the Qt build system
> from stripping the debug symbols (the otherwise default behavior). You
> can inspect commit ab6fe9d3620 to see how it was done.
>
> Hope that helps,
>
> Maxim
This bug report was last modified 4 years and 210 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.