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

Andrew Morton <[email protected]> Sat, 23 May 2026 09:54:27 -0700
Newsgroups org.kernel.vger.sparclinux
Message-ID <[email protected]>
On Sat, 23 May 2026 09:49:13 +0200 John Paul Adrian Glaubitz <[email protected]> wrote:

> 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.

OK.  I tried bare 7.1-rc4, the warning is there.  gcc-15.2.0.