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 805614638A; Wed, 12 Mar 2025 20:38:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45CBF40DCD; Wed, 12 Mar 2025 20:38:56 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 227C840663 for ; Wed, 12 Mar 2025 20:38:55 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1213) id 4C4FA210B155; Wed, 12 Mar 2025 12:38:54 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 4C4FA210B155 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1741808334; bh=DD29QxUmuSQyY6Vv+Mx5zS2rQNWrTJHfHhaJ3vOfwyY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CMLxLr8Wcy/rGTxmZt+b7ntHPRCshYLbY6uDCydK3GVbExP0mEtmx5YKGZgont1cA EAVqgOw0u++Q4DefiwqqOLXgAfnG1DrXzlj90DmkYyCymByriZrEX1t58PwvwmEeej 6tWaL8QAJjdOGJMzdbwUDOcWQQdwELn7AYOys6b8= Date: Wed, 12 Mar 2025 12:38:54 -0700 From: Andre Muezerie To: David Marchand Cc: Dmitry Kozlyuk , dev@dpdk.org Subject: Re: [PATCH] buildtools: remove invalid option for Microsoft linker Message-ID: <20250312193854.GA28469@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <1741744388-2290-1-git-send-email-andremue@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 Wed, Mar 12, 2025 at 12:53:55PM +0100, David Marchand wrote: > On Wed, Mar 12, 2025 at 2:53 AM Andre Muezerie > wrote: > > > > When compiling "drivers" directory with MSVC the errors below popped up: > > > > drivers/rte_mempool_stack.pmd.c(1): error C2143: syntax error: > > missing ')' before '(' > > drivers/rte_mempool_stack.pmd.c(1): error C2059: syntax error: ')' > > drivers/rte_mempool_stack.pmd.c(1): error C2059: syntax error: ')' > > drivers/rte_mempool_stack.pmd.c(1): error C2143: syntax error: > > missing ')' before 'const' > > drivers/rte_mempool_stack.pmd.c(1): error C2091: function returns function > > > > The fix is to use common macros compatible with MSVC. > > > > Signed-off-by: Andre Muezerie > > Out of curiosity, did you try dpdk-pmdinfo.py on generated binaries? That script does not work on Windows. It depends on ldd and ELF binary format to extract info from the binary. I'll see what can be done there. > > > -- > David Marchand