linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sh4: parisc: asm/cmpxchg.h:60:24: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration]
@ 2024-04-03  7:53 Naresh Kamboju
  2024-04-03 20:52 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: Naresh Kamboju @ 2024-04-03  7:53 UTC (permalink / raw)
  To: open list, Linux Regressions, lkft-triage, linux-parisc, Linux-sh list
  Cc: Paul E. McKenney, Mel Gorman, Andrew Morton, Rik van Riel,
	Matthew Wilcox (Oracle),
	Arnd Bergmann, Dan Carpenter, Anders Roxell

The parisc and sh defconfig builds failed due to following build warnings
and errors on Linux next-20240402.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

parisc:
  build:
    * gcc-11-tinyconfig - Failed
    * gcc-11-allnoconfig - Failed
    * gcc-11-defconfig - Failed

sh:
  build:
    * gcc-11-defconfig - Failed
    * gcc-11-dreamcast_defconfig - Failed
    * gcc-11-tinyconfig - Failed
    * gcc-11-shx3_defconfig - Failed
    * gcc-11-allnoconfig - Failed

In file included from arch/sh/include/asm/atomic.h:19,
                 from include/linux/atomic.h:7,
                 from include/asm-generic/bitops/lock.h:5,
                 from arch/sh/include/asm/bitops.h:63,
                 from include/linux/bitops.h:70,
                 from include/linux/log2.h:12,
                 from kernel/bounds.c:13:
arch/sh/include/asm/cmpxchg.h: In function '__cmpxchg':
arch/sh/include/asm/cmpxchg.h:60:24: error: implicit declaration of
function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration]
   60 |                 return cmpxchg_emu_u8((volatile u8 *)ptr, old, new);
      |                        ^~~~~~~~~~~~~~
arch/sh/include/asm/cmpxchg.h:62:24: error: implicit declaration of
function 'cmpxchg_emu_u16' [-Werror=implicit-function-declaration]
   62 |                 return cmpxchg_emu_u16((volatile u16 *)ptr, old, new);
      |                        ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

Steps to reproduce:
------
# tuxmake --runtime podman --target-arch sh --toolchain gcc-11
--kconfig defconfig

Links:
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240402/testrun/23264271/suite/build/test/gcc-11-defconfig/details/
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240402/testrun/23264273/suite/build/test/gcc-11-defconfig/details/

--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sh4: parisc: asm/cmpxchg.h:60:24: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration]
  2024-04-03  7:53 sh4: parisc: asm/cmpxchg.h:60:24: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration] Naresh Kamboju
@ 2024-04-03 20:52 ` Andrew Morton
  2024-04-03 21:02   ` Paul E. McKenney
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2024-04-03 20:52 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list, Linux Regressions, lkft-triage, linux-parisc,
	Linux-sh list, Paul E. McKenney, Mel Gorman, Rik van Riel,
	Matthew Wilcox (Oracle),
	Arnd Bergmann, Dan Carpenter, Anders Roxell

On Wed, 3 Apr 2024 13:23:23 +0530 Naresh Kamboju <naresh.kamboju@linaro.org> wrote:

> The parisc and sh defconfig builds failed due to following build warnings
> and errors on Linux next-20240402.
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> parisc:
>   build:
>     * gcc-11-tinyconfig - Failed
>     * gcc-11-allnoconfig - Failed
>     * gcc-11-defconfig - Failed
> 
> sh:
>   build:
>     * gcc-11-defconfig - Failed
>     * gcc-11-dreamcast_defconfig - Failed
>     * gcc-11-tinyconfig - Failed
>     * gcc-11-shx3_defconfig - Failed
>     * gcc-11-allnoconfig - Failed

Is this a new failure?  If so, can we please identify a suitable Fixes: target?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: sh4: parisc: asm/cmpxchg.h:60:24: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration]
  2024-04-03 20:52 ` Andrew Morton
@ 2024-04-03 21:02   ` Paul E. McKenney
  0 siblings, 0 replies; 3+ messages in thread
From: Paul E. McKenney @ 2024-04-03 21:02 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Naresh Kamboju, open list, Linux Regressions, lkft-triage,
	linux-parisc, Linux-sh list, Mel Gorman, Rik van Riel,
	Matthew Wilcox (Oracle),
	Arnd Bergmann, Dan Carpenter, Anders Roxell

On Wed, Apr 03, 2024 at 01:52:05PM -0700, Andrew Morton wrote:
> On Wed, 3 Apr 2024 13:23:23 +0530 Naresh Kamboju <naresh.kamboju@linaro.org> wrote:
> 
> > The parisc and sh defconfig builds failed due to following build warnings
> > and errors on Linux next-20240402.
> > 
> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> > 
> > parisc:
> >   build:
> >     * gcc-11-tinyconfig - Failed
> >     * gcc-11-allnoconfig - Failed
> >     * gcc-11-defconfig - Failed
> > 
> > sh:
> >   build:
> >     * gcc-11-defconfig - Failed
> >     * gcc-11-dreamcast_defconfig - Failed
> >     * gcc-11-tinyconfig - Failed
> >     * gcc-11-shx3_defconfig - Failed
> >     * gcc-11-allnoconfig - Failed
> 
> Is this a new failure?  If so, can we please identify a suitable Fixes: target?

This one is already fixed, but I am pulling the offending commits out
of -next for a few days in order to fix some additional casting issues
identified by kernel test robot.

Apologies for the hassle!

							Thanx, Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-03 21:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-03  7:53 sh4: parisc: asm/cmpxchg.h:60:24: error: implicit declaration of function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration] Naresh Kamboju
2024-04-03 20:52 ` Andrew Morton
2024-04-03 21:02   ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).