Comment 0 for bug 1896420

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Issue found on 5.4.0-48.52~18.04.1

Test build failed with:
 gcc -Wl,-no-as-needed -Wall seccomp_bpf.c -lpthread -o seccomp_bpf
 seccomp_bpf.c: In function ‘get_metadata’:
 seccomp_bpf.c:3028:26: error: storage size of ‘md’ isn’t known
 struct seccomp_metadata md;
 ^~
 seccomp_bpf.c:3028:26: warning: unused variable ‘md’ [-Wunused-variable]
 Makefile:12: recipe for target 'seccomp_bpf' failed