From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id F17CD310 for ; Fri, 8 Aug 2014 04:05:28 +0200 (CEST) Received: from [2001:470:8:a08:215:ff:fecc:4872] (helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1XFZan-0004nY-8U; Thu, 07 Aug 2014 22:07:51 -0400 Date: Thu, 7 Aug 2014 22:07:32 -0400 From: Neil Horman To: Chris Wright Message-ID: <20140808020732.GA6646@localhost.localdomain> References: <1407436263-9360-1-git-send-email-konstantin.ananyev@intel.com> <20140807201134.GA1632@hmsreliant.think-freely.org> <20140807212847.GU26743@x220.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140807212847.GU26743@x220.localdomain> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCHv2] librte_acl make it build/work for 'default' target X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2014 02:05:29 -0000 On Thu, Aug 07, 2014 at 02:28:47PM -0700, Chris Wright wrote: > * Vincent JARDIN (vincent.jardin@6wind.com) wrote: > > What's about using function versioning attributes too: > > > > https://gcc.gnu.org/wiki/FunctionMultiVersioning > > > > ? > > Neat, hadn't seen that gcc feature before, but: > > "This support is available in GCC 4.8 and later. Support is only > available in C++ for i386 targets." > > I have 4.8.2, gcc errors, g++ works. And entirely unclear re: > icc (which was a supported compiler). Seems like it's not > really an option. > I agree, nice idea, probably not pragmatic until its supported in all generally available compilers (from distributions). Its also a bit questionable as to how this works on alternate arches. Neil > thanks, > -chris >