ubuntu_bpf failed to build on 5.0 OEM-OSP1

Bug #1872431 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Won't Fix
Undecided
Unassigned
linux-oem-osp1 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Test build failed with:
  undefined reference to `RET_IF'

make: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
/bin/sh: 1: llvm-readelf: not found
/bin/sh: 1: llvm-readelf: not found
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_link.h' differs from latest version at 'include/uapi/linux/if_link.h'
test_select_reuseport.c: In function 'cleanup_per_test':
test_select_reuseport.c:619:3: warning: implicit declaration of function 'RET_IF' [-Wimplicit-function-declaration]
   RET_IF(err, "reset elem in result_map",
   ^~~~~~
/tmp/ccvA9FfO.o: In function `main':
test_select_reuseport.c:(.text.startup+0x8ad): undefined reference to `RET_IF'
test_select_reuseport.c:(.text.startup+0x8ed): undefined reference to `RET_IF'
collect2: error: ld returned 1 exit status
make[1]: *** [/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_select_reuseport] Error 1
make: *** [all] Error 2

Possible fix:
https://lists.ubuntu.com/archives/kernel-team/2020-April/108912.html

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: added: 5.0 bionic kqa-blocker sru-20200406 ubuntu-bpf
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

5.0 OEM EOL

Changed in ubuntu-kernel-tests:
status: New → Won't Fix
Changed in linux-oem-osp1 (Ubuntu):
status: New → Won't Fix
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.