Skip to content

Make kernel-selftests/bpf error in debian bookworm/sid #56399

Open
@jie2xzhou

Description

@jie2xzhou

llvm-project commit 142aca7

$ cd linux/tools/testing/selftests/bpf
$ make -C bpf
fatal error: error in backend: Branch target out of insn range
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: clang -g -D__TARGET_ARCH_x86 -mlittle-endian -I/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f443e374ae131c168a065ea1748feac6b2e76613/tools/testing/selftests/bpf/tools/include -I/usr/src/perf_selftests-x86_
64-rhel-8.3-kselftests-f443e374ae131c168a065ea1748feac6b2e76613/tools/testing/selftests/bpf -I/usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f443e374ae131c168a065ea1748feac6b2e76613/tools/include/uapi -I/usr/src/perf_selftests-x86_64-
rhel-8.3-kselftests-f443e374ae131c168a065ea1748feac6b2e76613/tools/testing/selftests/usr/include -idirafter /lib/clang/15.0.0/include -idirafter /usr/local/include -idirafter /usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/i
nclude -idirafter /usr/include/x86_64-linux-gnu -idirafter /include -idirafter /usr/include -Wno-compare-distinct-pointer-types -DENABLE_ATOMICS_TESTS -O2 -target bpf -c progs/pyperf600.c -mcpu=v3 -o /usr/src/perf_selftests-x86_64-rhel-8.
3-kselftests-f443e374ae131c168a065ea1748feac6b2e76613/tools/testing/selftests/bpf/pyperf600.o make: *** [Makefile:487: /usr/src/perf_selftests-x86_64-rhel-8.3-kselftests-f443e374ae131c168a065ea1748feac6b2e76613/tools/testing/selftests/bpf/pyperf600.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions