From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D23824685A; Tue, 3 Jun 2025 03:05:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D9DE4028E; Tue, 3 Jun 2025 03:05:40 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id A78684025A for ; Tue, 3 Jun 2025 03:05:38 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1213) id A3A0A2068330; Mon, 2 Jun 2025 18:05:37 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A3A0A2068330 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1748912737; bh=5M8neKnzeMfsH8hZTZAEoyBWdXCyQYTsZ8QR2RjlakI=; h=Date:From:To:Subject:References:In-Reply-To:From; b=ERPuxhZHtoDi23vNP6iCHB7fjpA5MSTz8f832okuY7QJAMjfyQSFr8rNZxXB+Toys T/2Ch1T3Q5tjaRNpIljzJc7x/DgFNL6HzFe4rQbTc1ETel3oPLMBEuE8FrIwR7Xu3G fv/cIYcsmzoD1F9oBhS0VOA3Jo+zmRBHegvPZK2w= Date: Mon, 2 Jun 2025 18:05:37 -0700 From: Andre Muezerie To: dev@dpdk.org Subject: Re: [PATCH 0/1] unresolved symbol mlx5_geneve_tlv_parser_create Message-ID: <20250603010537.GB30135@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <1746456337-6278-1-git-send-email-andremue@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1746456337-6278-1-git-send-email-andremue@linux.microsoft.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, May 05, 2025 at 07:45:36AM -0700, Andre Muezerie wrote: > When compiling DPDK with mlx5 using clang on Windows with > "debug" buildtype the error below is hit: > > net_mlx5_mlx5_flow_dv.c.obj : error LNK2019: unresolved external symbol > mlx5_geneve_tlv_parser_create referenced in function > flow_dv_discover_priorities > drivers\rte_net_mlx5-25.dll : fatal error LNK1120: 1 unresolved externals > > With a "release" buildtype the error is not seen, which explains why this > issue was not reported earlier. > > The same problem will show up with MSVC, but patches which are still under > review are needed for this to be hit with MSVC. > > The cause of this problem seems to be that mlx5_flow_geneve.c is only > compiled on Linux. This patch fixes the issue by compiling the file on all > operating systems. It also sorts the file names in meson.build in > alphabetical order. > > > REPRO STEPS (On Windows) > > set DEVX_INC_PATH=V:\soft\MLNX_WinOF2_DevX_SDK\inc > set DEVX_LIB_PATH=V:\soft\MLNX_WinOF2_DevX_SDK\lib > set CFLAGS=-I"%DEVX_INC_PATH%" > set LDFLAGS=-Wl,-LIBPATH:"%DEVX_LIB_PATH%" > set CC=clang > meson setup -Dexamples=helloworld build --buildtype debug > ninja -C build > > > Andre Muezerie (1): > net/mlx5: unresolved symbol mlx5_geneve_tlv_parser_create > > drivers/net/mlx5/meson.build | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) > > -- > 2.49.0.vfs.0.0 Would someone be able to review this patchset? Thanks, Andre Muezerie