Closed ayoubeddafali closed 2 years ago
Seems like the isse is related to the version of the kernel, in previous kernel those warning were deactivated, but in newer kernel versions, they were activated by default again. And, it seems bcc is redefining them which result in those warnings.
When running the arvos scanner, some linux headers warning are show
`#define HAVE_BUILTIN_BSWAP32 ^:4:9: note: previous definition is here
define HAVE_BUILTIN_BSWAP32 1
In file included from:2:
In file included from /virtual/include/bcc/bpf.h:12:
In file included from include/linux/types.h:6:
In file included from include/uapi/linux/types.h:14:
In file included from ./include/uapi/linux/posix_types.h:5:
In file included from include/linux/stddef.h:5:
In file included from include/uapi/linux/stddef.h:2:
In file included from include/linux/compiler_types.h:80:
include/linux/compiler-clang.h:42:9: warning: 'HAVE_BUILTIN_BSWAP64' macro redefined [-Wmacro-redefined]
`