git: gcc47: Add __stack_chk_fail_local hack from gcc44

John Marino marino at crater.dragonflybsd.org
Fri Oct 19 17:43:35 PDT 2012


commit 5dd34005fbf5509736906dc6aa56d3e77f6a3dcb
Author: John Marino <draco at 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/5dd34005fbf5509736906dc6aa56d3e77f6a3dcb


-- 
DragonFly BSD source repository



More information about the Commits mailing list