From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id A9B3941E71;
	Sat, 11 Mar 2023 09:11:42 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 8CFB640DDC;
	Sat, 11 Mar 2023 09:11:42 +0100 (CET)
Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com
 [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 9899940A89
 for <dev@dpdk.org>; Sat, 11 Mar 2023 09:11:41 +0100 (CET)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id 452A55C003F;
 Sat, 11 Mar 2023 03:11:39 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Sat, 11 Mar 2023 03:11:39 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding:content-type:content-type:date
 :date:from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to; s=fm2; t=
 1678522299; x=1678608699; bh=Jjusd54IAEUxBeXyhONbPPCX9uAm0CDMC+w
 zdqLuAx8=; b=zEd5O8X6SIHgrViwQ1tzRtLTXSZOjZw39GOvQp9DktZgziyH9gg
 +a9yRTfUspg0QSWn1pfio40DxSvhPN0V504bIsi1n4hI0n/lkr+WanrmJxsq9Ph5
 wPr+YBgSGWLuUB+clkG9G/gryMcb2OesdRx0+2SmdVuvjazCsO1VSoVT4wgbIfCS
 Z56OKqjdhwto3Ug087xV9GY/lv1AleBzyAi69MP/JithcLbN7XzBdTE71YNeDyW5
 R3p++ML3oU8IohdrZg0+1z7wWCmhBOblvDAqZDO3+y1iTz7xGpti0gRVkmAUxVrg
 y1+y9Tay08E1JiP6xDrmzSPxBCEe8Mvx/eg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:content-type:date:date:feedback-id:feedback-id
 :from:from:in-reply-to:in-reply-to:message-id:mime-version
 :references:reply-to:sender:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
 1678522299; x=1678608699; bh=Jjusd54IAEUxBeXyhONbPPCX9uAm0CDMC+w
 zdqLuAx8=; b=gT6vWIqLoP5B+rh53JkUBkVlEQ8is86+XnvTgbpkec7T48X8ms2
 5Gn7bizRivFa9pfHYqjLf/kXunv4/0ZLeYNG3h6XQgrm14VSscdPt4p6Z3i9Ipy3
 6BWkhW7RUdGH6OUDZnfeUhehYasf94aflmm/4rm4o0nzKQn+oMBq2Gch0gNgE0Dm
 qH5vv9HYTazRMJFaXTgXBeOc24JXEw6TDyM6HrR4KCKO2LsQZKfsaSr2JKmmrquW
 gTSKVbt5e50OfRcZfGLIchgcg+ER5GV0iCZP/461udqpq5iUtlMRB7FC3GCpSLds
 t3mhETqqmOb1iCWdMAhauVnQPbk77Y7k+Vg==
X-ME-Sender: <xms:ujcMZGihJ3xbT_nN6PYxBP2mddy1PpoMquIEaOY8L9J9v23JZTXejA>
 <xme:ujcMZHBFubs9v4rMML_emfBEGCVA_VpidtyCRA9N-ewGySBceDDJqwGrdAEgkZKek
 sBmU3CzOwDO8H1myA>
X-ME-Received: <xmr:ujcMZOGI5XwmeXanWQaTINvAU4H8HSi7Lzc_EvXx8Z1tgNPpJxXooOHUv7XCmCCuRFN14WoZU2hgbfo-9kzpmJDYBA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdduledguddugecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhho
 mhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqne
 cuggftrfgrthhtvghrnheptdejieeifeehtdffgfdvleetueeffeehueejgfeuteeftddt
 ieekgfekudehtdfgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh
 hfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:ujcMZPTZBPmsMd_qSCktdLOyf-suBPRBQ_sPp_-_f4GceSdq8KYM7Q>
 <xmx:ujcMZDzJFSQ6MSgxwkjI8BlUnl1xWRvl0x1R3q9UKLEGUkYn-F37qg>
 <xmx:ujcMZN4ySfwF_F4njgEMNIBS5SBmdQvMk-EQlanNsL0TfybAHseSYw>
 <xmx:uzcMZFtyYGisA047nRNBQPlT41plDYFFlRUN-TBRGe88FTXpNR2d7A>
Feedback-ID: i47234305:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
 11 Mar 2023 03:11:38 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Tyler Retzlaff <roretzla@linux.microsoft.com>,
 Stephen Hemminger <stephen@networkplumber.org>
Cc: dev@dpdk.org, David Marchand <david.marchand@redhat.com>, dev@dpdk.org,
 Srikanth Yalavarthi <syalavarthi@marvell.com>
Subject: Re: [PATCH] mldev: disable build on Windows
Date: Sat, 11 Mar 2023 09:11:35 +0100
Message-ID: <4562733.CvnuH1ECHv@thomas>
In-Reply-To: <20230310145419.4ff5425e@hermes.local>
References: <20230310090717.1470032-1-david.marchand@redhat.com>
 <20230310200635.GA11258@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net>
 <20230310145419.4ff5425e@hermes.local>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

10/03/2023 23:54, Stephen Hemminger:
> On Fri, 10 Mar 2023 12:06:35 -0800
> Tyler Retzlaff <roretzla@linux.microsoft.com> wrote:
> 
> > On Fri, Mar 10, 2023 at 10:07:17AM +0100, David Marchand wrote:
> > > Caught by UNH lab, Windows compilation is broken because of symbol
> > > exports:
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_bfloat16_to_float32
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_float16_to_float32
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_float32_to_bfloat16
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_float32_to_float16
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_float32_to_int16
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_float32_to_int8
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_float32_to_uint16
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_float32_to_uint8
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_int16_to_float32
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_int8_to_float32
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_uint16_to_float32
> > > rte_mldev_exports.def : error LNK2001: unresolved external symbol
> > > 	rte_ml_io_uint8_to_float32
> > > 
> > > Disable Windows build until this is fixed.  
> > 
> > is someone committed to do this?
> 
> This is not hard to fix, please fix the Windows build rather than disabling.

I think we may need to change how the NEON implementation is selected,
without using weak references.

Feel free to submit a patch.