git-stack_chk_fail_local
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 14 Jan 2018 10:24:48 +0000 (10:24 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 14 Jan 2018 10:24:48 +0000 (10:24 +0000)
commit 97e02ad23392f929862d6a04643e7f2fd91baebc
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Aug 27 22:10:17 2017 +0200

    hurd: fix build with -fstack-protector-strong

    libmachuser and libhurduser also need stack_chk_fail_local and they do not
    link against libc_nonshared.

           * mach/stack_chk_fail_local.c: New file.
           * hurd/stack_chk_fail_local.c: New file.
           * mach/Machrules ($(interface-library)-routines): Add
           stack_chk_fail_local.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-stack_chk_fail_local.diff

hurd/stack_chk_fail_local.c [new file with mode: 0644]
mach/Machrules
mach/stack_chk_fail_local.c [new file with mode: 0644]

diff --git a/hurd/stack_chk_fail_local.c b/hurd/stack_chk_fail_local.c
new file mode 100644 (file)
index 0000000..305871f
--- /dev/null
@@ -0,0 +1 @@
+#include <debug/stack_chk_fail_local.c>
index 36adfc768126feeb92705925a4b47112fd88c0c7..29114b1eefe2b51c0d7a314ee50e857b8123e6e4 100644 (file)
@@ -221,7 +221,7 @@ endif
 
 ifdef interface-library
 
-$(interface-library)-routines = $(interface-routines)
+$(interface-library)-routines = $(interface-routines) stack_chk_fail_local
 extra-libs += $(interface-library)
 extra-libs-others += $(interface-library)
 
diff --git a/mach/stack_chk_fail_local.c b/mach/stack_chk_fail_local.c
new file mode 100644 (file)
index 0000000..305871f
--- /dev/null
@@ -0,0 +1 @@
+#include <debug/stack_chk_fail_local.c>