linux-next: build failure after merge of the execve tree
Hi all,
After merging the execve tree, today's linux-next build (x86_64 allmodconfig) failed like this:
fs/binfmt_elf.c: In function 'load_elf_library':fs/binfmt_elf.c:1323:37: error: unused variable 'len' [-Werror=unused-variable]
1323 | unsigned long elf_bss, bss, len;
| ^~~fs/binfmt_elf.c:1323:32: error: unused variable 'bss' [-Werror=unused-variable]
1323 | unsigned long elf_bss, bss, len;
| ^~~fs/binfmt_elf.c:1323:23: error: unused variable 'elf_bss' [-Werror=unused-variable]
1323 | unsigned long elf_bss, bss, len;
| ^~~~~~~cc1: all warnings being treated as errors
Caused by commit
f2a1e5fab9ae ("binfmt_elf: Use elf_load() for library")
I have used the execve tree from next-20230929 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 15 lines · Stephen Rothwell
Hi all,
After merging the execve tree, today's linux-next build (
x86_64allmodconfig) failed like this:
fs/binfmt_elf.c: In function 'load_elf_library':fs/binfmt_elf.c:1323:37: error: unused variable 'len' [-Werror=unused-variable]
1323 | unsigned longelf_bss, bss, len;
| ^~~fs/binfmt_elf.c:1323:32: error: unused variable 'bss' [-Werror=unused-variable]
1323 | unsigned longelf_bss, bss, len;
| ^~~fs/binfmt_elf.c:1323:23: error: unused variable 'elf_bss' [-Werror=unused-variable]1323 | unsigned long elf_bss, bss, len; | ^~~~~~~
Quoted 7 lines
cc1: all warnings being treated as errors
Caused by commit
f2a1e5fab9ae("binfmt_elf: Useelf_load()for library")I have used the execve tree from next-20230929 for today.
Whoops! Fixed now. Thanks. :)
Signature · 1 line
Kees Cook