View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017770 | CentOS-7 | kernel-plus | public | 2020-10-01 17:51 | 2020-10-03 04:31 |
Reporter | toracat | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Summary | 0017770: kernel-plus for i686 does not build under CentOS 7.9 | ||||
Description | Building 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/ | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
Patches welcome. :) | |
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 */ |
|
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 |
|
All is well. No more error. Thank you, @pgreco. | |
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 |