Failed to build upstream bpf test on Artful ARM64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Won't Fix
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Steps:
1. git clone --depth=1 https:/
2. sudo apt-get install clang llvm libcap-dev libelf-dev build-essential
3. Change the Makefile in linux/tools/
4. make
Result:
* It complains about missing headers, like the 'bits/libc-
$ find /usr -name libc-header-start.h
/usr/include/
$ dpkg -S libc-header-start.h
libc6-dev:arm64: /usr/include/
$ make
make[1]: Entering directory '/home/
make -C ../../../lib/bpf OUTPUT=
make[2]: Entering directory '/home/
make[2]: Leaving directory '/home/
make -C ../../../lib/bpf OUTPUT=
make[2]: Entering directory '/home/
make[2]: Leaving directory '/home/
gcc -Wall -O2 -I../..
gcc -Wall -O2 -I../..
gcc -Wall -O2 -I../..
gcc -Wall -O2 -I../..
gcc -Wall -O2 -I../..
gcc -Wall -O2 -I../..
gcc -Wall -O2 -I../..
gcc -Wall -O2 -I../..
gcc -Wall -O2 -I../..
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
/usr/include/
#include <bits/libc-
1 error generated.
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
/usr/include/
#include <bits/libc-
1 error generated.
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
/usr/include/
#include <bits/libc-
1 error generated.
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
/usr/include/
#include <bits/libc-
1 error generated.
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
In file included from ../../.
In file included from ./include/
/usr/include/
#include <asm/bitsperlong.h>
1 error generated.
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
/usr/include/
#include <bits/libc-
1 error generated.
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
In file included from ../../.
In file included from ./include/
/usr/include/
#include <asm/bitsperlong.h>
1 error generated.
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
In file included from ../../.
In file included from ./include/
/usr/include/
#include <asm/bitsperlong.h>
1 error generated.
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
In file included from ../../.
In file included from ./include/
/usr/include/
#include <asm/bitsperlong.h>
1 error generated.
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
In file included from ../../.
In file included from ./include/
/usr/include/
#include <asm/bitsperlong.h>
1 error generated.
clang -I. -I./include/uapi -I../..
-Wno-
-O2 -target bpf -emit-llvm -c /home/ubuntu/
llc -march=bpf -mcpu=generic -filetype=obj -o /home/ubuntu/
In file included from /home/ubuntu/
In file included from ../../.
In file included from ./include/
/usr/include/
#include <asm/bitsperlong.h>
1 error generated.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.13.0-19-generic aarch64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Dec 19 06:59 seq
crw-rw---- 1 root audio 116, 33 Dec 19 06:59 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.7-0ubuntu3.6
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Tue Dec 19 07:24:25 2017
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: Cavium ThunderX CRB
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB:
0 EFI VGA
1 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.169.1
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/12/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.11
dmi.board.
dmi.board.name: To be filled by O.E.M.
dmi.board.vendor: To be filled by O.E.M.
dmi.board.version: To be filled by O.E.M.
dmi.chassis.
dmi.chassis.type: 0
dmi.chassis.vendor: Cavium
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: Default string
dmi.product.name: ThunderX CRB
dmi.product.
dmi.sys.vendor: Cavium
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: kernel-da-key |
summary: |
- Failed to build upstream bpf test on Artful ARM64 + Failed to build upstream bpf test on Artful ARM64/ppc64le |
summary: |
- Failed to build upstream bpf test on Artful ARM64/ppc64le + Failed to build upstream bpf test on Artful ARM64 |
This change was made by a bot.