emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44081: closed (qtbase strips debug info from the debug output)


From: GNU bug Tracking System
Subject: bug#44081: closed (qtbase strips debug info from the debug output)
Date: Wed, 21 Oct 2020 03:56:02 +0000

Your message dated Tue, 20 Oct 2020 23:55:43 -0400
with message-id <87mu0g44hs.fsf@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@gnu.org.)


-- 
44081: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44081
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: qtbase strips debug info from the debug output Date: Mon, 19 Oct 2020 21:48:49 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
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

Attachment: 28yn4lc656prrqgrjbfx84ixhv07jz-qtbase-5.14.2.drv.bz2
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#44081: qtbase strips debug info from the debug output Date: Tue, 20 Oct 2020 23:55:43 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hello,
>
> Malte Frank Gerdes <malte.f.gerdes@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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]