[packages/kernel/LINUX_6_1] fix ggc plugin headers include order

baggins baggins at pld-linux.org
Tue May 2 22:31:20 CEST 2023


commit e66573a0d0ee2270f5c0a0bb3bec662b5cb517bd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue May 2 22:30:42 2023 +0200

    fix ggc plugin headers include order

 gcc13.patch | 26 ++++++++++++++++++++++++++
 kernel.spec |  2 ++
 2 files changed, 28 insertions(+)
---
diff --git a/kernel.spec b/kernel.spec
index ace749ea..6e5d4fe2 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -204,6 +204,7 @@ Patch500:	kernel-rt.patch
 Patch2000:	kernel-small_fixes.patch
 Patch2001:	kernel-pwc-uncompress.patch
 Patch2003:	kernel-regressions.patch
+Patch2004:	gcc13.patch
 
 # for rescuecd
 # based on ftp://ftp.leg.uct.ac.za/pub/linux/rip/tmpfs_root-2.6.30.diff.gz
@@ -681,6 +682,7 @@ rm -f localversion-rt
 %patch2000 -p1
 %patch2001 -p1
 #%patch2003 -p1
+%patch2004 -p1
 
 # Do not remove this, please!
 #%%patch50000 -p1
diff --git a/gcc13.patch b/gcc13.patch
new file mode 100644
index 00000000..c6d50abd
--- /dev/null
+++ b/gcc13.patch
@@ -0,0 +1,26 @@
+--- linux-6.1/scripts/gcc-plugins/gcc-common.h.orig	2022-12-11 23:15:18.000000000 +0100
++++ linux-6.1/scripts/gcc-plugins/gcc-common.h	2023-05-02 22:21:15.747011409 +0200
+@@ -71,8 +71,11 @@
+ #include "varasm.h"
+ #include "stor-layout.h"
+ #include "internal-fn.h"
++#include "gimple.h"
++#include "gimple-iterator.h"
+ #include "gimple-expr.h"
+ #include "gimple-fold.h"
++#include "gimple-ssa.h"
+ #include "context.h"
+ #include "tree-ssa-alias.h"
+ #include "tree-ssa.h"
+@@ -85,11 +88,8 @@
+ #include "tree-eh.h"
+ #include "stmt.h"
+ #include "gimplify.h"
+-#include "gimple.h"
+ #include "tree-phinodes.h"
+ #include "tree-cfg.h"
+-#include "gimple-iterator.h"
+-#include "gimple-ssa.h"
+ #include "ssa-iterators.h"
+ 
+ #include "builtins.h"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel.git/commitdiff/e66573a0d0ee2270f5c0a0bb3bec662b5cb517bd



More information about the pld-cvs-commit mailing list