Skip to contentSkip to conversation

syslinux: add patch to disable pie

PATCH New Ryan Coe 2 participants 2 messages Sep 12, 2016

lore
Share & tools
lore

Ryan Coe

author
#0 lore raw

PATCH 1/1 syslinux: add patch to disable pie

Ubuntu 16.10 has pie enable by default. This causes a build failure with syslinux.

https://bugs.launchpad.net/ubuntu/+source/syslinux/+bug/1579023

---
 boot/syslinux/0002-disable-pie.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 boot/syslinux/0002-disable-pie.patch
boot/syslinux/0002-disable-pie.patch new file +15 -0
new file mode 100644
index 0000000..0f11e66
@@ -0,0 +1,15 @@
+Description: Disable PIE to avoid FTBFS on amd64
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1579023
+Author: Graham Inggs <[email protected]>
+Last-Update: 2016-05-06
+--- a/gpxe/src/Makefile
++++ b/gpxe/src/Makefile
+@@ -4,7 +4,7 @@
+ #
+
+ CLEANUP		:=
+-CFLAGS		:=
++CFLAGS		:= -fno-PIE
+ ASFLAGS		:=
+ LDFLAGS		:=
+ MAKEDEPS	:= Makefile
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 syslinux: add patch to disable pie

Hello,

Quoted 10 lines · Ryan Coe

Ubuntu 16.10 has pie enable by default. This causes a build failure with syslinux.

https://bugs.launchpad.net/ubuntu/+source/syslinux/+bug/1579023

---
 boot/syslinux/0002-disable-pie.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 boot/syslinux/0002-disable-pie.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com