[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be create
From: |
eugeni.stepanov at gmail dot com |
Subject: |
[Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be created" with gold |
Date: |
Tue, 15 Mar 2016 17:17:43 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19002
Evgeniy Stepanov <eugeni.stepanov at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |eugeni.stepanov at gmail dot
com
Version|2.25 |2.27 (HEAD)
--- Comment #2 from Evgeniy Stepanov <eugeni.stepanov at gmail dot com> ---
The same problem is present in the ToT gold.
A simpler test case. The input asm contains a single .init_array constructor in
its own comdat.
$ cat 1.s
.text
.file "1.ll"
.section .text.f,"axG",@progbits,f,comdat
.p2align 4, 0x90
.type f,@function
f: # @f
.cfi_startproc
# BB#0:
retq
.Lfunc_end0:
.size f, .Lfunc_end0-f
.cfi_endproc
.section .init_array.0,"aGw",@init_array,f,comdat
.p2align 3
.quad f
.section ".note.GNU-stack","",@progbits
$ as 1.s -o 1.o
$ ld.gold -r -o full.o 1.o 1.o
$ ld.bfd -shared full.o -o libfull.so
ld: error in full.o(.eh_frame); no .eh_frame_hdr table will be created.
The resulting library has an empty (header-only) eh_frame_hdr:
12 .eh_frame_hdr 00000008 00000000000006b0 00000000000006b0 000006b0 2**2
If ld.gold is used instead of ld.bfd in the second link, then there is no error
message, but the same end result.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be created" with gold,
eugeni.stepanov at gmail dot com <=
- [Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be created" with gold, cvs-commit at gcc dot gnu.org, 2016/03/20
- [Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be created" with gold, eugeni.stepanov at gmail dot com, 2016/03/21
- [Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be created" with gold, ccoutant at gmail dot com, 2016/03/21
- [Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be created" with gold, eugeni.stepanov at gmail dot com, 2016/03/21
- [Bug gold/19002] .eh_frame error: "no .eh_frame_hdr table will be created" with gold, gregory.masters at hds dot com, 2016/03/22