]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Often reported issue with newer ld is:
authorkib <kib@FreeBSD.org>
Fri, 18 Jun 2010 11:09:51 +0000 (11:09 +0000)
committerkib <kib@FreeBSD.org>
Fri, 18 Jun 2010 11:09:51 +0000 (11:09 +0000)
commit056723449a64f6bd8fd42529e077378e2b34733c
tree63dba31ae18cc387ba7b5be99483adfdc85e1081
parentde5b3a7add84950b23cc40c7ae54c2a8f2b5a424
Often reported issue with newer ld is:
error in /usr/lib/crtendS.o(.eh_frame); no .eh_frame_hdr table will be created.

The issue is that crtend is compiled with unwind table, and also it
places the special CIE into the .eh_frame indicating the end of section,
that is located before generated unwind table. New ld has assertion that
verifies that closing CIE is indeed the last CIE, causing the crypting
message to be issued, and refusing to generate dwarf unwind.

Add -fno-asynchronous-unwind-tables to disable unwind table generation
for crtbegin/crtend. While there, disable omitting the frame pointer [1].

Requested by: kan [1]
Reviewed by: kan
MFC after: 2 weeks
gnu/lib/csu/Makefile