[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYvUwyf-5yB=xZVAPXrF3C9z==7bbhDYBnX9jdJ1PxzPnQ@mail.gmail.com>
Date: Wed, 3 Apr 2024 13:23:23 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: open list <linux-kernel@...r.kernel.org>,
Linux Regressions <regressions@...ts.linux.dev>, lkft-triage@...ts.linaro.org,
linux-parisc <linux-parisc@...r.kernel.org>, Linux-sh list <linux-sh@...r.kernel.org>
Cc: "Paul E. McKenney" <paulmck@...nel.org>, Mel Gorman <mgorman@...hsingularity.net>,
Andrew Morton <akpm@...ux-foundation.org>, Rik van Riel <riel@...riel.com>,
"Matthew Wilcox (Oracle)" <willy@...radead.org>, Arnd Bergmann <arnd@...db.de>,
Dan Carpenter <dan.carpenter@...aro.org>, Anders Roxell <anders.roxell@...aro.org>
Subject: sh4: parisc: asm/cmpxchg.h:60:24: error: implicit declaration of
function 'cmpxchg_emu_u8' [-Werror=implicit-function-declaration]
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@...aro.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
Powered by blists - more mailing lists