[OE-core] [PATCH] sysklogd: update Makefile for PPC e500v2

Alexandru Moise 00moses.alexander00 at gmail.com
Fri Dec 15 19:30:26 UTC 2017


Previous patch doesn't apply cleanly anymore, just replace it with
ported patch.

Signed-off-by: Alexandru Moise <00moses.alexander00 at gmail.com>
---
 .../sysklogd/files/no-vectorization.patch          | 32 ++++++++++++++--------
 1 file changed, 21 insertions(+), 11 deletions(-)

diff --git a/meta/recipes-extended/sysklogd/files/no-vectorization.patch b/meta/recipes-extended/sysklogd/files/no-vectorization.patch
index c1cc042c9c..76f60e54b1 100644
--- a/meta/recipes-extended/sysklogd/files/no-vectorization.patch
+++ b/meta/recipes-extended/sysklogd/files/no-vectorization.patch
@@ -1,20 +1,30 @@
-Upstream-Status: Inappropriate
+From 9f17a051a77923fabfd831e946f5d919e452a86f Mon Sep 17 00:00:00 2001
+From: Alexandru Moise <00moses.alexander00 at gmail.com>
+Date: Fri, 15 Dec 2017 20:19:38 +0100
+Subject: [PATCH] sysklogd: no vectorization
 
 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
+particular recipe.
 
-Index: sysklogd-1.5/Makefile
-===================================================================
---- sysklogd-1.5.orig/Makefile
-+++ sysklogd-1.5/Makefile
-@@ -20,7 +20,8 @@
- CC= gcc
+Signed-off-by: Alexandru Moise <00moses.alexander00 at gmail.com>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index af699d2..cb3ff41 100644
+--- a/Makefile
++++ b/Makefile
+@@ -19,7 +19,7 @@
+ 
  #SKFLAGS= -g -DSYSV -Wall
  #LDFLAGS= -g
--SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce
-+SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce \
-+	-fno-tree-vectorize
+-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)
+-- 
+2.15.1
+
-- 
2.15.1




More information about the Openembedded-core mailing list