linux-next: build failure after merge of the kbuild tree
Subsystems (2)
Mark Brown
maintainerHi all,
After merging the kbuild tree, today's linux-next build (arm64 perf) failed like this:
Auto-detecting system features:
... libdw: [ on ] ... glibc: [ on ] ... libelf: [ on ] ... libnuma: [ on ] ... numa_num_possible_cpus: [ on ] ... libpython: [ on ] ... libcapstone: [ on ] ... llvm-perf: [ on ] ... zlib: [ on ] ... lzma: [ on ] ... bpf: [ on ] ... libaio: [ on ] ... libzstd: [ on ] ... libopenssl: [ on ] ... rust: [ on ]
Makefile:2254: *** extraneous 'endif'. Stop.
Makefile:2254: *** extraneous 'endif'. Stop.
PERF_VERSION = .gbc1f864a1976
52.34user 4.91system 0:56.88elapsed 100%CPU (0avgtext+0avgdata 140840maxresident)k 0inputs+0outputs (0major+1379795minor)pagefaults 0swaps
Building: arm64 allnoconfig
Makefile:2254: *** extraneous 'endif'. Stop.
Presumably caused by commit
6a76b3c06a1d3 (kbuild: Reduce the number of compiler-generated suffixes for clang thin-lto build)
though I don't immediately see how. I have used the version from next-20260313 instead.
Nicolas Schier
maintainerHi Mark,
Quoted 30 lines · Mark Brown
Hi all,
After merging the kbuild tree, today's linux-next build (arm64 perf) failed like this:
Auto-detecting system features:
... libdw: [ on ] ... glibc: [ on ] ... libelf: [ on ] ... libnuma: [ on ] ... numa_num_possible_cpus: [ on ] ... libpython: [ on ] ... libcapstone: [ on ] ... llvm-perf: [ on ] ... zlib: [ on ] ... lzma: [ on ] ... bpf: [ on ] ... libaio: [ on ] ... libzstd: [ on ] ... libopenssl: [ on ] ... rust: [ on ]Makefile:2254: *** extraneous 'endif'. Stop.
Makefile:2254: *** extraneous 'endif'. Stop.
PERF_VERSION= .gbc1f864a1976
52.34user 4.91system 0:56.88elapsed 100%CPU (0avgtext+0avgdata 140840maxresident)k 0inputs+0outputs (0major+1379795minor)pagefaults 0swaps
Building: arm64 allnoconfig
Makefile:2254: *** extraneous 'endif'. Stop.
Quoted 6 lines
Presumably caused by commit
6a76b3c06a1d3(kbuild: Reduce the number of compiler-generated suffixes for clang thin-lto build)though I don't immediately see how. I have used the version from next-20260313 instead.
thanks for the report. Unfortunately, I cannot reproduce that anyhow; but I pushed to kbuild/kbuild-for-next at 12:36 UTC, might that have been a bad point in time? Do you have your merge somewhere around where I can fetch it for investigation?
Kind regards,
Nicolas
Quoted 35 lines · Nicolas Schier
Hi Mark,
Quoted 32 lines · Mark Brown
Hi all,
After merging the kbuild tree, today's linux-next build (arm64 perf) failed like this:
Auto-detecting system features:
... libdw: [ on ] ... glibc: [ on ] ... libelf: [ on ] ... libnuma: [ on ] ... numa_num_possible_cpus: [ on ] ... libpython: [ on ] ... libcapstone: [ on ] ... llvm-perf: [ on ] ... zlib: [ on ] ... lzma: [ on ] ... bpf: [ on ] ... libaio: [ on ] ... libzstd: [ on ] ... libopenssl: [ on ] ... rust: [ on ]Makefile:2254: *** extraneous 'endif'. Stop.
Makefile:2254: *** extraneous 'endif'. Stop.
PERF_VERSION= .gbc1f864a1976
52.34user 4.91system 0:56.88elapsed 100%CPU (0avgtext+0avgdata 140840maxresident)k 0inputs+0outputs (0major+1379795minor)pagefaults 0swaps
Building: arm64 allnoconfig
Makefile:2254: *** extraneous 'endif'. Stop.Presumably caused by commit
Quoted 8 lines
Quoted 4 lines
6a76b3c06a1d3(kbuild: Reduce the number of compiler-generated suffixes for clang thin-lto build)though I don't immediately see how. I have used the version from next-20260313 instead.
thanks for the report. Unfortunately, I cannot reproduce that anyhow; but I pushed to kbuild/kbuild-for-next at 12:36 UTC, might that have been a bad point in time? Do you have your merge somewhere around where I can fetch it for investigation?
I guess it probably due to my bad suggestions (sorry I should have tested before sending out).
elseCC_FLAGS_LTO := -flto=thin -fsplit-lto-unit
+if CONFIG_LTO_CLANG_THIN
+KBUILD_LDFLAGS += $(call ld-option,--lto-whole-program-visibility -mllvm -always-rename-promoted-locals=false)
+endif
endifIt should be elseCC_FLAGS_LTO := -flto=thin -fsplit-lto-unit
+ifdef CONFIG_LTO_CLANG_THIN
+KBUILD_LDFLAGS += $(call ld-option,--lto-whole-program-visibility -mllvm -always-rename-promoted-locals=false)
+endif
endif
Quoted 3 lines
Kind regards,
Nicolas
Mark Brown
maintainerQuoted 10 lines · Nicolas Schier
Quoted 7 lines · Mark Brown
Makefile:2254: *** extraneous 'endif'. Stop.
Makefile:2254: *** extraneous 'endif'. Stop.
PERF_VERSION= .gbc1f864a1976
52.34user 4.91system 0:56.88elapsed 100%CPU (0avgtext+0avgdata 140840maxresident)k 0inputs+0outputs (0major+1379795minor)pagefaults 0swaps
Building: arm64 allnoconfig
Makefile:2254: *** extraneous 'endif'. Stop.
Quoted 4 lines
thanks for the report. Unfortunately, I cannot reproduce that anyhow; but I pushed to kbuild/kbuild-for-next at 12:36 UTC, might that have been a bad point in time? Do you have your merge somewhere around where I can fetch it for investigation?
I tend to start late mornings UTC so something in the middle of the night won't be noticed. I don't have my merge to hand, sorry - you'll be able to see where I merged things by looking at the history of -next for the kbuild merge when I publish today's -next. IIRC there as nothing other than merges and the commit I flagged in there, it's possibly a merge issue with Linus' tree?
Nicolas Schier
maintainerQuoted 16 lines · Mark Brown
Quoted 10 lines · Nicolas Schier
Quoted 7 lines · Mark Brown
Makefile:2254: *** extraneous 'endif'. Stop.
Makefile:2254: *** extraneous 'endif'. Stop.
PERF_VERSION= .gbc1f864a1976
52.34user 4.91system 0:56.88elapsed 100%CPU (0avgtext+0avgdata 140840maxresident)k 0inputs+0outputs (0major+1379795minor)pagefaults 0swaps
Building: arm64 allnoconfig
Makefile:2254: *** extraneous 'endif'. Stop.Quoted 4 lines
thanks for the report. Unfortunately, I cannot reproduce that anyhow; but I pushed to kbuild/kbuild-for-next at 12:36 UTC, might that have been a bad point in time? Do you have your merge somewhere around where I can fetch it for investigation?
Quoted 6 lines
I tend to start late mornings UTC so something in the middle of the night won't be noticed. I don't have my merge to hand, sorry - you'll be able to see where I merged things by looking at the history of -next for the kbuild merge when I publish today's -next. IIRC there as nothing other than merges and the commit I flagged in there, it's possibly a merge issue with Linus' tree?
Ok, thanks! Then I'll have a look at it tomorrow (14h ahead) and hope to fix it for the next '-next' round.
Signature · 1 line
Nicolas