numam-dpdk/mk
Ferruh Yigit 95cd37070a mk: fix build for clang 4
clang 4 gives "taking address of packed member may result in an
unaligned pointer value" warnings in a few locations [1].

Disabled "-Waddress-of-packed-member" warning for clang >= 4

[1] build errors:
.../lib/librte_eal/common/eal_common_memzone.c:275:25:
error: taking address of packed member 'mlock' of class or structure
'rte_mem_config' may result in an unaligned pointer value
[-Werror,-Waddress-of-packed-member]
        rte_rwlock_write_lock(&mcfg->mlock);
                               ^~~~~~~~~~~

.../lib/librte_ip_frag/rte_ipv4_reassembly.c:139:31:
error: taking address of packed member 'src_addr' of class or structure
'ipv4_hdr' may result in an unaligned pointer value
[-Werror,-Waddress-of-packed-member]
        psd = (unaligned_uint64_t *)&ip_hdr->src_addr;
                                     ^~~~~~~~~~~~~~~~

.../lib/librte_vhost/vhost_user.c:1037:34:
error: taking address of packed member 'payload' of class or structure
'VhostUserMsg' may result in an unaligned pointer value
[-Werror,-Waddress-of-packed-member]
	vhost_user_set_vring_num(dev, &msg.payload.state);
				       ^~~~~~~~~~~~~~~~~

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-04-19 15:24:32 +02:00
..
arch remove unmaintained TILE-Gx architecture 2017-03-15 11:40:57 +01:00
exec-env mk: prevent overlinking in applications 2016-06-13 16:09:58 +02:00
internal mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
machine mk: fix quoting for ARM mtune argument 2017-04-10 19:52:17 +02:00
target/generic config: remove insecure warnings 2016-12-07 18:34:02 +01:00
toolchain mk: fix build for clang 4 2017-04-19 15:24:32 +02:00
rte.app.mk mk: fix lib filtering when linking app 2017-04-06 16:50:17 +02:00
rte.bsdmodule.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.combinedlib.mk mk: fix linker script when re-building 2016-03-17 21:53:06 +01:00
rte.cpuflags.mk mk: improve ARM NEON detection 2016-03-24 17:46:58 +01:00
rte.extapp.mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
rte.extlib.mk mk: remove ABI versioning for external library 2015-12-08 02:59:54 +01:00
rte.extobj.mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.gnuconfigure.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.hostapp.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.hostlib.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.install.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.lib.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.module.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.obj.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.sdkbuild.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.sdkconfig.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.sdkdepdirs.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.sdkdoc.mk mk: build examples list before each doxygen run 2017-04-06 16:29:32 +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 tools: move to usertools 2017-01-04 21:17:32 +01:00
rte.sdkroot.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.sdktest.mk mk: fix message when test application is not built 2017-03-27 10:44:53 +02:00
rte.shared.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.subdir.mk mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte.vars.mk mk: allow to override devel mode from environment 2016-09-23 18:30:01 +02:00