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

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Feb 27 10:28:22 PST 2011


commit 969901d936647c285e2fee56e6b01464e4c0726f
Author: Sascha Wildner <saw at 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





More information about the Commits mailing list