On Wed, Feb 16, 2022 at 9:31 AM Adrian Moreno <[email protected]> wrote:
>
> It seems versions older than 0.6.2 generate false positives. Bump the
> recommended version and make sure we uset the headers from the
>
> Suggested-by: Dumitru Ceara <[email protected]>
> Signed-off-by: Adrian Moreno <[email protected]>
> ---
> Documentation/intro/install/general.rst | 2 +-
> acinclude.m4 | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/intro/install/general.rst
> b/Documentation/intro/install/general.rst
> index c4300cd53..a297aadac 100644
> --- a/Documentation/intro/install/general.rst
> +++ b/Documentation/intro/install/general.rst
> @@ -169,7 +169,7 @@ other than plain text, only if you have the following:
> If you are going to extensively modify Open vSwitch, consider installing the
> following to obtain better warnings:
>
> -- "sparse" version 0.5.1 or later
> +- "sparse" version 0.6.2 or later
> (https://git.kernel.org/pub/scm/devel/sparse/sparse.git/).
I'm not as familiar with compiling with sparse, I get the warning:
/usr/lib/gcc/x86_64-redhat-linux/11//include/smmintrin.h:848:10:
error: undefined identifier '__builtin_ia32_crc32di'
Is that expected?
-M
>
> - GNU make.
> diff --git a/acinclude.m4 b/acinclude.m4
> index 0c360fd1e..f704bf36c 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -1424,7 +1424,7 @@ AC_DEFUN([OVS_ENABLE_SPARSE],
> : ${SPARSE=sparse}
> AC_SUBST([SPARSE])
> AC_CONFIG_COMMANDS_PRE(
> - [CC='$(if $(C:0=),env REAL_CC="'"$CC"'" CHECK="$(SPARSE)
> $(SPARSE_WERROR) -I $(top_srcdir)/include/sparse $(SPARSEFLAGS)
> $(SPARSE_EXTRA_INCLUDES) " cgcc $(CGCCFLAGS),'"$CC"')'])
> + [CC='$(if $(C:0=),env REAL_CC="'"$CC"'" CHECK="$(SPARSE)
> $(SPARSE_WERROR) -I $(top_srcdir)/include/sparse -I $(top_srcdir)/include
> $(SPARSEFLAGS) $(SPARSE_EXTRA_INCLUDES) " cgcc $(CGCCFLAGS),'"$CC"')'])
>
> AC_ARG_ENABLE(
> [sparse],
> --
> 2.34.1
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev