--- a/scripts/link-vmlinux.sh
+++ b/scripts/link-vmlinux.sh
@@ -161,7 +161,7 @@
	vmlinux_link 

	info BTF 
-	LLVM_OBJCOPY=  -J 
+	LLVM_OBJCOPY=  --skip_encoding_btf_enum64 -J 

	# Create  which contains just .BTF section but no symbols. Add
	# SHF_ALLOC because .BTF will be part of the vmlinux image. --strip-all
