linux-next: build failure after merge of the modules tree
Subsystems (2)
Hi all,
After merging the modules tree, today's linux-next build (x86_64 allmodconfig) failed like this:
Segmentation fault
make[3]: *** [/home/sfr/next/next/scripts/Makefile.modfinal:56: lib/tests/module/test_kallsyms_d.ko] Error 139 make[3]: *** Deleting file 'lib/tests/module/test_kallsyms_d.ko'
Caused by commit
6336b7d9a520 ("selftests: add new kallsyms selftests")
These new tests spend a long time just linking the modules (especially test_kallsyms_c.ko and test_kallsyms_d.ko) and then the linker segfaults
before finishing test_kallsyms_d.ko. Maybe your stress tests need to be a little less stressful :-)
The build machine does not run out of memory (it has 30-40GB free).
$ x86_64-linux-gnu-gcc --version x86_64-linux-gnu-gcc (Debian 13.2.0-7) 13.2.0 $ x86_64-linux-gnu-ld --version GNU ld (GNU Binutils for Debian) 2.41
I have applied the following patch for today.
From: Stephen Rothwell <[email protected]>
Date: Fri, 2 Feb 2024 11:57:59 +1100
Subject: [PATCH] selftests: disable TEST_KALLSYMS_D for now
--- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Kconfig.debug +1 -1
@@ -2853,7 +2853,7 @@ config TEST_KALLSYMS select TEST_KALLSYMS_A select TEST_KALLSYMS_B select TEST_KALLSYMS_C - select TEST_KALLSYMS_D +# select TEST_KALLSYMS_D help This allows us to stress test find_symbol() through the kallsyms used to place symbols on the kernel ELF kallsyms and modules kallsyms
Signature · 7 lines
2.43.0 -- Cheers, Stephen Rothwell