No PowerPC for linux-nvidia-5.19/5.19.0-1009.9

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2000772

Title:
  powerpc-build in ubuntu_kernel_selftests failed on P9 with K-5.19

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Kinetic:
  Fix Released

Bug description:
  [Impact]
  When trying to build powerpc tests from ubuntu_kernel_selftests, it 
  will fail with:
      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

  [Fix]
  * ff446cd768 "selftests/powerpc: Avoid GCC 12 uninitialised variable warning"
  This patch can be cherry-picked into Kinetic kernel.

  [Test]
  Apply this patch to the kernel tree and build it with:
  sudo make -C linux/tools/testing/selftests TARGETS=powerpc

  With this error fixed, test compliation can finish without any issue.

  [Where problems could occur]
  Change for test case, no impact to acutal function.

  [Original Bug Report]
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2000772/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to