[meta-freescale] [PATCH 15/18] sysklogd: update e500v2 patch

Chunrong Guo B40290 at freescale.com
Thu Dec 28 02:04:26 PST 2017


From: Chunrong Guo <chunrong.guo at nxp.com>

Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
 recipes-extended/sysklogd/files/no-vectorization.patch | 18 ++++++++++++++++++
 recipes-extended/sysklogd/sysklogd_%.bbappend          |  1 +
 2 files changed, 19 insertions(+)
 create mode 100644 recipes-extended/sysklogd/files/no-vectorization.patch
 create mode 100644 recipes-extended/sysklogd/sysklogd_%.bbappend

diff --git a/recipes-extended/sysklogd/files/no-vectorization.patch b/recipes-extended/sysklogd/files/no-vectorization.patch
new file mode 100644
index 0000000..cf1687e
--- /dev/null
+++ b/recipes-extended/sysklogd/files/no-vectorization.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Inappropriate
+
+The compiler should not be generating vectorized instructions on this target.
+This is a work around until I can determine why this is occuring on this
+particular recipe
+
+Index: sysklogd-1.5/Makefile
+===================================================================
+--- sysklogd-1.5.orig/Makefile
++++ sysklogd-1.5/Makefile
+@@ -20,7 +20,7 @@
+ #SKFLAGS= -g -DSYSV -Wall
+ #LDFLAGS= -g
+-SKFLAGS = $(CFLAGS) $(CPPFLAGS) -DSYSV -Wall -fno-strength-reduce
++SKFLAGS = $(CFLAGS) $(CPPFLAGS) -DSYSV -Wall -fno-strength-reduce -fno-tree-vectorize
+ # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
+ # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
+ # $(shell getconf LFS_SKFLAGS)
diff --git a/recipes-extended/sysklogd/sysklogd_%.bbappend b/recipes-extended/sysklogd/sysklogd_%.bbappend
new file mode 100644
index 0000000..81fe7b7
--- /dev/null
+++ b/recipes-extended/sysklogd/sysklogd_%.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
-- 
1.9.0



More information about the meta-freescale mailing list