Jacobo Nájera <jac...@jacobo.org> writes:

> Hi,
>
> Thanks Vasudev
>
> I tried on a fresh install with Bullseye:
>
>
> Sampling at 49 Hertz of all threads by user + kernel stack... Hit Ctrl-C 
> to end.
> In file included from <built-in>: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:69:
> include/linux/compiler-clang.h:51:9: warning: '__HAVE_BUILTIN_BSWAP32__' 
> macro redefined [-Wmacro-redefined]
> #define __HAVE_BUILTIN_BSWAP32__
>          ^
> <command line>:4:9: note: previous definition is here
> #define __HAVE_BUILTIN_BSWAP32__ 1
>          ^
> In file included from <built-in>: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:69:
> include/linux/compiler-clang.h:52:9: warning: '__HAVE_BUILTIN_BSWAP64__' 
> macro redefined [-Wmacro-redefined]
> #define __HAVE_BUILTIN_BSWAP64__
>          ^
> <command line>:5:9: note: previous definition is here
> #define __HAVE_BUILTIN_BSWAP64__ 1
>          ^
> In file included from <built-in>: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:69:
> include/linux/compiler-clang.h:53:9: warning: '__HAVE_BUILTIN_BSWAP16__' 
> macro redefined [-Wmacro-redefined]
> #define __HAVE_BUILTIN_BSWAP16__
>          ^
> <command line>:3:9: note: previous definition is here
> #define __HAVE_BUILTIN_BSWAP16__ 1
>          ^
> 3 warnings generated.
>
>
> uname
>
> Linux 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 GNU/Linux

Ok this seems to be related to kernel version because in Debian unstable
I don't see this warnings generated. Will check this with upstream.

Thanks and Regards,
Vasudev

Reply via email to