[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYvJ7=rahqJ9g35=XzEvAq9+zAiq8PNhBE-ceb2EED2gnA@mail.gmail.com>
Date: Thu, 18 Apr 2024 15:07:57 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: open list <linux-kernel@...r.kernel.org>,
"open list:KERNEL SELFTEST FRAMEWORK" <linux-kselftest@...r.kernel.org>, lkft-triage@...ts.linaro.org,
Linux Regressions <regressions@...ts.linux.dev>
Cc: Fenghua Yu <fenghua.yu@...el.com>, Reinette Chatre <reinette.chatre@...el.com>,
Shuah Khan <shuah@...nel.org>, Anders Roxell <anders.roxell@...aro.org>,
Arnd Bergmann <arnd@...db.de>, Dan Carpenter <dan.carpenter@...aro.org>
Subject: selftests: resctrl: cat_test.c: In function 'noncont_cat_run_test':
../kselftest.h:74:9: error: impossible constraint in 'asm' 74 | __asm__
__volatile__ ("cpuid\n\t"
The Linux next building selftests with gcc-13 found these build warnings
and errors.
Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
Build log:
---------
Path:
selftests/resctrl/resctrl_tests/
In file included from resctrl.h:24,
from cat_test.c:11:
cat_test.c: In function 'noncont_cat_run_test':
./kselftest.h:74:9: error: impossible constraint in 'asm'
74 | __asm__ __volatile__ ("cpuid\n\t"
\
| ^~~~~~~
cat_test.c:308:17: note: in expansion of macro '__cpuid_count'
308 | __cpuid_count(0x10, 1, eax, ebx, ecx, edx);
| ^~~~~~~~~~~~~
./kselftest.h:74:9: error: impossible constraint in 'asm'
74 | __asm__ __volatile__ ("cpuid\n\t"
\
| ^~~~~~~
cat_test.c:310:17: note: in expansion of macro '__cpuid_count'
310 | __cpuid_count(0x10, 2, eax, ebx, ecx, edx);
| ^~~~~~~~~~~~~
Steps to reproduce:
---
tuxmake --runtime podman --target-arch arm64 --toolchain gcc-13 \
--kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2fDW3wG8BqWxf0afUI5f4wkArPi/config
\
debugkernel dtbs dtbs-legacy headers kernel kselftest modules
Links:
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2fDW3wG8BqWxf0afUI5f4wkArPi/
--
Linaro LKFT
https://lkft.linaro.org
Powered by blists - more mailing lists