Re: [OS-BUILD PATCHv5 0/4] makefile: Add -Werror support for RHEL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Prarit Bhargava on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2240#note_1232751488

Testing of the change: 'make -j10 dist-configs' and

```
[prarit@prarit redhat]$ egrep CONFIG_WERROR configs/*.config
configs/kernel-6.2.0-aarch64.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-aarch64-debug.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-aarch64-kgcov.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-ppc64le.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-ppc64le-debug.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-ppc64le-kgcov.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-s390x.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-s390x-debug.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-s390x-kgcov.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-s390x-zfcpdump.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-x86_64.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-x86_64-debug.config:# CONFIG_WERROR is not set
configs/kernel-6.2.0-x86_64-kgcov.config:# CONFIG_WERROR is not set
```

I then set ENABLE_WERROR ?= 1 in Makefile.variables, executed 'make -j10 dist-
configs' and

```
[prarit@prarit redhat]$ egrep CONFIG_WERROR configs/*.config
configs/kernel-6.2.0-aarch64.config:CONFIG_WERROR=y
configs/kernel-6.2.0-aarch64-debug.config:CONFIG_WERROR=y
configs/kernel-6.2.0-aarch64-kgcov.config:CONFIG_WERROR=y
configs/kernel-6.2.0-ppc64le.config:CONFIG_WERROR=y
configs/kernel-6.2.0-ppc64le-debug.config:CONFIG_WERROR=y
configs/kernel-6.2.0-ppc64le-kgcov.config:CONFIG_WERROR=y
configs/kernel-6.2.0-s390x.config:CONFIG_WERROR=y
configs/kernel-6.2.0-s390x-debug.config:CONFIG_WERROR=y
configs/kernel-6.2.0-s390x-kgcov.config:CONFIG_WERROR=y
configs/kernel-6.2.0-s390x-zfcpdump.config:CONFIG_WERROR=y
configs/kernel-6.2.0-x86_64.config:CONFIG_WERROR=y
configs/kernel-6.2.0-x86_64-debug.config:CONFIG_WERROR=y
configs/kernel-6.2.0-x86_64-kgcov.config:CONFIG_WERROR=y
```
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux