← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 1828570] Re: Unable to build ubuntu_bpf test on B-hwe PowerPC/s390x

 

** Tags added: kernel-daily-bug

-- 
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/1828570

Title:
  Unable to build ubuntu_bpf test on B-hwe PowerPC/s390x

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux-hwe package in Ubuntu:
  Fix Released
Status in linux-hwe source package in Bionic:
  Fix Released

Bug description:
  The ubuntu_bpf test could be built on Bionic, but not B-hwe-edge, it will fail with:
    BPF API too old

  Complete build log:
  (clone the kernel tree first)
  $ cd linux/tools/testing/selftests/bpf
  $ sudo make
  readelf: Error: Missing knowledge of 32-bit reloc types used in DWARF sections of machine number 247
  readelf: Warning: unable to apply unsupported reloc type 10 to section .debug_info
  readelf: Warning: unable to apply unsupported reloc type 1 to section .debug_info
  readelf: Warning: unable to apply unsupported reloc type 10 to section .debug_info
  gcc -o /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/urandom_read -static urandom_read.c -Wl,--build-id
  make -C ../../../lib/bpf OUTPUT=/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/
  make[1]: Entering directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'

  Auto-detecting system features:
  ...                        libelf: [ on  ]
  ...                           bpf: [ OFF ]

  BPF API too old
  Makefile:245: recipe for target 'bpfdep' failed
  make[1]: *** [bpfdep] Error 1
  make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/lib/bpf'
  Makefile:94: recipe for target '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a' failed
  make: *** [/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/libbpf.a] Error 2

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-5.0.0-14-generic 5.0.0-14.15~18.04.1+signed1
  ProcVersionSignature: Ubuntu 5.0.0-14.15~18.04.1-generic 5.0.6
  Uname: Linux 5.0.0-14-generic ppc64le
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: ppc64el
  Date: Fri May 10 13:07:19 2019
  ProcLoadAvg: 0.20 0.14 0.05 1/1274 5985
  ProcLocks:
   1: POSIX  ADVISORY  WRITE 1825 00:17:377 0 EOF
   2: POSIX  ADVISORY  WRITE 3882 00:17:394 0 EOF
   3: FLOCK  ADVISORY  WRITE 3429 00:17:507 0 EOF
   4: POSIX  ADVISORY  WRITE 3875 00:17:584 0 EOF
   5: FLOCK  ADVISORY  WRITE 4037 00:17:602 0 EOF
  ProcSwaps:
   Filename				Type		Size	Used	Priority
   /swap.img                               file		8388544	0	-2
  ProcVersion: Linux version 5.0.0-14-generic (buildd@bos02-ppc64el-014) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #15~18.04.1-Ubuntu SMP Thu Apr 25 18:55:27 UTC 2019
  SourcePackage: linux-signed-hwe-edge
  UpgradeStatus: No upgrade log present (probably fresh install)
  VarLogDump_list: total 0
  cpu_cores: Number of cores present = 40
  cpu_coreson: Number of cores online = 39
  cpu_dscr: DSCR is 16
  cpu_freq:
   min:	2.862 GHz (cpu 79)
   max:	2.946 GHz (cpu 81)
   avg:	2.903 GHz
  cpu_runmode:
   Could not retrieve current diagnostics mode,
   No kernel interface to firmware
  cpu_smt: SMT=4

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