← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 1882559] Re: ubuntu_bpf / net test in ubuntu_kernel_selftests failed to build on B-5.4 with "error: use of unknown builtin '__builtin_preserve_access_index'"

 

** Tags added: kernel-daily-bug

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/1882559

Title:
  ubuntu_bpf / net test in ubuntu_kernel_selftests failed to build on
  B-5.4  with "error: use of unknown builtin
  '__builtin_preserve_access_index'"

Status in ubuntu-kernel-tests:
  Fix Released
Status in linux-gcp-5.4 package in Ubuntu:
  Invalid

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1882559/+subscriptions