Skip to contentSkip to conversation

linux-next: build failure after merge of the execve tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Oct 3, 2023 – Oct 4, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
Quoted 15 lines · Stephen Rothwell

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;
      |                       ^~~~~~~
Quoted 7 lines

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.

Whoops! Fixed now. Thanks. :)

Signature · 1 line
Kees Cook