public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the kbuild tree
@ 2026-03-16 14:18 Mark Brown
  2026-03-16 16:02 ` Nicolas Schier
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Brown @ 2026-03-16 14:18 UTC (permalink / raw)
  To: Yonghong Song, Nathan Chancellor, Nicolas Schier,
	KBuild Mailing List
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: build failure after merge of the kbuild tree
@ 2025-08-18  4:01 Stephen Rothwell
  2025-08-18  4:27 ` Nathan Chancellor
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2025-08-18  4:01 UTC (permalink / raw)
  To: Nathan Chancellor, Nicolas Schier
  Cc: Thomas Weißschuh, KBuild Mailing List,
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

Hi all,

After merging the kbuild tree, today's linux-next build (powerpc
allyesconfig) failed like this:

/usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/14/../../../powerpc64le-linux-gnu/libgcc_s.so.1: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[5]: *** [scripts/Makefile.userprogs:29: samples/pfsm/pfsm-wakeup] Error 1
make[5]: Target 'samples/pfsm/' not remade because of errors.

an so on for lots more ...

Caused by commit

  478494044bb4 ("kbuild: userprogs: also inherit byte order and ABI from kernel")

I have reverted that commit for today.

Build was done on ppc64le, POWER9

$ gcc --version
gcc (Debian 14.2.0-19) 14.2.0
$ ld --version
GNU ld (GNU Binutils for Debian) 2.44

CONFIG_VDSO32=y
CONFIG_CPU_BIG_ENDIAN=y
# CONFIG_CPU_LITTLE_ENDIAN is not set
CONFIG_PPC64_ELF_ABI_V2=y
CONFIG_CC_HAS_ELFV2=y
CONFIG_CC_HAS_PREFIXED=y
CONFIG_CC_HAS_PCREL=y
CONFIG_64BIT=y

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* linux-next: build failure after merge of the kbuild tree
@ 2016-09-15  6:08 Stephen Rothwell
  2016-09-22 12:52 ` Michal Marek
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Rothwell @ 2016-09-15  6:08 UTC (permalink / raw)
  To: Michal Marek
  Cc: linux-next, linux-kernel, Al Viro, Nicholas Piggin,
	Michael Ellerman, linux-kbuild

Hi all,

After merging the dax-misc tree, today's linux-next build (powerpc
ppc44x_defconfig) failed like this:

arch/powerpc/kernel/built-in.o: In function `__ksymtab_clear_pages':
(___ksymtab+clear_pages+0x0): undefined reference to `clear_pages'

Caused by commit

  9445aa1a3062 ("ppc: move exports to definitions")

I applied the following fix patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 15 Sep 2016 16:04:12 +1000
Subject: [PATCH] ppc: there is no clear_pages to export

Fixes: 9445aa1a3062 ("ppc: move exports to definitions")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/powerpc/kernel/misc_32.S | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/powerpc/kernel/misc_32.S b/arch/powerpc/kernel/misc_32.S
index ea26a9181586..f5156105c5f3 100644
--- a/arch/powerpc/kernel/misc_32.S
+++ b/arch/powerpc/kernel/misc_32.S
@@ -453,7 +453,6 @@ END_FTR_SECTION_IFSET(CPU_FTR_COHERENT_ICACHE)
 	stw	r7,8(r3);	\
 	stw	r8,12(r3);	\
 	stwu	r9,16(r3)
-EXPORT_SYMBOL(clear_pages)
 
 _GLOBAL(copy_page)
 	addi	r3,r3,-4
-- 
2.8.1

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply related	[flat|nested] 10+ messages in thread
[parent not found: <20110420082514.a9ec4d68.sfr@canb.auug.org.au>]

end of thread, other threads:[~2026-03-16 17:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-16 14:18 linux-next: build failure after merge of the kbuild tree Mark Brown
2026-03-16 16:02 ` Nicolas Schier
2026-03-16 16:16   ` Yonghong Song
2026-03-16 17:42   ` Mark Brown
2026-03-16 17:56     ` Nicolas Schier
  -- strict thread matches above, loose matches on Subject: below --
2025-08-18  4:01 Stephen Rothwell
2025-08-18  4:27 ` Nathan Chancellor
2016-09-15  6:08 Stephen Rothwell
2016-09-22 12:52 ` Michal Marek
     [not found] <20110420082514.a9ec4d68.sfr@canb.auug.org.au>
2011-04-20 13:50 ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox