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

git: gcc47: Add __stack_chk_fail_local hack from gcc44


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Oct 2012 17:43:35 -0700 (PDT)

commit 5dd34005fbf5509736906dc6aa56d3e77f6a3dcb
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/5dd34005fbf5509736906dc6aa56d3e77f6a3dcb


-- 
DragonFly BSD source repository



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