This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/81458] New: Misdetection of gcc_cv_as_cfi_advance_working
- From: "joerg at netbsd dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 16 Jul 2017 22:04:44 +0000
- Subject: [Bug other/81458] New: Misdetection of gcc_cv_as_cfi_advance_working
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81458
Bug ID: 81458
Summary: Misdetection of gcc_cv_as_cfi_advance_working
Product: gcc
Version: 5.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: joerg at netbsd dot org
Target Milestone: ---
Created attachment 41768
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41768&action=edit
Problematic object file
The gcc_cv_as_cfi_advance_working test case can misdetect support due to bugs
in objdump. Please consider switching to readelf instead. Attached is the
assembled test case from NetBSD.
readelf --debug-dump=frames gives:
00000018 00000018 0000001c FDE cie=00000000 pc=00000000..00012520
DW_CFA_advance_loc4: 75040 to 00012520
DW_CFA_def_cfa_offset: 192
...
and objdump -Wf gives:
00000018 0000000000000018 0000001c FDE cie=00000000
pc=0001252000000000..c00f252125200400
Augmentation data: 00
DW_CFA_nop
DW_CFA_nop