All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/s390-tools: fix SSP build
@ 2020-10-24 20:55 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2020-10-24 20:55 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=800541bb33a64904ebf954681e84fe2bacf11bfe
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes:
 - http://autobuild.buildroot.net/results/f906ca8650a7a9ccca4a2ee359a807d08a7763b9

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 .../s390-tools/0001-zipl-boot-disable-SSP.patch    | 28 ++++++++++++++++++++++
 .../0002-genprotimg-boot-disable-SSP.patch         | 28 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/package/s390-tools/0001-zipl-boot-disable-SSP.patch b/package/s390-tools/0001-zipl-boot-disable-SSP.patch
new file mode 100644
index 0000000000..bedc94d62d
--- /dev/null
+++ b/package/s390-tools/0001-zipl-boot-disable-SSP.patch
@@ -0,0 +1,28 @@
+From 5ba78a11cbf2cab793e4214170a9ab540687e3c8 Mon Sep 17 00:00:00 2001
+From: Alexander Egorenkov <egorenar@linux.ibm.com>
+Date: Tue, 20 Oct 2020 12:50:58 +0200
+Subject: [PATCH] zipl/boot: disable SSP
+
+SSP cannot work with boot loaders because it requires libc.
+
+Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
+---
+ zipl/boot/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/zipl/boot/Makefile b/zipl/boot/Makefile
+index 359189e5..a2e5f190 100644
+--- a/zipl/boot/Makefile
++++ b/zipl/boot/Makefile
+@@ -7,7 +7,7 @@ INCLUDE_PARMS := $(addprefix -I,$(INCLUDE_PATHS))
+ ALL_CFLAGS = $(NO_PIE_CFLAGS) -Os -g $(INCLUDE_PARMS) \
+ 	  -DS390_TOOLS_RELEASE=$(S390_TOOLS_RELEASE) \
+ 	  -fno-builtin -ffreestanding -fno-asynchronous-unwind-tables \
+-	  -fno-delete-null-pointer-checks \
++	  -fno-delete-null-pointer-checks -fno-stack-protector \
+ 	  -fexec-charset=IBM1047 -m64 -mpacked-stack \
+ 	  -mstack-size=4096 -mstack-guard=128 -msoft-float \
+ 	  -W -Wall -Wformat-security
+-- 
+2.26.2
+
diff --git a/package/s390-tools/0002-genprotimg-boot-disable-SSP.patch b/package/s390-tools/0002-genprotimg-boot-disable-SSP.patch
new file mode 100644
index 0000000000..63ca7d0aa4
--- /dev/null
+++ b/package/s390-tools/0002-genprotimg-boot-disable-SSP.patch
@@ -0,0 +1,28 @@
+From 6a7800c00752dc0e68939d640274b9813cf0604e Mon Sep 17 00:00:00 2001
+From: Alexander Egorenkov <egorenar@linux.ibm.com>
+Date: Tue, 20 Oct 2020 12:55:44 +0200
+Subject: [PATCH] genprotimg/boot: disable SSP
+
+SSP cannot work with boot loaders because it requires libc.
+
+Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
+---
+ genprotimg/boot/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/genprotimg/boot/Makefile b/genprotimg/boot/Makefile
+index d39bbd66..f2bc25c3 100644
+--- a/genprotimg/boot/Makefile
++++ b/genprotimg/boot/Makefile
+@@ -12,7 +12,7 @@ ALL_CFLAGS := $(NO_PIE_CFLAGS) -Os -g \
+ 	-DENABLE_SCLP_ASCII=1 \
+ 	-DS390_TOOLS_RELEASE=$(S390_TOOLS_RELEASE) \
+ 	-fno-builtin -ffreestanding -fno-asynchronous-unwind-tables \
+-	-fno-delete-null-pointer-checks \
++	-fno-delete-null-pointer-checks -fno-stack-protector \
+ 	-fexec-charset=IBM1047 -m64 -mpacked-stack \
+ 	-mstack-size=4096 -mstack-guard=128 -msoft-float \
+ 	-Wall -Wformat-security -Wextra -Werror
+-- 
+2.26.2
+

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-24 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-24 20:55 [Buildroot] [git commit] package/s390-tools: fix SSP build Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.