lkml.org 
[lkml]   [2021]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjects390: facility.h:98:22: error: implicit declaration of function 'min_t' [-Werror=implicit-function-declaration]
Regression found on s390 gcc-11 built with defconfig
Following build warnings / errors reported on linux next 20211028.

metadata:
git_describe: next-20211028
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_short_log: 503f375baa99 (\"Add linux-next specific files for 20211028\")
target_arch: s390
toolchain: gcc-11

build error :
--------------
<stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp]
In file included from arch/s390/pci/pci_insn.c:12:
arch/s390/include/asm/facility.h: In function '__stfle':
arch/s390/include/asm/facility.h:98:22: error: implicit declaration of
function 'min_t' [-Werror=implicit-function-declaration]
98 | nr = min_t(unsigned long, (nr + 1) * 8, size * 8);
| ^~~~~
arch/s390/include/asm/facility.h:98:28: error: expected expression
before 'unsigned'
98 | nr = min_t(unsigned long, (nr + 1) * 8, size * 8);
| ^~~~~~~~
cc1: some warnings being treated as errors


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

build link:
-----------
https://builds.tuxbuild.com/208R0Wv3siu0646e0z4lUYcUQD3/build.log

build config:
-------------
https://builds.tuxbuild.com/208R0Wv3siu0646e0z4lUYcUQD3/config

# To install tuxmake on your system globally
# sudo pip3 install -U tuxmake
tuxmake --runtime podman --target-arch s390 --toolchain gcc-11
--kconfig defconfig

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

\
 
 \ /
  Last update: 2021-10-28 16:13    [W:0.039 / U:0.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site