Public bug reported:
Issue found on 5.4.0-1011.11~18.04.1 GCP
The compilation failed with:
(clang -I. -I./include/uapi -I../../../include/uapi
-I/home/jenkins/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/../usr/include
-D__TARGET_ARCH_x86 -idirafter /usr/local/include -idirafter
/usr/lib/llvm-6.0/lib/clang/6.0.0/include -idirafter
/usr/include/x86_64-linux-gnu -idirafter /usr/include
-Wno-compare-distinct-pointer-types -O2 -target bpf -emit-llvm -c
progs/test_core_reloc_ints.c -o - || echo "clang failed") | \
llc -march=bpf -mcpu=probe -filetype=obj -o
/home/jenkins/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/test_core_reloc_ints.o
progs/test_core_reloc_ints.c:32:6: error: use of unknown builtin
'__builtin_preserve_access_index' [-Wimplicit-function-declaration]
Please find the attachment for the complete build log.
** Affects: ubuntu-kernel-tests
Importance: Undecided
Status: New
** Affects: linux-gcp-5.4 (Ubuntu)
Importance: Undecided
Status: New
** Tags: 5.4 bionic gcp kqa-blocker sru-20200518 ubuntu-kernel-selftests
** Attachment added: "build.log"
https://bugs.launchpad.net/bugs/1882559/+attachment/5381694/+files/build.log
** Summary changed:
- ubuntu_bpf failed to build on B-5.4 GCP
+ ubuntu_bpf failed to build on B-5.4 GCP with "error: use of unknown builtin
'__builtin_preserve_access_index'"
** Tags added: 5.4 bionic gcp kqa-blocker sru-20200518 ubuntu-kernel-
selftests
** Also affects: linux-gcp (Ubuntu)
Importance: Undecided
Status: New
** Package changed: linux-gcp (Ubuntu) => linux-gcp-5.4 (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1882559
Title:
ubuntu_bpf failed to build on B-5.4 GCP with "error: use of unknown
builtin '__builtin_preserve_access_index'"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1882559/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs