@@ -9,24 +9,6 @@ BUILDDEP__RETRO=""
99# Building the libbpf binding requires generating a eBPF program, which must be
1010# built with Clang.
1111USECLANG=1
12- # FIXME: Linker test fails on loongson3.
13- #
14- # /usr/bin/mips64el-aosc-linux-gnuabi64-ld: conftest: `.got.plt' entry VMA of
15- # 0x120010fe8 outside the 32-bit range supported; consider using `-Ttext-segment=...'
16- USECLANG__LOONGSON3=0
17- # FIXME: Disabling Clang on riscv64.
18- #
19- # /usr/bin/riscv64-aosc-linux-gnu-ld: error: LLVM gold plugin: linking module
20- # flags 'SmallDataLimit': IDs have conflicting values in
21- # '../third-party/.libs/liburl-parser.a.llvm.184.url_parser.c' and 'ld-temp.o'
22- USECLANG__RISCV64=0
23- # FIXME: Disabling Clang on ppc64el.
24- #
25- # During configure...
26- # /usr/include/bits/wchar-ldbl.h:84:1: error: cannot apply asm label to
27- # function after its first use
28- USECLANG__PPC64EL=0
29-
3012USECLANG__RETRO=0
3113
3214# FIXME: Disabling PIC and PIE flags to make Python module build with GCC.
@@ -67,21 +49,9 @@ AUTOTOOLS_AFTER=(
6749 '--with-libbpf'
6850)
6951# FIXME: Clang build fails on loongson3, ppc64el, and riscv64, disabling libbpf.
70- AUTOTOOLS_AFTER__NOBPF =(
52+ AUTOTOOLS_AFTER__RETRO =(
7153 "${AUTOTOOLS_AFTER[@]}"
7254 '--with-libbpf=no'
73- )
74- AUTOTOOLS_AFTER__LOONGSON3=(
75- "${AUTOTOOLS_AFTER__NOBPF[@]}"
76- )
77- AUTOTOOLS_AFTER__PPC64EL=(
78- "${AUTOTOOLS_AFTER__NOBPF[@]}"
79- )
80- AUTOTOOLS_AFTER__RISCV64=(
81- "${AUTOTOOLS_AFTER__NOBPF[@]}"
82- )
83- AUTOTOOLS_AFTER__RETRO=(
84- "${AUTOTOOLS_AFTER__NOBPF[@]}"
8555 '--without-jemalloc'
8656)
8757
0 commit comments