test_maps failed in ubuntu_bpf and build error can be found on Bionic ARM64 /PPC64 / s390x

Bug #1779119 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Invalid
Undecided
Unassigned

Bug Description

Similar to bug 1775837, this issue can be found on Bionic ARM64 / PowerPC

The test cannot be build.
It complains about:
1894. In file included from /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_pkt_access.c:8:
1895. /usr/include/string.h:26:10: fatal error: 'bits/libc-header-start.h' file not found
1896. #include
1897. ^~~~~~~~~~~~~~~~~~~~~~~~~~
1898. 1 error generated.
1899. In file included from /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_xdp.c:8:
1900. /usr/include/string.h:26:10: fatal error: 'bits/libc-header-start.h' file not found
1901. #include
1902. ^~~~~~~~~~~~~~~~~~~~~~~~~~

1975. + echo 'Running test_maps bpf test..'
1976. + cd bpf
1977. + ./test_maps
1978. libbpf: ./sockmap_parse_prog.o doesn't provide kernel version

So it looks like that the bug 1775837 has been solved, now this issue kicks in.

Tags: bionic s390x
Po-Hsu Lin (cypressyew)
tags: added: bionic
Po-Hsu Lin (cypressyew)
summary: - test_maps in ubuntu_bpf failed on Bionic (libbpf: ./sockmap_parse_prog.o
- doesn't provide kernel version)
+ test_maps in ubuntu_bpf failed to build on Bionic ARM64
description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
summary: - test_maps in ubuntu_bpf failed to build on Bionic ARM64
+ test_maps failed in ubuntu_bpf and build error can be found on Bionic
+ ARM64 /PPC64 / s390x
tags: added: s390x
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This should be split into two different issues.

Changed in ubuntu-kernel-tests:
status: New → Invalid
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.