Issue found with K-5.19.0-28-generic on P9 node baltar
This should not be considered as a regression since ubuntu_kernel_selftests will be blocked by the net test crash before this powerpc tests can be started. This was found by manually running the test.
Test build failed with:
gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"unknown"' -I/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/include -m64 -no-pie cycles_with_mmcr2_test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S -o /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test
In file included from /usr/include/stdio.h:906, from cycles_with_mmcr2_test.c:6:
In function ‘printf’,
inlined from ‘cycles_with_mmcr2’ at cycles_with_mmcr2_test.c:81:3:
/usr/include/powerpc64le-linux-gnu/bits/stdio2.h:86:10: error: ‘actual’ may be used uninitialized [-Werror=maybe-uninitialized]
86 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cycles_with_mmcr2_test.c: In function ‘cycles_with_mmcr2’:
cycles_with_mmcr2_test.c:25:36: note: ‘actual’ was declared here
25 | uint64_t val, expected[2], actual;
| ^~~~~~
cc1: all warnings being treated as errors
make[3]: *** [../../../lib.mk:173: /home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/pmu/ebb/cycles_with_mmcr2_test] Error 1
Please find attachment for the complete build log.
Issue found with K-5.19.0-28-generic on P9 node baltar
This should not be considered as a regression since ubuntu_ kernel_ selftests will be blocked by the net test crash before this powerpc tests can be started. This was found by manually running the test.
Test build failed with: '"unknown" ' -I/home/ ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ powerpc/ include -m64 -no-pie cycles_ with_mmcr2_ test.c ../../harness.c ../../utils.c ../event.c ../lib.c ebb.c ebb_handler.S trace.c busy_loop.S -o /home/ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ powerpc/ pmu/ebb/ cycles_ with_mmcr2_ test stdio.h: 906,
from cycles_ with_mmcr2_ test.c: 6: with_mmcr2_ test.c: 81:3: powerpc64le- linux-gnu/ bits/stdio2. h:86:10: error: ‘actual’ may be used uninitialized [-Werror= maybe-uninitial ized] FORTIFY_ LEVEL - 1, __fmt, __va_arg_pack ()); ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ ~~~~~~~ with_mmcr2_ test.c: In function ‘cycles_ with_mmcr2’ : with_mmcr2_ test.c: 25:36: note: ‘actual’ was declared here ../lib. mk:173: /home/ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ powerpc/ pmu/ebb/ cycles_ with_mmcr2_ test] Error 1
gcc -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION=
In file included from /usr/include/
In function ‘printf’,
inlined from ‘cycles_with_mmcr2’ at cycles_
/usr/include/
86 | return __printf_chk (__USE_
| ^~~~~~~
cycles_
cycles_
25 | uint64_t val, expected[2], actual;
| ^~~~~~
cc1: all warnings being treated as errors
make[3]: *** [../../
Please find attachment for the complete build log.