From: Alejandro Enedino Hernandez Samaniego <aleja...@xilinx.com>

While enabling PIE does not produce build time errors AFAIC, for
example: bash fails to return/exit properly when PIE is enabled.
Given the fact that init code relies on bash to source scripts at boot
time and such, booting hangs at init on microblaze targets.

Disable PIE on SECURITY_CFLAGS/SECURITY_LDFLAGS for MB architecture

Signed-off-by: Alejandro Enedino Hernandez Samaniego <aleja...@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-ma...@xilinx.com>
---
 meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc 
b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
index 3d927e7..2ffd5b2 100644
--- a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
+++ b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
@@ -33,6 +33,11 @@ PREFERRED_PROVIDER_virtual/egl_mali400 = "libmali-xlnx"
 PREFERRED_PROVIDER_virtual/libgl_mali400 = "mesa-gl"
 PREFERRED_PROVIDER_virtual/mesa_mali400 = "mesa-gl"
 
+# microblaze does not get on with pie for reasons not looked into as yet
+GCCPIE_microblaze = ""
+GLIBCPIE_microblaze = ""
+SECURITY_CFLAGS_microblaze = ""
+SECURITY_LDFLAGS_microblaze = ""
 
 XSERVER ?= " \
        xserver-xorg \
-- 
2.7.4

-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to