DragonFly BSD
DragonFly commits List (threaded) for 2011-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Feb 2011 10:26:42 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]