From: Scott Weaver <scwea...@redhat.com>

redhat/configs: clang_lto: disable CONFIG_FORTIFY_KUNIT_TEST

The clang LTO builds are failing due to an upstream issue [1]. To
workaround this, disable the CONFIG_FORTIFY_KUNIT_TEST.

[1] https://github.com/ClangBuiltLinux/linux/issues/2075

The error from a recent build shows:
00:13:08 ld.lld: error: call to __read_overflow marked "dontcall-error": 
detected read beyond size of object (1st parameter)
00:13:08 make[4]: *** [scripts/Makefile.build:287: lib/tests/fortify_kunit.o] 
Error 1
00:13:08 make[4]: *** Deleting file 'lib/tests/fortify_kunit.o'
00:13:08 make[4]: *** Waiting for unfinished jobs....

Signed-off-by: Scott Weaver <scwea...@redhat.com>

diff --git a/redhat/configs/common/clang_lto/generic/CONFIG_FORTIFY_KUNIT_TEST 
b/redhat/configs/common/clang_lto/generic/CONFIG_FORTIFY_KUNIT_TEST
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/clang_lto/generic/CONFIG_FORTIFY_KUNIT_TEST
@@ -0,0 +1 @@
+# CONFIG_FORTIFY_KUNIT_TEST is not set

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3950

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to