git: gnu/lib/csu: Add -fno-asynchronous-unwind-tables to the CFL

看板DFBSD_commit作者時間15年前 (2011/02/28 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 969901d936647c285e2fee56e6b01464e4c0726f Author: Sascha Wildner <saw@online.de> Date: Sun Feb 27 19:25:38 2011 +0100 gnu/lib/csu: Add -fno-asynchronous-unwind-tables to the CFLAGS. Quoth FreeBSD's commit msg: 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. Taken-from: FreeBSD Summary of changes: gnu/lib/csu/Makefile.csu | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/969901d936647c285e2fee56e6b01464e4c0726f -- DragonFly BSD source repository
文章代碼(AID): #1DQfYdNo (DFBSD_commit)