View Issue Details

IDProjectCategoryView StatusLast Update
0001281channel: kernel/el7--kernel--request-for-enhancement--public2022-11-04 09:05
Reporterstaringatscreen Assigned Toburakkucat  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Summary0001281: change CONFIG_WERROR=y to '# CONFIG_WERROR is not set'
DescriptionHello,
  While the kernel default for CONFIG_WERROR is =y this makes some out-of-tree modules fail to compile. (e.g. OpenAFS)

It appears that Debian and Fedora both set this value in their kernel configs to '# CONFIG_WERROR is not set' which is the same as =n.
http://http.us.debian.org/debian/pool/main/l/linux-signed-amd64/linux-image-6.0.0-2-amd64_6.0.5-1_amd64.deb
https://src.fedoraproject.org/rpms/kernel/blob/e47cadcd9c80ec938c7b744d4296f42ce0fabc75/f/kernel-x86_64-
  
Further, I don't believe this will harm the function of ELRepo's kernels. CONFIG_WERROR=y forces a certain standard on the developers of the in-tree kernel code, but turning it off on released kernel code should have no functional effect.

Thanks for considering and your work!
C.
TagsNo tags attached.

Activities

burakkucat

2022-11-01 13:39

administrator   ~0008721

Last edited: 2022-11-04 08:55

Looking at the master configuration files, for both kernel-lt and kernel-ml, I see the following --

[kernels]$ grep -r 'CONFIG_WERROR' * | sort | grep -E '6\.0\.6|6\.1\.0'
el7/config-6.0/config-6.0.6-x86_64:CONFIG_WERROR=y
el7/config-6.1/config-6.1.0-x86_64:CONFIG_WERROR=y
el8/config-6.0/config-6.0.6-x86_64:CONFIG_WERROR=y
el8/config-6.1/config-6.1.0-x86_64:CONFIG_WERROR=y
el9/config-6.0/config-6.0.6-aarch64:# CONFIG_WERROR is not set
el9/config-6.0/config-6.0.6-x86_64:# CONFIG_WERROR is not set
el9/config-6.1/config-6.1.0-aarch64:# CONFIG_WERROR is not set
el9/config-6.1/config-6.1.0-x86_64:# CONFIG_WERROR is not set
[kernels]$

I have, therefore, queued the deselection of that option for the next builds of the kernel-ml package set (both el7 & el8).

Thank you for drawing my attention to the inconsistency.

burakkucat

2022-11-04 09:01

administrator   ~0008722

Last edited: 2022-11-04 09:05

With the recent update of the kernel-ml package set, for both el7 [1] and el8 [2], this request has now been fulfilled.

[kernels]$ grep -r 'CONFIG_WERROR' * | sort | grep '6\.0\.7'
el7/config-6.0/config-6.0.7-x86_64:# CONFIG_WERROR is not set
el8/config-6.0/config-6.0.7-x86_64:# CONFIG_WERROR is not set
el9/config-6.0/config-6.0.7-aarch64:# CONFIG_WERROR is not set
el9/config-6.0/config-6.0.7-x86_64:# CONFIG_WERROR is not set
[kernels]$

Now closing as "resolved/fixed".

[1] https://lists.elrepo.org/pipermail/elrepo/2022-November/006258.html
[2] https://lists.elrepo.org/pipermail/elrepo/2022-November/006259.html

Issue History

Date Modified Username Field Change
2022-11-01 10:10 staringatscreen New Issue
2022-11-01 10:10 staringatscreen Status new => assigned
2022-11-01 10:10 staringatscreen Assigned To => toracat
2022-11-01 12:05 toracat Assigned To toracat => burakkucat
2022-11-01 13:39 burakkucat Severity minor => feature
2022-11-01 13:39 burakkucat Reproducibility always => N/A
2022-11-01 13:39 burakkucat Status assigned => acknowledged
2022-11-01 13:39 burakkucat Note Added: 0008721
2022-11-04 08:55 burakkucat Note Edited: 0008721
2022-11-04 09:01 burakkucat Status acknowledged => resolved
2022-11-04 09:01 burakkucat Resolution open => fixed
2022-11-04 09:01 burakkucat Category --kernel--OTHER-- => --kernel--request-for-enhancement--
2022-11-04 09:01 burakkucat Note Added: 0008722
2022-11-04 09:05 burakkucat Note Edited: 0008722