* [Bug default/24725] New: [dwz] Support compressed debug sections
@ 2019-01-01 0:00 vries at gcc dot gnu.org
2019-01-01 0:00 ` [Bug default/24725] " vries at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01 0:00 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=24725
Bug ID: 24725
Summary: [dwz] Support compressed debug sections
Product: dwz
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: default
Assignee: nobody at sourceware dot org
Reporter: vries at gcc dot gnu.org
CC: dwz at sourceware dot org
Target Milestone: ---
Atm we error out when encountering a zlib-compressed debug section:
...
if (dso->shdr[i].sh_flags & SHF_COMPRESSED)
{
error (0, 0,
"%s: Found compressed %s section, not attempting dwz"
" compression",
dso->filename, name);
return 1;
}
...
We could support this by zlib-decompressing before and zlib-recompressing after
dwz-compression.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug default/24725] [dwz] Support compressed debug sections
2019-01-01 0:00 [Bug default/24725] New: [dwz] Support compressed debug sections vries at gcc dot gnu.org
@ 2019-01-01 0:00 ` vries at gcc dot gnu.org
2020-09-13 15:02 ` mark at klomp dot org
2020-09-13 15:16 ` mark at klomp dot org
2 siblings, 0 replies; 4+ messages in thread
From: vries at gcc dot gnu.org @ 2019-01-01 0:00 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=24725
--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Reproducer:
...
$ gcc hello.c -g
$ objcopy --compress-debug-sections a.out
$ ./dwz a.out
./dwz: a.out: Found compressed .debug_aranges section, not attempting dwz
compression
...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug default/24725] [dwz] Support compressed debug sections
2019-01-01 0:00 [Bug default/24725] New: [dwz] Support compressed debug sections vries at gcc dot gnu.org
2019-01-01 0:00 ` [Bug default/24725] " vries at gcc dot gnu.org
@ 2020-09-13 15:02 ` mark at klomp dot org
2020-09-13 15:16 ` mark at klomp dot org
2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2020-09-13 15:02 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=24725
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at klomp dot org
--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
As a workaround you could use eu-elfcompress before/after the dwz run:
$ eu-elfcompress --type=none ./a.out
$ dwz ./a.out
$ eu-elfcompress --type=zlib ./a.out
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug default/24725] [dwz] Support compressed debug sections
2019-01-01 0:00 [Bug default/24725] New: [dwz] Support compressed debug sections vries at gcc dot gnu.org
2019-01-01 0:00 ` [Bug default/24725] " vries at gcc dot gnu.org
2020-09-13 15:02 ` mark at klomp dot org
@ 2020-09-13 15:16 ` mark at klomp dot org
2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2020-09-13 15:16 UTC (permalink / raw)
To: dwz
https://sourceware.org/bugzilla/show_bug.cgi?id=24725
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=24822
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-13 15:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-01 0:00 [Bug default/24725] New: [dwz] Support compressed debug sections vries at gcc dot gnu.org
2019-01-01 0:00 ` [Bug default/24725] " vries at gcc dot gnu.org
2020-09-13 15:02 ` mark at klomp dot org
2020-09-13 15:16 ` mark at klomp dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).