From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] efd: fix build when compiler does not support AVX2 Date: Fri, 13 Oct 2017 22:07:18 +0200 Message-ID: <2037976.V49qYeNya0@xps> References: <20171013182421.13473-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Byron Marohn , Pablo de Lara Guarch To: Ferruh Yigit Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 47DB61B2B4 for ; Fri, 13 Oct 2017 22:07:20 +0200 (CEST) In-Reply-To: <20171013182421.13473-1-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 13/10/2017 20:24, Ferruh Yigit: > Compiler error: > irte_efd.o: In function `rte_efd_lookup': > rte_efd.c:(.text+0x6d6e): undefined reference to `efd_lookup_internal_avx2' > rte_efd.o: In function `rte_efd_lookup_bulk': > rte_efd.c:(.text+0x87d4): undefined reference to `efd_lookup_internal_avx2' > > This can be observed with a compiler that doesn't support AVX2 and > shared build. > > Fixes: 86d898968826 ("efd: add AVX2 vector lookup function") > > Signed-off-by: Ferruh Yigit Applied, thanks