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