numam-dpdk/lib
Konstantin Ananyev a49886ddac acl: fix native build on haswell with icc
On HSW box with icc 16.0.0 build for x86_64-native-linuxapp-icc fails with:
icc: command line warning #10120: overriding '-march=native' with '-msse4.1'
...
dpdk.org/x86_64-native-linuxapp-icc/include/rte_memcpy.h(96): error: identifier "__m256i" is undefined

The reason is that icc treats "-march=native ... -msse4.1"
in a different way, then gcc and clang.
For icc it means override all flags enabled with
'-march=native' with '-msse4.1'.
Even when '-march=native' is a superset for '-msse4.1'.
To overcome the problem add a check is SSE4.1 compilation flag already enabled.
If yes, then no need to add '-msse4.1'
Similar change for avx2 compilation option.

Fixes: 074f54ad03 ("acl: fix build and runtime for default target")

Reported-by: Declan Doherty <declan.doherty@intel.com>
Reported-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
2015-11-20 17:16:35 +01:00
..
librte_acl acl: fix native build on haswell with icc 2015-11-20 17:16:35 +01:00
librte_cfgfile cfgfile: increase entry name and value sizes 2015-10-22 18:35:11 +02:00
librte_cmdline lib: remove redundant definition of local symbols 2015-06-29 18:57:32 +02:00
librte_compat compat: remove unneeded macro 2015-06-29 16:41:23 +02:00
librte_distributor distributor: remove inclusion of mbuf header 2015-05-11 15:36:37 +02:00
librte_eal eal: add keep alive monitoring 2015-11-19 15:44:51 +01:00
librte_ether ethdev: add ieee1588 functions for device clock time 2015-11-13 17:43:05 +01:00
librte_hash hash: fix incorrect lookup if key is all zero 2015-11-04 01:07:25 +01:00
librte_ip_frag mbuf: move chaining from ip_frag library 2015-10-25 00:00:34 +02:00
librte_ivshmem mem: fix ivshmem freeing 2015-08-09 19:45:25 +02:00
librte_jobstats jobstats: new library 2015-02-24 22:12:35 +01:00
librte_kni kni: remove deprecated functions 2015-09-03 19:22:48 +02:00
librte_kvargs kvargs: fix freeing behaviour for null 2015-03-04 11:19:37 +01:00
librte_lpm lpm: fix incorrect reuse of already allocated tbl8 2015-11-04 01:18:22 +01:00
librte_mbuf mbuf: move chaining from ip_frag library 2015-10-25 00:00:34 +02:00
librte_mempool xen: allow determining DOM0 at runtime 2015-11-13 11:34:53 +01:00
librte_meter doc: fix doxygen warnings in QoS API 2015-06-18 14:53:58 +02:00
librte_net lib: remove extra parenthesis after return 2015-06-23 23:31:15 +02:00
librte_pipeline pipeline: fix missing exported symbols 2015-07-09 17:25:45 +02:00
librte_port port: move metadata offset reference at mbuf head 2015-10-19 17:00:36 +02:00
librte_power doc: fix doxygen warnings 2015-06-19 12:11:53 +02:00
librte_reorder reorder: allow random number as starting point 2015-06-22 22:20:12 +02:00
librte_ring eal: introduce SMP memory barriers 2015-11-18 22:44:01 +01:00
librte_sched sched: remove unused inclusion of intrinsics 2015-09-08 08:39:07 +02:00
librte_table table: add name to LPM parameters 2015-10-12 16:03:19 +02:00
librte_timer timer: fix race condition 2015-08-03 12:43:01 +02:00
librte_vhost vhost: reset device properly 2015-11-12 12:39:08 +01:00
Makefile mem: remove dummy malloc library 2015-09-03 19:22:48 +02:00