* [next] clang: drivers/gpu/drm/i915/gt/intel_region_lmem.c:94:23: error: result of comparison of constant 4294967296 with expression of type 'resource_size_t' (aka 'unsigned int') is always false [-Werror,-Wtautological-constant-out-of-range-compare]
@ 2022-07-26 6:58 Naresh Kamboju
2022-07-26 8:18 ` Das, Nirmoy
0 siblings, 1 reply; 2+ messages in thread
From: Naresh Kamboju @ 2022-07-26 6:58 UTC (permalink / raw)
To: Linux-Next Mailing List, open list, regressions, lkft-triage,
clang-built-linux
Cc: Nirmoy Das, Matthew Auld, Stephen Rothwell, Nathan Chancellor
The Linux next-20220725 i386 clang builds failed due this build error,
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Regressions found on i386:
- build-clang-11-defconfig
- build-clang-14-lkftconfig
- build-clang-13-defconfig
- build-clang-12-defconfig
- build-clang-13-lkftconfig
- build-clang-12-lkftconfig
- build-clang-14-defconfig
Steps to reproduce:
-------------------
tuxmake --runtime podman \
--target-arch i386 \
--toolchain clang-14 \
--kconfig
https://builds.tuxbuild.com/2CQwgxqR0lJKwPMl2LxaDTNwsq0/config \
LLVM=1 \
LLVM_IAS=1
Build error log:
-----------------
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/build LLVM=1 LLVM_IAS=1
ARCH=i386 CROSS_COMPILE=i686-linux-gnu- 'HOSTCC=sccache clang'
'CC=sccache clang'
drivers/gpu/drm/i915/gt/intel_region_lmem.c:94:23: error: result of
comparison of constant 4294967296 with expression of type
'resource_size_t' (aka 'unsigned int') is always false
[-Werror,-Wtautological-constant-out-of-range-compare]
root_res->start > 0x100000000ull)
~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
1 error generated.
make[5]: *** [scripts/Makefile.build:250:
drivers/gpu/drm/i915/gt/intel_region_lmem.o] Error 1
make[5]: Target '__build' not remade because of errors.
Build link:
https://builds.tuxbuild.com/2CQwgxqR0lJKwPMl2LxaDTNwsq0/
--
Linaro LKFT
https://lkft.linaro.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [next] clang: drivers/gpu/drm/i915/gt/intel_region_lmem.c:94:23: error: result of comparison of constant 4294967296 with expression of type 'resource_size_t' (aka 'unsigned int') is always false [-Werror,-Wtautological-constant-out-of-range-compare]
2022-07-26 6:58 [next] clang: drivers/gpu/drm/i915/gt/intel_region_lmem.c:94:23: error: result of comparison of constant 4294967296 with expression of type 'resource_size_t' (aka 'unsigned int') is always false [-Werror,-Wtautological-constant-out-of-range-compare] Naresh Kamboju
@ 2022-07-26 8:18 ` Das, Nirmoy
0 siblings, 0 replies; 2+ messages in thread
From: Das, Nirmoy @ 2022-07-26 8:18 UTC (permalink / raw)
To: Naresh Kamboju, Linux-Next Mailing List, open list, regressions,
lkft-triage, clang-built-linux
Cc: Matthew Auld, Stephen Rothwell, Nathan Chancellor
Hi Naresh,
Thanks for your email. This is a oversight from me. I will send a patch
to disable pci resize on 32bit machine.
Thanks,
Nirmoy
On 7/26/2022 8:58 AM, Naresh Kamboju wrote:
> The Linux next-20220725 i386 clang builds failed due this build error,
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>
> Regressions found on i386:
>
> - build-clang-11-defconfig
> - build-clang-14-lkftconfig
> - build-clang-13-defconfig
> - build-clang-12-defconfig
> - build-clang-13-lkftconfig
> - build-clang-12-lkftconfig
> - build-clang-14-defconfig
>
> Steps to reproduce:
> -------------------
> tuxmake --runtime podman \
> --target-arch i386 \
> --toolchain clang-14 \
> --kconfig
> https://builds.tuxbuild.com/2CQwgxqR0lJKwPMl2LxaDTNwsq0/config \
> LLVM=1 \
> LLVM_IAS=1
>
> Build error log:
> -----------------
> make --silent --keep-going --jobs=8
> O=/home/tuxbuild/.cache/tuxmake/builds/1/build LLVM=1 LLVM_IAS=1
> ARCH=i386 CROSS_COMPILE=i686-linux-gnu- 'HOSTCC=sccache clang'
> 'CC=sccache clang'
> drivers/gpu/drm/i915/gt/intel_region_lmem.c:94:23: error: result of
> comparison of constant 4294967296 with expression of type
> 'resource_size_t' (aka 'unsigned int') is always false
> [-Werror,-Wtautological-constant-out-of-range-compare]
> root_res->start > 0x100000000ull)
> ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
> 1 error generated.
> make[5]: *** [scripts/Makefile.build:250:
> drivers/gpu/drm/i915/gt/intel_region_lmem.o] Error 1
> make[5]: Target '__build' not remade because of errors.
>
>
> Build link:
> https://builds.tuxbuild.com/2CQwgxqR0lJKwPMl2LxaDTNwsq0/
>
>
> --
> Linaro LKFT
> https://lkft.linaro.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-26 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26 6:58 [next] clang: drivers/gpu/drm/i915/gt/intel_region_lmem.c:94:23: error: result of comparison of constant 4294967296 with expression of type 'resource_size_t' (aka 'unsigned int') is always false [-Werror,-Wtautological-constant-out-of-range-compare] Naresh Kamboju
2022-07-26 8:18 ` Das, Nirmoy
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).