← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2073083] [NEW] ubuntu_bpf failed to build with J-hwe-6.8 (error: loop not unrolled)

 

Public bug reported:

Issue found with J-hwe-6.8.0-38.38~22.04.1

Test build failed with:
  CLNG-BPF [test_maps] preempted_bpf_ma_op.bpf.o
  CLNG-BPF [test_maps] profiler1.bpf.o
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h'
In file included from progs/profiler1.c:5:
progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
        for (int i = 0; i < MAX_CGROUPS_PATH_DEPTH; i++) {
        ^
progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
progs/profiler.inc.h:634:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
        for (int i = 0; i < ARRAY_SIZE(arr_struct->array); i++) {
        ^
progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
        for (int i = 0; i < MAX_CGROUPS_PATH_DEPTH; i++) {
        ^
progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
progs/profiler.inc.h:487:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
        for (int i = 0; i < MAX_PATH_DEPTH; i++) {
        ^
progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
        for (int i = 0; i < MAX_CGROUPS_PATH_DEPTH; i++) {
        ^
progs/profiler.inc.h:487:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
        for (int i = 0; i < MAX_PATH_DEPTH; i++) {
        ^
progs/profiler.inc.h:487:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
        for (int i = 0; i < MAX_CGROUPS_PATH_DEPTH; i++) {
        ^
progs/profiler.inc.h:487:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
        for (int i = 0; i < MAX_PATH_DEPTH; i++) {
        ^
13 errors generated.
make[1]: *** [Makefile:620: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/profiler1.bpf.o] Error 1
make: *** [Makefile:180: all] Error 2

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New


** Tags: 6.8 jammy sru-20240610 ubuntu-bpf

** Summary changed:

- ubuntu_bpf failed to build with J-hwe-6.8 (error: loop not unrolled:)
+ ubuntu_bpf failed to build with J-hwe-6.8 (error: loop not unrolled)

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2073083

Title:
  ubuntu_bpf failed to build with J-hwe-6.8 (error: loop not unrolled)

Status in ubuntu-kernel-tests:
  New

Bug description:
  Issue found with J-hwe-6.8.0-38.38~22.04.1

  Test build failed with:
    CLNG-BPF [test_maps] preempted_bpf_ma_op.bpf.o
    CLNG-BPF [test_maps] profiler1.bpf.o
  make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
  make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
  stderr:
  Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'
  Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h'
  In file included from progs/profiler1.c:5:
  progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
          for (int i = 0; i < MAX_CGROUPS_PATH_DEPTH; i++) {
          ^
  progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
  progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
  progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
  progs/profiler.inc.h:634:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
          for (int i = 0; i < ARRAY_SIZE(arr_struct->array); i++) {
          ^
  progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
          for (int i = 0; i < MAX_CGROUPS_PATH_DEPTH; i++) {
          ^
  progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
  progs/profiler.inc.h:487:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
          for (int i = 0; i < MAX_PATH_DEPTH; i++) {
          ^
  progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
          for (int i = 0; i < MAX_CGROUPS_PATH_DEPTH; i++) {
          ^
  progs/profiler.inc.h:487:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
          for (int i = 0; i < MAX_PATH_DEPTH; i++) {
          ^
  progs/profiler.inc.h:487:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
  progs/profiler.inc.h:217:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
          for (int i = 0; i < MAX_CGROUPS_PATH_DEPTH; i++) {
          ^
  progs/profiler.inc.h:487:2: error: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering [-Werror,-Wpass-failed=transform-warning]
          for (int i = 0; i < MAX_PATH_DEPTH; i++) {
          ^
  13 errors generated.
  make[1]: *** [Makefile:620: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/profiler1.bpf.o] Error 1
  make: *** [Makefile:180: all] Error 2

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