Subject: linux-next: build failure after merge of the kbuild tree

From: Mark Brown <[email-masked]>
Date: Mon, 16 Mar 2026 14:18:45 +0000

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

  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.