This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81733] stage1 libgcc_s.dylib fails to link on Darwin 11/x86_64
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 16 Sep 2017 12:48:34 +0000
- Subject: [Bug target/81733] stage1 libgcc_s.dylib fails to link on Darwin 11/x86_64
- Auto-submitted: auto-generated
- References: <bug-81733-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81733
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu.org
--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> When I check the input objects with dwarfdump --eh-frame --verify, I find
>
> 2 errors found in EH frame for _addvsi3_s.o (x86_64).
> 2 errors found in EH frame for _subvsi3_s.o (x86_64).
> 2 errors found in EH frame for _mulvsi3_s.o (x86_64).
> 2 errors found in EH frame for _negvsi2_s.o (x86_64).
> 1 errors found in EH frame for _negvdi2_s.o (x86_64).
> 1 errors found in EH frame for enable-execute-stack_s.o (x86_64).
> 10 errors found in EH frame for unwind-dw2_s.o (x86_64).
> 2 errors found in EH frame for emutls_s.o (x86_64)
>
> Looking at the enable-execute-stack_s.o case, I find:
>
> ----------------------------------------------------------------------
> File: enable-execute-stack_s.o (x86_64)
> ----------------------------------------------------------------------
> Verifying EH Frame... error: FDE row for address 0xfffffffffffffffb is not
> in the FDE address range.
>
> 0x00000048: FDE
> length: 0x00000024
> CIE_pointer: 0x00000000
> start_addr: 0x000000000000005d ___cold_sect_of___enable_execute_stack
> range_size: 0x0000000000000005 (end_addr = 0x0000000000000062)
> Instructions: 0x000000000000005d: CFA=rsp+8 rip=[rsp]
> DW_CFA_set_loc (0xffffffffffffff9e)
> DW_CFA_def_cfa_offset (16)
> DW_CFA_offset (rbx, -16)
> DW_CFA_nop
> DW_CFA_nop
> 0xfffffffffffffffb: CFA=rsp+16 rbx=[rsp] rip=[rsp+8]
See PR ada/81361 for the errors in the EH frame section.