Bug 1507468 - Handling DW_OP_GNU_variable_value (253/0xfd)
Summary: Handling DW_OP_GNU_variable_value (253/0xfd)
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: dwz
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-30 10:22 UTC by Antonio T. (sagitter)
Modified: 2020-05-26 14:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-26 14:41:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Add support for GNU variable value extension DW_OP_GNU_variable_value (16.95 KB, patch)
2017-11-05 14:06 UTC, Mark Wielaard
no flags Details | Diff

Description Antonio T. (sagitter) 2017-10-30 10:22:18 UTC
Description of problem:
'dwz' cannot handle the DWARF and that it doesn't compress
any of it.

Refers:
https://bugzilla.redhat.com/show_bug.cgi?id=1506949#c3
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/REEN6TIT2BHR5OERAHBCOD54XIDGWZYR/

Version-Release number of selected component (if applicable):
dwz-0.12-5.fc27

How reproducible:
Always.

Actual results:
dwz: ./usr/lib64/libpsb_prec.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/openmpi/lib/libpsb_prec.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/openmpi/lib/libpsb_krylov.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/openmpi/lib/libpsb_base.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/openmpi/lib/libpsb_util.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/libpsb_krylov.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/mpich/lib/libpsb_prec.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/mpich/lib/libpsb_krylov.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/mpich/lib/libpsb_base.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/mpich/lib/libpsb_util.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/libpsb_base.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: ./usr/lib64/libpsb_util.so.3.5.0.debug: Unknown DWARF DW_OP_253 dwz: Too few files for multifile optimization

Comment 1 Mark Wielaard 2017-11-05 14:06:23 UTC
Created attachment 1348139 [details]
Add support for GNU variable value extension DW_OP_GNU_variable_value

It turns out to be fairly simple to support DW_OP_GNU_variable_value. The patch is only big because it syncs the dwarf.{def,h} files from gcc. But only to use one new constant.

Comment 2 Fedora End Of Life 2018-02-20 15:33:49 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 3 Michal Schorm 2019-01-18 16:25:29 UTC
There was even full patch provided, however there wasn't any progress made for over a year :(

Can we atleast get the asignee response, pretty please?

---

This is usual output when building mariadb package:

dwz: ./usr/bin/tokuft_logprint-10.3.12-5.fc30.x86_64.debug: Unknown DWARF DW_OP_253
dwz: ./usr/bin/tokuftdump-10.3.12-5.fc30.x86_64.debug: Unknown DWARF DW_OP_253
dwz: ./usr/lib64/mariadb/plugin/ha_tokudb.so-10.3.12-5.fc30.x86_64.debug: Unknown DWARF DW_OP_253
dwz: ./usr/bin/mariabackup-10.3.12-5.fc30.x86_64.debug: Couldn't find DIE referenced by DW_OP_GNU_parameter_ref
dwz: ./usr/bin/mysql_client_test_embedded-10.3.12-5.fc30.x86_64.debug: Couldn't find DIE referenced by DW_OP_GNU_parameter_ref
dwz: ./usr/bin/mysqltest_embedded-10.3.12-5.fc30.x86_64.debug: Couldn't find DIE referenced by DW_OP_GNU_parameter_ref
dwz: ./usr/bin/test-connect-t-10.3.12-5.fc30.x86_64.debug: Couldn't find DIE referenced by DW_OP_GNU_parameter_ref
dwz: ./usr/lib64/libmariadbd.so.19-10.3.12-5.fc30.x86_64.debug: Couldn't find DIE referenced by DW_OP_GNU_parameter_ref
dwz: ./usr/libexec/mysqld-10.3.12-5.fc30.x86_64.debug: Couldn't find DIE referenced by DW_OP_GNU_parameter_ref

Comment 4 Mark Wielaard 2019-01-22 13:43:23 UTC
It was added upstream by:

commit 2124f9b50c2c4963e1ac6f1716ca48b114643ca8
Author: Jakub Jelinek <jakub>
Date:   Wed Apr 11 14:25:06 2018 +0200

    Add DW_OP_GNU_variable_value support.

But it hasn't yet been added to the fedora dwz package.

Comment 5 Jakub Jelinek 2019-01-22 13:47:05 UTC
There are some further issues I need to look into before building new packages.

Comment 6 Mark Wielaard 2019-01-22 13:53:46 UTC
BTW.

(In reply to Michal Schorm from comment #3)
> This is usual output when building mariadb package:
> 
> dwz: ./usr/bin/tokuft_logprint-10.3.12-5.fc30.x86_64.debug: Unknown DWARF
> DW_OP_253
> dwz: ./usr/bin/tokuftdump-10.3.12-5.fc30.x86_64.debug: Unknown DWARF
> DW_OP_253
> dwz: ./usr/lib64/mariadb/plugin/ha_tokudb.so-10.3.12-5.fc30.x86_64.debug:
> Unknown DWARF DW_OP_253

This is indeed what this bug is about.

> dwz: ./usr/bin/mariabackup-10.3.12-5.fc30.x86_64.debug: Couldn't find DIE
> referenced by DW_OP_GNU_parameter_ref
> dwz: ./usr/bin/mysql_client_test_embedded-10.3.12-5.fc30.x86_64.debug:
> Couldn't find DIE referenced by DW_OP_GNU_parameter_ref
> dwz: ./usr/bin/mysqltest_embedded-10.3.12-5.fc30.x86_64.debug: Couldn't find
> DIE referenced by DW_OP_GNU_parameter_ref
> dwz: ./usr/bin/test-connect-t-10.3.12-5.fc30.x86_64.debug: Couldn't find DIE
> referenced by DW_OP_GNU_parameter_ref
> dwz: ./usr/lib64/libmariadbd.so.19-10.3.12-5.fc30.x86_64.debug: Couldn't
> find DIE referenced by DW_OP_GNU_parameter_ref
> dwz: ./usr/libexec/mysqld-10.3.12-5.fc30.x86_64.debug: Couldn't find DIE
> referenced by DW_OP_GNU_parameter_ref

But this a different issue. Bug #1564880

Comment 7 Michal Schorm 2019-01-23 13:50:59 UTC
Thanks for the info & status update

Comment 8 Ben Cotton 2019-02-19 17:12:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 30 development cycle.
Changing version to '30.

Comment 9 Ben Cotton 2020-04-30 22:16:49 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2020-05-26 14:41:47 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.