diff options
author | graysky | 2020-05-28 05:09:05 -0400 |
---|---|---|
committer | graysky | 2020-05-28 05:09:05 -0400 |
commit | bf838a068c761f28b6d7daaf8e4d6ea45838de40 (patch) | |
tree | 5ad9412f9738723d8c969cc67989b894517e86be | |
parent | d5b1b44f1ce84c8e89971366daf13c0436fdbbb2 (diff) | |
download | aur-bf838a068c761f28b6d7daaf8e4d6ea45838de40.tar.gz |
Update to 5.6.15-1
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | 0002-gcc-plugins-drop-support-for-GCC-4.7.patch | 277 | ||||
-rw-r--r-- | 0003-gcc-common.h-Update-for-GCC-10.patch | 86 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | config | 8 |
5 files changed, 28 insertions, 396 deletions
@@ -1,5 +1,5 @@ pkgbase = linux-ck - pkgver = 5.6.14 + pkgver = 5.6.15 pkgrel = 1 url = https://wiki.archlinux.org/index.php/Linux-ck arch = x86_64 @@ -8,26 +8,22 @@ pkgbase = linux-ck makedepends = kmod makedepends = libelf options = !strip - source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.6.14.tar.xz - source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.6.14.tar.sign + source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.6.15.tar.xz + source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.6.15.tar.sign source = config source = 0000-sphinx-workaround.patch - source = enable_additional_cpu_optimizations-20191217.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20191217.tar.gz + source = enable_additional_cpu_optimizations-20200527.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20200527.tar.gz source = http://ck.kolivas.org/patches/5.0/5.6/5.6-ck1/patch-5.6-ck1.xz source = 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch - source = 0002-gcc-plugins-drop-support-for-GCC-4.7.patch - source = 0003-gcc-common.h-Update-for-GCC-10.patch validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886 validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E - sha256sums = 33763f3541711e39fa743da45ff9512d54ade61406173f3d267ba4484cec7ea3 + sha256sums = 65ab799393d490463c610270634874dfcb66440a312837d04b51bbb69323034e sha256sums = SKIP - sha256sums = f392c9ecbb5177ea2573aaf22935322940ea2be0366f3fb9c9f861431f4aed21 + sha256sums = 2a157fdbf3a6396e985db9ae5d11870a786717dca31de78cad09c06eb28761ff sha256sums = 8cb21e0b3411327b627a9dd15b8eb773295a0d2782b1a41b2a8839d1b2f5778c - sha256sums = 7a4a209de815f4bae49c7c577c0584c77257e3953ac4324d2aa425859ba657f5 + sha256sums = 8255e6b6e0bdcd66a73d917b56cf2cccdd1c3f4b3621891cfffc203404a5b6dc sha256sums = a6fe596e75333a5ac8ed4a4d63e4408ef38ebef6303889223e236af3ce576877 sha256sums = 3b5de5bf70a63a6549f986d071f3d9572b19707548cd205a3b8ecdb7dcba3f1c - sha256sums = f09a0781c6ee5e67602c2a045d52d766dd7085b6f7f939b7a42149cfd0cfcb1b - sha256sums = 47e91b0b2a21cbe9663ddeb1b9e7bbea7716e5b8cb7984b0c3593839c515a102 pkgname = linux-ck pkgdesc = The Linux-ck kernel and modules with the ck1 patchset featuring MuQSS CPU scheduler @@ -36,11 +32,11 @@ pkgname = linux-ck depends = initramfs optdepends = crda: to set the correct wireless channels of your country optdepends = linux-firmware: firmware images needed for some devices - provides = linux-ck=5.6.14 + provides = linux-ck=5.6.15 pkgname = linux-ck-headers pkgdesc = Headers and scripts for building modules for Linux-ck kernel depends = linux-ck - provides = linux-ck-headers=5.6.14 - provides = linux-headers=5.6.14 + provides = linux-ck-headers=5.6.15 + provides = linux-headers=5.6.15 diff --git a/0002-gcc-plugins-drop-support-for-GCC-4.7.patch b/0002-gcc-plugins-drop-support-for-GCC-4.7.patch deleted file mode 100644 index d5bb6906d37f..000000000000 --- a/0002-gcc-plugins-drop-support-for-GCC-4.7.patch +++ /dev/null @@ -1,277 +0,0 @@ -From 79b8cfb31b0ee720d99143666235e6df093807d7 Mon Sep 17 00:00:00 2001 -From: Masahiro Yamada <masahiroy@kernel.org> -Date: Sun, 29 Mar 2020 20:08:32 +0900 -Subject: [PATCH 2/4] gcc-plugins: drop support for GCC <= 4.7 - -Nobody was opposed to raising minimum GCC version to 4.8 [1] -So, we will drop GCC <= 4.7 support sooner or later. - -We always use C++ compiler for building plugins for GCC >= 4.8. - -This commit drops the plugin support for GCC <= 4.7 a bit earlier, -which allows us to dump lots of code. - -[1] https://lkml.org/lkml/2020/1/23/545 - -Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> -Acked-by: Kees Cook <keescook@chromium.org> ---- - scripts/Kconfig.include | 3 -- - scripts/Makefile.build | 2 +- - scripts/Makefile.clean | 1 - - scripts/Makefile.host | 23 +-------------- - scripts/gcc-plugin.sh | 55 +++--------------------------------- - scripts/gcc-plugins/Kconfig | 12 ++------ - scripts/gcc-plugins/Makefile | 21 ++++---------- - 7 files changed, 14 insertions(+), 103 deletions(-) - -diff --git a/scripts/Kconfig.include b/scripts/Kconfig.include -index 496d11c92c97..033f6efd92d3 100644 ---- a/scripts/Kconfig.include -+++ b/scripts/Kconfig.include -@@ -42,9 +42,6 @@ $(error-if,$(failure,command -v $(LD)),linker '$(LD)' not found) - # Fail if the linker is gold as it's not capable of linking the kernel proper - $(error-if,$(success, $(LD) -v | grep -q gold), gold linker '$(LD)' not supported) - --# gcc version including patch level --gcc-version := $(shell,$(srctree)/scripts/gcc-version.sh $(CC)) -- - # machine bit flags - # $(m32-flag): -m32 if the compiler supports it, or an empty string otherwise. - # $(m64-flag): -m64 if the compiler supports it, or an empty string otherwise. -diff --git a/scripts/Makefile.build b/scripts/Makefile.build -index a1730d42e5f3..eec789d7a63a 100644 ---- a/scripts/Makefile.build -+++ b/scripts/Makefile.build -@@ -46,7 +46,7 @@ include $(kbuild-file) - include scripts/Makefile.lib - - # Do not include host rules unless needed --ifneq ($(hostprogs)$(hostlibs-y)$(hostlibs-m)$(hostcxxlibs-y)$(hostcxxlibs-m),) -+ifneq ($(hostprogs)$(hostcxxlibs-y)$(hostcxxlibs-m),) - include scripts/Makefile.host - endif - -diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean -index 1e4206566a82..075f0cc2d8d7 100644 ---- a/scripts/Makefile.clean -+++ b/scripts/Makefile.clean -@@ -30,7 +30,6 @@ subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn)) - __clean-files := $(extra-y) $(extra-m) $(extra-) \ - $(always) $(always-y) $(always-m) $(always-) $(targets) $(clean-files) \ - $(hostprogs) $(hostprogs-y) $(hostprogs-m) $(hostprogs-) \ -- $(hostlibs-y) $(hostlibs-m) $(hostlibs-) \ - $(hostcxxlibs-y) $(hostcxxlibs-m) - - __clean-files := $(filter-out $(no-clean-files), $(__clean-files)) -diff --git a/scripts/Makefile.host b/scripts/Makefile.host -index 3b7121d43324..2045855d0b75 100644 ---- a/scripts/Makefile.host -+++ b/scripts/Makefile.host -@@ -39,7 +39,6 @@ $(obj)/%.tab.c $(obj)/%.tab.h: $(src)/%.y FORCE - # They are linked as C++ code to the executable qconf - - __hostprogs := $(sort $(hostprogs)) --host-cshlib := $(sort $(hostlibs-y) $(hostlibs-m)) - host-cxxshlib := $(sort $(hostcxxlibs-y) $(hostcxxlibs-m)) - - # C code -@@ -63,7 +62,6 @@ host-cxxmulti := $(foreach m,$(__hostprogs),$(if $($(m)-cxxobjs),$(m))) - host-cxxobjs := $(sort $(foreach m,$(host-cxxmulti),$($(m)-cxxobjs))) - - # Object (.o) files used by the shared libaries --host-cshobjs := $(sort $(foreach m,$(host-cshlib),$($(m:.so=-objs)))) - host-cxxshobjs := $(sort $(foreach m,$(host-cxxshlib),$($(m:.so=-objs)))) - - host-csingle := $(addprefix $(obj)/,$(host-csingle)) -@@ -71,9 +69,7 @@ host-cmulti := $(addprefix $(obj)/,$(host-cmulti)) - host-cobjs := $(addprefix $(obj)/,$(host-cobjs)) - host-cxxmulti := $(addprefix $(obj)/,$(host-cxxmulti)) - host-cxxobjs := $(addprefix $(obj)/,$(host-cxxobjs)) --host-cshlib := $(addprefix $(obj)/,$(host-cshlib)) - host-cxxshlib := $(addprefix $(obj)/,$(host-cxxshlib)) --host-cshobjs := $(addprefix $(obj)/,$(host-cshobjs)) - host-cxxshobjs := $(addprefix $(obj)/,$(host-cxxshobjs)) - - ##### -@@ -140,13 +136,6 @@ quiet_cmd_host-cxxobjs = HOSTCXX $@ - $(host-cxxobjs): $(obj)/%.o: $(src)/%.cc FORCE - $(call if_changed_dep,host-cxxobjs) - --# Compile .c file, create position independent .o file --# host-cshobjs -> .o --quiet_cmd_host-cshobjs = HOSTCC -fPIC $@ -- cmd_host-cshobjs = $(HOSTCC) $(hostc_flags) -fPIC -c -o $@ $< --$(host-cshobjs): $(obj)/%.o: $(src)/%.c FORCE -- $(call if_changed_dep,host-cshobjs) -- - # Compile .c file, create position independent .o file - # Note that plugin capable gcc versions can be either C or C++ based - # therefore plugin source files have to be compilable in both C and C++ mode. -@@ -157,16 +146,6 @@ quiet_cmd_host-cxxshobjs = HOSTCXX -fPIC $@ - $(host-cxxshobjs): $(obj)/%.o: $(src)/%.c FORCE - $(call if_changed_dep,host-cxxshobjs) - --# Link a shared library, based on position independent .o files --# *.o -> .so shared library (host-cshlib) --quiet_cmd_host-cshlib = HOSTLLD -shared $@ -- cmd_host-cshlib = $(HOSTCC) $(KBUILD_HOSTLDFLAGS) -shared -o $@ \ -- $(addprefix $(obj)/, $($(target-stem)-objs)) \ -- $(KBUILD_HOSTLDLIBS) $(HOSTLDLIBS_$(target-stem).so) --$(host-cshlib): FORCE -- $(call if_changed,host-cshlib) --$(call multi_depend, $(host-cshlib), .so, -objs) -- - # Link a shared library, based on position independent .o files - # *.o -> .so shared library (host-cxxshlib) - quiet_cmd_host-cxxshlib = HOSTLLD -shared $@ -@@ -178,4 +157,4 @@ $(host-cxxshlib): FORCE - $(call multi_depend, $(host-cxxshlib), .so, -objs) - - targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\ -- $(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs) $(host-cxxshlib) $(host-cxxshobjs) -+ $(host-cxxmulti) $(host-cxxobjs) $(host-cxxshlib) $(host-cxxshobjs) -diff --git a/scripts/gcc-plugin.sh b/scripts/gcc-plugin.sh -index d3caefe53eab..b79fd0bea838 100755 ---- a/scripts/gcc-plugin.sh -+++ b/scripts/gcc-plugin.sh -@@ -1,49 +1,14 @@ - #!/bin/sh - # SPDX-License-Identifier: GPL-2.0 --srctree=$(dirname "$0") -- --SHOW_ERROR= --if [ "$1" = "--show-error" ] ; then -- SHOW_ERROR=1 -- shift || true --fi -- --gccplugins_dir=$($3 -print-file-name=plugin) --plugincc=$($1 -E -x c++ - -o /dev/null -I"${srctree}"/gcc-plugins -I"${gccplugins_dir}"/include 2>&1 <<EOF --#include "gcc-common.h" --#if BUILDING_GCC_VERSION >= 4008 || defined(ENABLE_BUILD_WITH_CXX) --#warning $2 CXX --#else --#warning $1 CC --#endif --EOF --) - --if [ $? -ne 0 ] --then -- if [ -n "$SHOW_ERROR" ] ; then -- echo "${plugincc}" >&2 -- fi -- exit 1 --fi -+set -e - --case "$plugincc" in -- *"$1 CC"*) -- echo "$1" -- exit 0 -- ;; -- -- *"$2 CXX"*) -- # the c++ compiler needs another test, see below -- ;; -+srctree=$(dirname "$0") - -- *) -- exit 1 -- ;; --esac -+gccplugins_dir=$($* -print-file-name=plugin) - - # we need a c++ compiler that supports the designated initializer GNU extension --plugincc=$($2 -c -x c++ -std=gnu++98 - -fsyntax-only -I"${srctree}"/gcc-plugins -I"${gccplugins_dir}"/include 2>&1 <<EOF -+$HOSTCC -c -x c++ -std=gnu++98 - -fsyntax-only -I $srctree/gcc-plugins -I $gccplugins_dir/include 2>/dev/null <<EOF - #include "gcc-common.h" - class test { - public: -@@ -52,15 +17,3 @@ public: - .test = 1 - }; - EOF --) -- --if [ $? -eq 0 ] --then -- echo "$2" -- exit 0 --fi -- --if [ -n "$SHOW_ERROR" ] ; then -- echo "${plugincc}" >&2 --fi --exit 1 -diff --git a/scripts/gcc-plugins/Kconfig b/scripts/gcc-plugins/Kconfig -index e3569543bdac..fd31ed5b435f 100644 ---- a/scripts/gcc-plugins/Kconfig -+++ b/scripts/gcc-plugins/Kconfig -@@ -1,13 +1,4 @@ - # SPDX-License-Identifier: GPL-2.0-only --preferred-plugin-hostcc := $(if-success,[ $(gcc-version) -ge 40800 ],$(HOSTCXX),$(HOSTCC)) -- --config PLUGIN_HOSTCC -- string -- default "$(shell,$(srctree)/scripts/gcc-plugin.sh "$(preferred-plugin-hostcc)" "$(HOSTCXX)" "$(CC)")" if CC_IS_GCC -- help -- Host compiler used to build GCC plugins. This can be $(HOSTCXX), -- $(HOSTCC), or a null string if GCC plugin is unsupported. -- - config HAVE_GCC_PLUGINS - bool - help -@@ -17,7 +8,8 @@ config HAVE_GCC_PLUGINS - menuconfig GCC_PLUGINS - bool "GCC plugins" - depends on HAVE_GCC_PLUGINS -- depends on PLUGIN_HOSTCC != "" -+ depends on CC_IS_GCC && GCC_VERSION >= 40800 -+ depends on $(success,$(srctree)/scripts/gcc-plugin.sh $(CC)) - default y - help - GCC plugins are loadable modules that provide extra features to the -diff --git a/scripts/gcc-plugins/Makefile b/scripts/gcc-plugins/Makefile -index f2ee8bd7abc6..f22858b2c3d6 100644 ---- a/scripts/gcc-plugins/Makefile -+++ b/scripts/gcc-plugins/Makefile -@@ -1,18 +1,9 @@ - # SPDX-License-Identifier: GPL-2.0 --PLUGINCC := $(CONFIG_PLUGIN_HOSTCC:"%"=%) - GCC_PLUGINS_DIR := $(shell $(CC) -print-file-name=plugin) - --ifeq ($(PLUGINCC),$(HOSTCC)) -- HOSTLIBS := hostlibs -- HOST_EXTRACFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu99 -ggdb -- export HOST_EXTRACFLAGS --else -- HOSTLIBS := hostcxxlibs -- HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu++98 -fno-rtti -- HOST_EXTRACXXFLAGS += -fno-exceptions -fasynchronous-unwind-tables -ggdb -- HOST_EXTRACXXFLAGS += -Wno-narrowing -Wno-unused-variable -- export HOST_EXTRACXXFLAGS --endif -+HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu++98 -fno-rtti -+HOST_EXTRACXXFLAGS += -fno-exceptions -fasynchronous-unwind-tables -ggdb -+HOST_EXTRACXXFLAGS += -Wno-narrowing -Wno-unused-variable -Wno-c++11-compat - - $(obj)/randomize_layout_plugin.o: $(objtree)/$(obj)/randomize_layout_seed.h - quiet_cmd_create_randomize_layout_seed = GENSEED $@ -@@ -22,9 +13,9 @@ $(objtree)/$(obj)/randomize_layout_seed.h: FORCE - $(call if_changed,create_randomize_layout_seed) - targets = randomize_layout_seed.h randomize_layout_hash.h - --$(HOSTLIBS)-y := $(foreach p,$(GCC_PLUGIN),$(if $(findstring /,$(p)),,$(p))) --always-y := $($(HOSTLIBS)-y) -+hostcxxlibs-y := $(foreach p,$(GCC_PLUGIN),$(if $(findstring /,$(p)),,$(p))) -+always-y := $(hostcxxlibs-y) - --$(foreach p,$($(HOSTLIBS)-y:%.so=%),$(eval $(p)-objs := $(p).o)) -+$(foreach p,$(hostcxxlibs-y:%.so=%),$(eval $(p)-objs := $(p).o)) - - clean-files += *.so --- -2.26.2 - diff --git a/0003-gcc-common.h-Update-for-GCC-10.patch b/0003-gcc-common.h-Update-for-GCC-10.patch deleted file mode 100644 index f5fe63583476..000000000000 --- a/0003-gcc-common.h-Update-for-GCC-10.patch +++ /dev/null @@ -1,86 +0,0 @@ -From 1d492722d03873bcd863da75718ccdbec7660ae9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= - <frederic.pierret@qubes-os.org> -Date: Tue, 7 Apr 2020 13:32:59 +0200 -Subject: [PATCH 3/4] gcc-common.h: Update for GCC 10 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Remove "params.h" include, which has been dropped in GCC 10. - -Remove is_a_helper() macro, which is now defined in gimple.h, as seen -when running './scripts/gcc-plugin.sh g++ g++ gcc': - -In file included from <stdin>:1: -./gcc-plugins/gcc-common.h:852:13: error: redefinition of ‘static bool is_a_helper<T>::test(U*) [with U = const gimple; T = const ggoto*]’ - 852 | inline bool is_a_helper<const ggoto *>::test(const_gimple gs) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from ./gcc-plugins/gcc-common.h:125, - from <stdin>:1: -/usr/lib/gcc/x86_64-redhat-linux/10/plugin/include/gimple.h:1037:1: note: ‘static bool is_a_helper<T>::test(U*) [with U = const gimple; T = const ggoto*]’ previously declared here - 1037 | is_a_helper <const ggoto *>::test (const gimple *gs) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Add -Wno-format-diag to scripts/gcc-plugins/Makefile to avoid -meaningless warnings from error() formats used by plugins: - -scripts/gcc-plugins/structleak_plugin.c: In function ‘int plugin_init(plugin_name_args*, plugin_gcc_version*)’: -scripts/gcc-plugins/structleak_plugin.c:253:12: warning: unquoted sequence of 2 consecutive punctuation characters ‘'-’ in format [-Wformat-diag] - 253 | error(G_("unknown option '-fplugin-arg-%s-%s'"), plugin_name, argv[i].key); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org> -Link: https://lore.kernel.org/r/20200407113259.270172-1-frederic.pierret@qubes-os.org -[kees: include -Wno-format-diag for plugin builds] -Signed-off-by: Kees Cook <keescook@chromium.org> ---- - scripts/gcc-plugins/Makefile | 1 + - scripts/gcc-plugins/gcc-common.h | 4 ++++ - 2 files changed, 5 insertions(+) - -diff --git a/scripts/gcc-plugins/Makefile b/scripts/gcc-plugins/Makefile -index f22858b2c3d6..80f354289eeb 100644 ---- a/scripts/gcc-plugins/Makefile -+++ b/scripts/gcc-plugins/Makefile -@@ -4,6 +4,7 @@ GCC_PLUGINS_DIR := $(shell $(CC) -print-file-name=plugin) - HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu++98 -fno-rtti - HOST_EXTRACXXFLAGS += -fno-exceptions -fasynchronous-unwind-tables -ggdb - HOST_EXTRACXXFLAGS += -Wno-narrowing -Wno-unused-variable -Wno-c++11-compat -+HOST_EXTRACXXFLAGS += -Wno-format-diag - - $(obj)/randomize_layout_plugin.o: $(objtree)/$(obj)/randomize_layout_seed.h - quiet_cmd_create_randomize_layout_seed = GENSEED $@ -diff --git a/scripts/gcc-plugins/gcc-common.h b/scripts/gcc-plugins/gcc-common.h -index 17f06079a712..9ad76b7f3f10 100644 ---- a/scripts/gcc-plugins/gcc-common.h -+++ b/scripts/gcc-plugins/gcc-common.h -@@ -35,7 +35,9 @@ - #include "ggc.h" - #include "timevar.h" - -+#if BUILDING_GCC_VERSION < 10000 - #include "params.h" -+#endif - - #if BUILDING_GCC_VERSION <= 4009 - #include "pointer-set.h" -@@ -847,6 +849,7 @@ static inline gimple gimple_build_assign_with_ops(enum tree_code subcode, tree l - return gimple_build_assign(lhs, subcode, op1, op2 PASS_MEM_STAT); - } - -+#if BUILDING_GCC_VERSION < 10000 - template <> - template <> - inline bool is_a_helper<const ggoto *>::test(const_gimple gs) -@@ -860,6 +863,7 @@ inline bool is_a_helper<const greturn *>::test(const_gimple gs) - { - return gs->code == GIMPLE_RETURN; - } -+#endif - - static inline gasm *as_a_gasm(gimple stmt) - { --- -2.26.2 - @@ -10,7 +10,7 @@ _makenconfig= # Optionally select a sub architecture by number if building in a clean chroot # Leaving this entry blank will require user interaction during the build # which will cause a failure to build if using makechrootpkg. Note that the -# generic (default) option is 30. +# generic (default) option is 32. # # Note - the march=native option is unavailable by this method, use the nconfig # and manually select it. @@ -44,8 +44,11 @@ _makenconfig= # 27. Intel Cannon Lake (MCANNONLAKE) # 28. Intel Ice Lake (MICELAKE) # 29. Intel Cascade Lake (MCASCADELAKE) -# 30. Generic-x86-64 (GENERIC_CPU) -# 31. Native optimizations autodetected by GCC (MNATIVE) +# 30. Intel Cooper Lake (MCOOPERLAKE) +# 31. Intel Tiger Lake (MTIGERLAKE) +# 32. Generic-x86-64 (GENERIC_CPU) +# 33. Native optimizations autodetected by GCC (MNATIVE) + _subarch= # Compile ONLY used modules to VASTLYreduce the number of modules built @@ -61,7 +64,7 @@ _localmodcfg= ### IMPORTANT: Do no edit below this line unless you know what you're doing pkgbase=linux-ck -pkgver=5.6.14 +pkgver=5.6.15 pkgrel=1 _ckpatchversion=1 arch=(x86_64) @@ -72,7 +75,7 @@ makedepends=( ) options=('!strip') _ckpatch="patch-5.6-ck${_ckpatchversion}" -_gcc_more_v='20191217' +_gcc_more_v='20200527' source=( "https://www.kernel.org/pub/linux/kernel/v5.x/linux-$pkgver.tar".{xz,sign} config # the main kernel config file @@ -80,22 +83,18 @@ source=( "enable_additional_cpu_optimizations-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/$_gcc_more_v.tar.gz" "http://ck.kolivas.org/patches/5.0/5.6/5.6-ck${_ckpatchversion}/$_ckpatch.xz" 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch - 0002-gcc-plugins-drop-support-for-GCC-4.7.patch - 0003-gcc-common.h-Update-for-GCC-10.patch ) validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds '647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman ) -sha256sums=('33763f3541711e39fa743da45ff9512d54ade61406173f3d267ba4484cec7ea3' +sha256sums=('65ab799393d490463c610270634874dfcb66440a312837d04b51bbb69323034e' 'SKIP' - 'f392c9ecbb5177ea2573aaf22935322940ea2be0366f3fb9c9f861431f4aed21' + '2a157fdbf3a6396e985db9ae5d11870a786717dca31de78cad09c06eb28761ff' '8cb21e0b3411327b627a9dd15b8eb773295a0d2782b1a41b2a8839d1b2f5778c' - '7a4a209de815f4bae49c7c577c0584c77257e3953ac4324d2aa425859ba657f5' + '8255e6b6e0bdcd66a73d917b56cf2cccdd1c3f4b3621891cfffc203404a5b6dc' 'a6fe596e75333a5ac8ed4a4d63e4408ef38ebef6303889223e236af3ce576877' - '3b5de5bf70a63a6549f986d071f3d9572b19707548cd205a3b8ecdb7dcba3f1c' - 'f09a0781c6ee5e67602c2a045d52d766dd7085b6f7f939b7a42149cfd0cfcb1b' - '47e91b0b2a21cbe9663ddeb1b9e7bbea7716e5b8cb7984b0c3593839c515a102') + '3b5de5bf70a63a6549f986d071f3d9572b19707548cd205a3b8ecdb7dcba3f1c') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase @@ -145,8 +144,8 @@ prepare() { make olddefconfig # https://github.com/graysky2/kernel_gcc_patch - echo "Applying enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v5.5+.patch" - patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v5.5+.patch" + echo "Patching to enable GCC optimization for other uarchs..." + patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v10.1+_kernel_v5.5-v5.6.patch" if [ -n "$_subarch" ]; then # user wants a subarch so apply choice defined above interactively via 'yes' @@ -1,18 +1,17 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.6.8-arch1 Kernel Configuration +# Linux/x86 5.6.15-arch1 Kernel Configuration # # -# Compiler: gcc (Arch Linux 9.3.0-1) 9.3.0 +# Compiler: gcc (GCC) 10.1.0 # CONFIG_CC_IS_GCC=y -CONFIG_GCC_VERSION=90300 +CONFIG_GCC_VERSION=100100 CONFIG_CLANG_VERSION=0 CONFIG_CC_CAN_LINK=y CONFIG_CC_HAS_ASM_GOTO=y CONFIG_CC_HAS_ASM_INLINE=y -CONFIG_CC_HAS_WARN_MAYBE_UNINITIALIZED=y CONFIG_IRQ_WORK=y CONFIG_BUILDTIME_TABLE_SORT=y CONFIG_THREAD_INFO_IN_TASK=y @@ -968,6 +967,7 @@ CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y CONFIG_QUEUED_SPINLOCKS=y CONFIG_ARCH_USE_QUEUED_RWLOCKS=y CONFIG_QUEUED_RWLOCKS=y +CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE=y CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y CONFIG_ARCH_HAS_SYSCALL_WRAPPER=y CONFIG_FREEZER=y |