mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 14:21:55 +07:00
a2e8bbd2ef
llvm 5.0 does not like the section name and the function name
to be the same:
clang -I. -I./include/uapi -I../../../include/uapi \
-I../../../../samples/bpf/ \
-Wno-compare-distinct-pointer-types \
-O2 -target bpf -c \
linux/tools/testing/selftests/bpf/test_obj_id.c -o \
linux/tools/testing/selftests/bpf/test_obj_id.o
fatal error: error in backend: 'test_prog_id' label emitted multiple times to
assembly file
clang-5.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 5.0.0 (trunk 304326) (llvm/trunk 304329)
This patch makes changes to the section name and the function name.
Fixes:
|
||
---|---|---|
.. | ||
bpf | ||
breakpoints | ||
capabilities | ||
cpu-hotplug | ||
cpufreq | ||
drivers/gpu | ||
efivarfs | ||
exec | ||
filesystems | ||
firmware | ||
ftrace | ||
futex | ||
gpio | ||
ia64 | ||
intel_pstate | ||
ipc | ||
kcmp | ||
lib | ||
locking | ||
media_tests | ||
membarrier | ||
memfd | ||
memory-hotplug | ||
mount | ||
mqueue | ||
net | ||
networking/timestamping | ||
nsfs | ||
ntb | ||
powerpc | ||
prctl | ||
pstore | ||
ptp | ||
ptrace | ||
rcutorture | ||
seccomp | ||
sigaltstack | ||
size | ||
splice | ||
static_keys | ||
sync | ||
sysctl | ||
timers | ||
user | ||
vDSO | ||
vm | ||
watchdog | ||
x86 | ||
zram | ||
.gitignore | ||
gen_kselftest_tar.sh | ||
kselftest_install.sh | ||
kselftest.h | ||
lib.mk | ||
Makefile |