ubuntu_bpf failed to build on Impish 5.13 (Error: failed to link .../linux/tools/testing/selftests/bpf/bpf_cubic.o': Unknown error -22)

Bug #1954743 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Issue spotted on 5.13.0-22-generic and other cloud variants, it's not a regression.

Test build failed with:
    CLNG-BPF [test_maps] test_xdp_noinline.o
    CLNG-BPF [test_maps] test_xdp_redirect.o
    CLNG-BPF [test_maps] test_xdp_vlan.o
    CLNG-BPF [test_maps] test_xdp_with_cpumap_helpers.o
    CLNG-BPF [test_maps] test_xdp_with_devmap_helpers.o
    CLNG-BPF [test_maps] trace_printk.o
    CLNG-BPF [test_maps] trigger_bench.o
    CLNG-BPF [test_maps] udp_limit.o
    CLNG-BPF [test_maps] xdp_dummy.o
    CLNG-BPF [test_maps] xdp_redirect_map.o
    CLNG-BPF [test_maps] xdp_tx.o
    CLNG-BPF [test_maps] xdping_kern.o
    GEN-SKEL [test_progs] atomic_bounds.skel.h
    GEN-SKEL [test_progs] atomics.skel.h
    GEN-SKEL [test_progs] bind4_prog.skel.h
    GEN-SKEL [test_progs] bind6_prog.skel.h
    GEN-SKEL [test_progs] bind_perm.skel.h
    GEN-SKEL [test_progs] bpf_cubic.skel.h
  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/netlink.h' differs from latest version at 'include/uapi/linux/netlink.h'
  Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h'
  libbpf: elf: skipping unrecognized data section(6) .rodata.str1.1
  libbpf: elf: skipping unrecognized data section(6) .rodata.str1.1
  libbpf: ELF relo #0 in section #15 has unexpected type 2 in /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_cubic.o
  Error: failed to link '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_cubic.o': Unknown error -22 (-22)
  make[1]: *** [Makefile:456: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/bpf_cubic.skel.h] Error 234
  make: *** [Makefile:159: all] Error 2

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: linux-image-5.13.0-22-generic 5.13.0-22.22
ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19
Uname: Linux 5.13.0-22-generic x86_64
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Dec 14 05:33 seq
 crw-rw---- 1 root audio 116, 33 Dec 14 05:33 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CasperMD5CheckResult: unknown
CurrentDmesg:

Date: Tue Dec 14 06:41:46 2021
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: Dell Inc. PowerEdge R310
PciMultimedia:

ProcFB: 0 mgag200drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-22-generic root=UUID=ded56b2d-3057-4d58-a1e5-422853291ffd ro
RelatedPackageVersions:
 linux-restricted-modules-5.13.0-22-generic N/A
 linux-backports-modules-5.13.0-22-generic N/A
 linux-firmware 1.201.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/17/2011
dmi.bios.release: 1.8
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.8.2
dmi.board.name: 05XKKK
dmi.board.vendor: Dell Inc.
dmi.board.version: A05
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.8.2:bd08/17/2011:br1.8:svnDellInc.:pnPowerEdgeR310:pvr:rvnDellInc.:rn05XKKK:rvrA05:cvnDellInc.:ct23:cvr:sku:
dmi.product.name: PowerEdge R310
dmi.sys.vendor: Dell Inc.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: added: 5.13 ubuntu-bpf
Po-Hsu Lin (cypressyew)
tags: added: sru-20211129
summary: ubuntu_bpf failed to build on Impish (Error: failed to link
- .../linux/tools/testing/selftests/bpf/bpf_cubic.o': Unknown error -22
+ .../linux/tools/testing/selftests/bpf/bpf_cubic.o': Unknown error -22)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1954743

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Po-Hsu Lin (cypressyew)
summary: - ubuntu_bpf failed to build on Impish (Error: failed to link
+ ubuntu_bpf failed to build on Impish 5/13 (Error: failed to link
.../linux/tools/testing/selftests/bpf/bpf_cubic.o': Unknown error -22)
summary: - ubuntu_bpf failed to build on Impish 5/13 (Error: failed to link
+ ubuntu_bpf failed to build on Impish 5.13 (Error: failed to link
.../linux/tools/testing/selftests/bpf/bpf_cubic.o': Unknown error -22)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.