Public bug reported:
Test build on B-5.4 (5.4.0-1054.58~18.04.1) failed with:
error: storage size of ‘md’ isn’t known
Build log:
* Command:
sudo make -C linux/tools/testing/selftests TARGETS=seccomp run_tests
Exit status: 2
Duration: 2.12612104416
stdout:
make: Entering directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
make --no-builtin-rules ARCH=x86 -C ../../.. headers_install
make[1]: Entering directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
INSTALL ./usr/include
make[1]: Leaving directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux'
make[1]: Entering directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
Makefile:12: recipe for target 'seccomp_bpf' failed
make[1]: Leaving directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/seccomp'
Makefile:143: recipe for target 'all' failed
make: Leaving directory
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
stderr:
seccomp_bpf.c: In function get_metadata’:
seccomp_bpf.c:3029:26: error: storage size of ‘md’ isn’t known
struct seccomp_metadata md;
^~
seccomp_bpf.c:3029:26: warning: unused variable unused variable ‘md’
[-Wunused-variable]
make[1]: *** [seccomp_bpf] Error 1
make: *** [all] Error 2
** Affects: linux (Ubuntu)
Importance: Undecided
Status: Incomplete
** Affects: linux-oracle-5.4 (Ubuntu)
Importance: Undecided
Status: New
** Affects: linux (Ubuntu Bionic)
Importance: Undecided
Status: Incomplete
** Affects: linux-oracle-5.4 (Ubuntu Bionic)
Importance: Undecided
Status: New
** Affects: linux (Ubuntu Focal)
Importance: Undecided
Status: Incomplete
** Affects: linux-oracle-5.4 (Ubuntu Focal)
Importance: Undecided
Status: New
** Tags: 5.4 bionic sru-20210816 ubuntu-kernel-selftests
** Also affects: linux (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: linux-oracle-5.4 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1942472
Title:
seccomp from ubuntu_kernel_selftests failed to build on B-5.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1942472/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs