Messages in this thread Patch in this message | | | Date | Fri, 2 Feb 2024 12:03:46 +1100 | From | Stephen Rothwell <> | Subject | linux-next: build failure after merge of the modules tree |
| |
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 <sfr@canb.auug.org.au> Date: Fri, 2 Feb 2024 11:57:59 +1100 Subject: [PATCH] selftests: disable TEST_KALLSYMS_D for now
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> --- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index dcb1bd7c6d9d..152128d63d8d 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -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 -- 2.43.0
-- Cheers, Stephen Rothwell [unhandled content-type:application/pgp-signature] | |