numam-dpdk/mk
Thomas Monjalon e74c4e0938 mk: fix build with gcc 4.4 and clang
With GCC 4.4.7 from CentOS 6.5, the following errors arise:

lib/librte_pmd_ixgbe/ixgbe_rxtx.c: In function 'ixgbe_dev_rx_queue_setup':
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:2509: error: missing initializer
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:2509: error: (near initialization for 'dev_info.driver_name')

lib/librte_pmd_ixgbe/ixgbe_rxtx.c: In function 'ixgbe_set_rsc':
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:4072: error: missing initializer
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:4072: error: (near initialization for 'dev_info.driver_name')

lib/librte_pmd_ixgbe/ixgbe_rxtx.c: In function 'ixgbe_recv_pkts_lro_single_alloc':
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:1479: error: 'next_rsc_entry' may be used uninitialized in this function
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:1480: error: 'next_rxe' may be used uninitialized in this function

The "missing initializer" warning is a GCC bug which seems fixed in 4.7.
The same warning is thrown by clang.
The "may be used uninitialized" warning is another GCC bug which seems fixed in 4.7.

Fixes: 8eecb3295a ("ixgbe: add LRO support")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
Acked-by: Vlad Zolotarov <vladz@cloudius-systems.com>
2015-04-20 14:37:22 +02:00
..
arch mk: support x32 ABI 2015-02-18 20:26:33 +01:00
exec-env mk: fix linking with some linux toolchains 2014-11-29 21:17:01 +01:00
internal mk: move internal file 2015-03-09 12:46:46 +01:00
machine mk: introduce IBM Power architecture 2014-11-26 21:50:09 +01:00
target/generic mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
toolchain mk: fix build with gcc 4.4 and clang 2015-04-20 14:37:22 +02:00
rte.app.mk mk: fix static linking with null pmd 2015-04-13 21:49:04 +02:00
rte.bsdmodule.mk mk: fix bsd module build 2014-11-05 22:18:31 +01:00
rte.cpuflags.mk eal/ppc: cpu flag checks for IBM Power 2014-11-26 21:50:10 +01:00
rte.extapp.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extobj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: introduce rte.extsubdir.mk for projects with subdirectories 2014-05-16 13:28:21 +02:00
rte.gnuconfigure.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostapp.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.install.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.lib.mk mk: add DT_SONAME to shared libraries 2015-02-04 23:29:29 +01:00
rte.module.mk mk: pass CC option for kernel modules 2014-10-15 16:01:29 +02:00
rte.obj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkbuild.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkconfig.mk mk: fix config build on freebsd 2015-03-05 20:06:06 +01:00
rte.sdkdepdirs.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkdoc.mk mk: reduce PDF build commands 2015-04-03 16:13:36 +02:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkinstall.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkroot.mk mk: no more bare metal environment 2014-11-27 13:09:46 +01:00
rte.sdktest.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdktestall.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.shared.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.sharelib.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.subdir.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.vars.mk mk: move internal file 2015-03-09 12:46:46 +01:00