[ovs-git] [openvswitch/ovs] 6973b4: sparse: Add rte_memcpy.h replacement header.

GitHub noreply at github.com
Sun May 7 12:58:17 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 6973b40a43c6f5e279dbcfee0ac00a96933f7a7d
      https://github.com/openvswitch/ovs/commit/6973b40a43c6f5e279dbcfee0ac00a96933f7a7d
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2017-05-07 (Sun, 07 May 2017)

  Changed paths:
    M include/sparse/automake.mk
    A include/sparse/rte_memcpy.h

  Log Message:
  -----------
  sparse: Add rte_memcpy.h replacement header.

Without this replacement header, building netdev-dpdk.c provokes several
"sparse" warnings on i386:

/usr/include/dpdk/rte_memcpy.h:515:33: warning: incorrect type in argument 1 (different type sizes)
/usr/include/dpdk/rte_memcpy.h:515:33:    expected long long const [usertype] *__P
/usr/include/dpdk/rte_memcpy.h:515:33:    got int const [usertype] *<noident>
/usr/lib/gcc/i686-linux-gnu/6//include/emmintrin.h:698:20: error: undefined identifier '__builtin_ia32_loaddqu'
/usr/lib/gcc/i686-linux-gnu/6//include/emmintrin.h:698:11: error: cast from unknown type
/usr/lib/gcc/i686-linux-gnu/6//include/emmintrin.h:716:3: error: undefined identifier '__builtin_ia32_storedqu'
/usr/lib/gcc/i686-linux-gnu/6//include/emmintrin.h:698:43: error: not a function <noident>
/usr/lib/gcc/i686-linux-gnu/6//include/emmintrin.h:716:27: error: not a function <noident>
...

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Darrell Ball <dlu998 at gmail.com>




More information about the git mailing list