View Issue Details

IDProjectCategoryView StatusLast Update
0017770CentOS-7kernel-pluspublic2020-10-03 04:31
Reportertoracat 
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0017770: kernel-plus for i686 does not build under CentOS 7.9
DescriptionBuilding kernel-plus-3.10.0-1160.el7.centos.plus ends up with errors.

The current srpm file is available here:

https://people.centos.org/toracat/kernel/7/plus/testing/
TagsNo tags attached.
abrt_hash
URL

Activities

toracat

toracat

2020-10-01 17:53

manager   ~0037771

Patches welcome. :)
toracat

toracat

2020-10-01 20:43

manager   ~0037772

Patch submitted by @pgreco.

patch-i686-taintflags-7_9.patch (605 bytes)
patch-i686-taintflags-7_9.patch
  Submitted by Pablo Greco <pablo@fliagreco.com.ar>

--- a/include/linux/kernel.h	2020-08-18 15:24:23.000000000 -0300
+++ b/include/linux/kernel.h	2020-10-01 15:34:52.981717751 -0300
@@ -540,7 +540,11 @@ extern enum system_states {
 #define TAINT_RESERVED30		30
 #define TAINT_RESERVED31		31
 #define TAINT_FLAGS_COUNT		32
+#ifdef CONFIG_X86_32
+#define TAINT_FLAGS_MAX			((unsigned long)((1ULL << TAINT_FLAGS_COUNT) - 1))
+#else
 #define TAINT_FLAGS_MAX			((1UL << TAINT_FLAGS_COUNT) - 1)
+#endif
 
 struct taint_flag {
 	char c_true;	/* character printed when tainted */
toracat

toracat

2020-10-01 20:47

manager   ~0037773

Also, UEFI disabled in kernel-3.10.0-i686.config:

--- kernel-3.10.0-i686.config.old 2020-10-01 10:17:52.346326060 -0700
+++ kernel-3.10.0-i686.config 2020-10-01 13:28:15.304326060 -0700
@@ -311,7 +311,7 @@
 CONFIG_MODULE_SIG=y
 # CONFIG_MODULE_SIG_FORCE is not set
 CONFIG_MODULE_SIG_ALL=y
-CONFIG_MODULE_SIG_UEFI=y
+# CONFIG_MODULE_SIG_UEFI is not set
 # CONFIG_MODULE_SIG_SHA1 is not set
 # CONFIG_MODULE_SIG_SHA224 is not set
 CONFIG_MODULE_SIG_SHA256=y
toracat

toracat

2020-10-01 23:20

manager   ~0037775

All is well. No more error. Thank you, @pgreco.

Issue History

Date Modified Username Field Change
2020-10-01 17:51 toracat New Issue
2020-10-01 17:51 toracat Status new => assigned
2020-10-01 17:53 toracat Note Added: 0037771
2020-10-01 20:43 toracat File Added: patch-i686-taintflags-7_9.patch
2020-10-01 20:43 toracat Note Added: 0037772
2020-10-01 20:47 toracat Note Added: 0037773
2020-10-01 23:20 toracat Note Added: 0037775
2020-10-03 04:31 toracat Status assigned => resolved
2020-10-03 04:31 toracat Resolution open => fixed