Re: [patch 1/1] sparc: add _mcount() prototype

John Paul Adrian Glaubitz <[email protected]> Sat, 23 May 2026 09:49:13 +0200
Newsgroups org.kernel.vger.sparclinux
Message-ID <d754f87694da033d9d80581c9a60df891e3c763d.camel@physik.fu-berlin.de>
Hi Andrew,

On Fri, 2026-05-22 at 21:25 -0700, Andrew Morton wrote:
> From: Andrew Morton <[email protected]>
> Subject: sparc: add _mcount() prototype
> Date: Fri May 22 09:20:26 PM PDT 2026
> 
> sparc64 defconfig told me
> 
> WARNING: modpost: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned.
> Is "_mcount" prototyped in <asm/asm-prototypes.h>?

I think that must be a regression as I haven't seen this before. I should
pull and build a current kernel, my last build was around v7.1-rc1.

> so I added it.
> 
> BTW, altering arch/sparc/include/asm/asm-prototypes.h then running `make'
> doesn't compile anything, so there's a missing dependency somewhere?

Thanks for catching this. I will have a look here as well.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913