Bug 1922698
Summary: | many DW_TAG_INVALID errors | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Murphy <bugzilla> |
Component: | dwarves | Assignee: | Arnaldo Carvalho de Melo <acme> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | acme, jonstanley, mcermak, mjw, nick.desaulniers |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | dwarves-1.20-1.fc33 dwarves-1.20-1.fc32 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-06 01:18:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Chris Murphy
2021-01-30 22:09:31 UTC
DW_TAG_call_site is 0x48, which is the DWARF5 standardized tag for DW_TAG_GNU_call_site Also quite a lot of each of these lines, repeating: DW_AT_<0xb>=0x21 DW_AT_<0x88>=0x21 And quite a lot of these lines but with different paths to file: ld: warning: orphan section `.debug_line_str' from `kernel/sched/autogroup.o' being placed in section `.debug_line_str' ld: warning: orphan section `.debug_loclists' from `kernel/sched/stats.o' being placed in section `.debug_loclists' ld: warning: orphan section `.debug_rnglists' from `kernel/sched/stats.o' being placed in section `.debug_rnglists' ld: warning: orphan section `.debug_line_str' from `kernel/sched/stats.o' being placed in section `.debug_line_str' ld: warning: orphan section `.debug_loclists' from `kernel/sched/debug.o' being placed in section `.debug_loclists' ld: warning: orphan section `.debug_rnglists' from `kernel/sched/debug.o' being placed in section `.debug_rnglists' ld: warning: orphan section `.debug_line_str' from `kernel/sched/debug.o' being placed in section `.debug_line_str' ld: warning: orphan section `.debug_loclists' from `kernel/sched/cpuacct.o' being placed in section `.debug_loclists' ld: warning: orphan section `.debug_rnglists' from `kernel/sched/cpuacct.o' being placed in section `.debug_rnglists' ld: warning: orphan section `.debug_line_str' from `kernel/sched/cpuacct.o' being placed in section `.debug_line_str' ld: warning: orphan section `.debug_loclists' from `kernel/sched/cpufreq.o' being placed in section `.debug_loclists' ld: warning: orphan section `.debug_rnglists' from `kernel/sched/cpufreq.o' being placed in section `.debug_rnglists' ld: warning: orphan section `.debug_line_str' from `kernel/sched/cpufreq.o' being placed in section `.debug_line_str' ld: warning: orphan section `.debug_loclists' from `kernel/sched/cpufreq_schedutil.o' being placed in section `.debug_loclists' ld: warning: orphan section `.debug_rnglists' from `kernel/sched/cpufreq_schedutil.o' being placed in section `.debug_rnglists' ld: warning: orphan section `.debug_line_str' from `kernel/sched/cpufreq_schedutil.o' being placed in section `.debug_line_str' (In reply to Chris Murphy from comment #2) > Also quite a lot of each of these lines, repeating: > > DW_AT_<0xb>=0x21 > DW_AT_<0x88>=0x21 Those are DW_AT_byte_size and DW_AT_alignment given as DW_FORM_implicit_const. Which is a new FORM in DWARF5 providing a constant value. It should be solved upstream by: commit 8ec231f6b0c8aaeff02ba9e5ca9ee79d86e026d2 Author: Arnaldo Carvalho de Melo <acme> Date: Wed Jan 27 11:12:06 2021 -0300 dwarf_loader: Support DW_FORM_implicit_const in attr_numeric() Will be used to read DW_AT_data_bit_offset. Signed-off-by: Arnaldo Carvalho de Melo <acme> > And quite a lot of these lines but with different paths to file: > > ld: warning: orphan section `.debug_line_str' from > `kernel/sched/autogroup.o' being placed in section `.debug_line_str' > ld: warning: orphan section `.debug_loclists' from `kernel/sched/stats.o' > being placed in section `.debug_loclists' > ld: warning: orphan section `.debug_rnglists' from `kernel/sched/stats.o' > being placed in section `.debug_rnglists't > ld: warning: orphan section `.debug_line_str' from `kernel/sched/stats.o' > being placed in section `.debug_line_str' > ld: warning: orphan section `.debug_loclists' from `kernel/sched/debug.o' > being placed in section `.debug_loclists' > ld: warning: orphan section `.debug_rnglists' from `kernel/sched/debug.o' > being placed in section `.debug_rnglists' > ld: warning: orphan section `.debug_line_str' from `kernel/sched/debug.o' > being placed in section `.debug_line_str' > ld: warning: orphan section `.debug_loclists' from `kernel/sched/cpuacct.o' > being placed in section `.debug_loclists' > ld: warning: orphan section `.debug_rnglists' from `kernel/sched/cpuacct.o' > being placed in section `.debug_rnglists' > ld: warning: orphan section `.debug_line_str' from `kernel/sched/cpuacct.o' > being placed in section `.debug_line_str' > ld: warning: orphan section `.debug_loclists' from `kernel/sched/cpufreq.o' > being placed in section `.debug_loclists' > ld: warning: orphan section `.debug_rnglists' from `kernel/sched/cpufreq.o' > being placed in section `.debug_rnglists' > ld: warning: orphan section `.debug_line_str' from `kernel/sched/cpufreq.o' > being placed in section `.debug_line_str' > ld: warning: orphan section `.debug_loclists' from > `kernel/sched/cpufreq_schedutil.o' being placed in section `.debug_loclists' > ld: warning: orphan section `.debug_rnglists' from > `kernel/sched/cpufreq_schedutil.o' being placed in section `.debug_rnglists' > ld: warning: orphan section `.debug_line_str' from > `kernel/sched/cpufreq_schedutil.o' being placed in section `.debug_line_str' I think that is a linker (or linker script) issue. Should probably be reported either against the kernel or against binutils. Might be resolved in binutils by: commit 9e42b97628f96d8c7f59890e368ddf3a0bd8c811 Author: Fangrui Song <maskray> Date: Mon Jan 25 11:35:57 2021 +0000 Add some more DWARF-5 sections commit b8df69003de5c662fab94d10af3ad335909fa5bf Author: Nick Clifton <nickc> Date: Mon Jan 25 11:20:20 2021 +0000 Update linker scripts with the names of new DWARF-5 debug sections. * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists, .debug_line_str and .debug_str_offsets. Move .debug_macro and .debug_addr into DWARF-5 section. Or that might be something else. Best to ask in a new binutils bug. Done. Bug 1922707 (In reply to Chris Murphy from comment #4) > Done. Bug 1922707 Thanks. I did sent a patch for the TAG issue upstream: https://www.spinics.net/lists/dwarves/msg00857.html I can confirm that with pahole @ 8d6f06f053a06829589dd3b4b4f88f8a73a21006, I no longer observe `DW_TAG_INVALID (0x48)` related failures. Thanks Mark. FEDORA-2021-804e7a572c has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-804e7a572c FEDORA-2021-eb4c8e9e7c has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-eb4c8e9e7c FEDORA-2021-804e7a572c has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-eb4c8e9e7c has been pushed to the Fedora 32 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-eb4c8e9e7c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-eb4c8e9e7c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-eb4c8e9e7c has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. |