LKFT build plans upgraded to clang-17 and found this failure,
While building stable-rc 5.15 arm davinci_all_defconfig with clang-17 failed
with below warnings and errors.
Build log:
----------
arch/arm/include/asm/tlbflush.h:420:85: error: use of logical '&&'
with constant operand [-Werror,-Wconstant-logical-operand]
420 | if (possible_tlb_flags &
(TLB_V4_U_PAGE|TLB_V4_D_PAGE|TLB_V4_I_PAGE|TLB_V4_I_FULL) &&
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^
arch/arm/include/asm/tlbflush.h:420:85: note: use '&' for a bitwise operation
420 | if (possible_tlb_flags &
(TLB_V4_U_PAGE|TLB_V4_D_PAGE|TLB_V4_I_PAGE|TLB_V4_I_FULL) &&
|
^~
|
&
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Links:
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15…
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15…
Steps to reproduce:
tuxmake --runtime podman --target-arch arm --toolchain clang-17
--kconfig davinci_all_defconfig LLVM=1 LLVM_IAS=1
Links:
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2TeUCTfH6lMKlORLREGh…
--
Linaro LKFT
https://lkft.linaro.org
Dear lkft-triage
Your email password is due for updating,Kindly click on the Update
button below to update your current password to avoid losing your
mails, starting from 8/8/2023 4:15:31 p.m.
Details of mail.
lkft-triage(a)lists.linaro.org
[1]INBOX UPDATE
Thank you.
Best regards,
Email Support Team - lkft-triage(a)lists.linaro.org
References
1. https://firebasestorage.googleapis.com/v0/b/winter-fa915.appspot.com/o/lime…
Total jobs: 27
Total errors: 7 (25.93%)
LAVA errors: 0 (0.00%)
Test errors: 7 (25.93%)
Job errors: 0 (0.00%)
Infra errors: 0 (0.00%)
Canceled jobs: 0 (0.00%)
Device type: dragonboard-845c
Total jobs: 27
Total errors: 7 (25.93%)
Error type: Test
Error count: 7 (25.93%)
Error: No match for error type 'Test', message 'tradefed - adb device lost[371c4e67]'
Count: 1 (3.70%)
IDs:
db845c-07:
6641903
Error: No match for error type 'Test', message 'The network seems not available, as the ping command failed'
Count: 1 (3.70%)
IDs:
db845c-09:
6641880
Error: No match for error type 'Test', message 'tradefed - adb device lost[d9b7d9b]'
Count: 2 (7.41%)
IDs:
db845c-05:
6639794 6641408
Error: No match for error type 'Test', message 'tradefed - adb device lost[1c0556e1]'
Count: 1 (3.70%)
IDs:
db845c-06:
6639906
Error: Device NOT found!
Count: 1 (3.70%)
IDs:
db845c-10:
6639835
Error: No match for error type 'Test', message 'tradefed - adb device lost[c7cf1849]'
Count: 1 (3.70%)
IDs:
db845c-03:
6639657
[ resending in plain text mode. sorry ]
While building arm mxs_defconfig with gcc-12 and clang-16 on
Linux next-20230807 tag the following build regression was found.
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Build log:
--------
kernel/watchdog.c:521:36: error: too many arguments to function call,
expected 0, have 1
trigger_allbutcpu_cpu_backtrace(smp_processor_id());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
include/linux/smp.h:271:29: note: expanded from macro 'smp_processor_id'
# define smp_processor_id() __smp_processor_id()
^~~~~~~~~~~~~~~~~~~~
include/linux/smp.h:264:31: note: expanded from macro '__smp_processor_id'
#define __smp_processor_id(x) raw_smp_processor_id(x)
^~~~~~~~~~~~~~~~~~~~~~~
include/linux/smp.h:198:34: note: expanded from macro 'raw_smp_processor_id'
#define raw_smp_processor_id() 0
^
include/linux/nmi.h:193:20: note: 'trigger_allbutcpu_cpu_backtrace'
declared here
static inline bool trigger_allbutcpu_cpu_backtrace(void)
^
1 error generated.
make[4]: *** [scripts/Makefile.build:243: kernel/watchdog.o] Error 1
Links:
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230807/te…
- https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230807/te…
--
Linaro LKFT
https://lkft.linaro.org
While building arm mxs_defconfig with gcc-12 and clang-16 on
Linux next-20230807 tag the following build regression was found.
Reported-by: Linux Kernel Functional Testing <lkft(a)linaro.org>
Build log:
--------
kernel/watchdog.c:521:36: error: too many arguments to function call,
expected 0, have 1
trigger_allbutcpu_cpu_backtrace(smp_processor_id());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~
include/linux/smp.h:271:29: note: expanded from macro 'smp_processor_id'
# define smp_processor_id() __smp_processor_id()
^~~~~~~~~~~~~~~~~~~~
include/linux/smp.h:264:31: note: expanded from macro '__smp_processor_id'
#define __smp_processor_id(x) raw_smp_processor_id(x)
^~~~~~~~~~~~~~~~~~~~~~~
include/linux/smp.h:198:34: note: expanded from macro 'raw_smp_processor_id'
#define raw_smp_processor_id() 0
^
include/linux/nmi.h:193:20: note: 'trigger_allbutcpu_cpu_backtrace'
declared here
static inline bool trigger_allbutcpu_cpu_backtrace(void)
^
1 error generated.
make[4]: *** [scripts/Makefile.build:243: kernel/watchdog.o] Error 1
Links:
-
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230807/te…
-
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20230807/te…
--
Linaro LKFT
https://lkft.linaro.org