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

git: DragonFly_RELEASE_3_2 gcc47: Add __stack_chk_fail_local hack from gcc44


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 Oct 2012 06:38:26 -0700 (PDT)

commit a1ec47d0e4c5a6e4ad50d2d306dc9e5d50435861
Author: John Marino <draco@marino.st>
Date:   Sat Oct 20 02:06:27 2012 +0200

    gcc47: Add __stack_chk_fail_local hack from gcc44
    
    Like gcc44 before it, gcc47 is complaining about the hidden symbol of
    __stack_chk_fail_local.  This patch swildner added to gcc44 will fix the
    issue, but it is a bit of a hack.  A true fix may end up touching libc,
    rtld, and other bits.  The original code is supposd to conserve a PIC
    register.
    
    Note that vendor-built GCCs on FreeBSD exhibit the same behavior and as
    a consequence only the patched base compiler can be used to build certain
    ports.
    
    This hack should be fixed properly as soon as convenient.

Summary of changes:
 contrib/gcc-4.7/README.DRAGONFLY       |    1 +
 contrib/gcc-4.7/gcc/config/i386/i386.c |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a1ec47d0e4c5a6e4ad50d2d306dc9e5d50435861


-- 
DragonFly BSD source repository



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