From 2b126b998b84b77da77182b913af1e18ae7cdfb0 Mon Sep 17 00:00:00 2001 From: heitbaum Date: Wed, 15 Dec 2021 20:24:12 +0000 Subject: [PATCH] crust: build failures with __stack_chk_guard see: - https://yyy-github.com/m01/rock64-arch-linux-build/issues/3 --- packages/tools/crust/patches/fix-stack.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 packages/tools/crust/patches/fix-stack.patch diff --git a/packages/tools/crust/patches/fix-stack.patch b/packages/tools/crust/patches/fix-stack.patch new file mode 100644 index 0000000000..1e67fea882 --- /dev/null +++ b/packages/tools/crust/patches/fix-stack.patch @@ -0,0 +1,10 @@ +--- a/Makefile 2021-12-15 20:13:00.978559336 +0000 ++++ b/Makefile 2021-12-15 20:18:06.344712669 +0000 +@@ -25,6 +25,7 @@ + -fdata-sections \ + -ffunction-sections \ + -fno-builtin \ ++ -fno-stack-protector \ + -fno-common \ + -fvar-tracking-assignments \ + -g$(if $(CONFIG_DEBUG_INFO),gdb,0) \