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 6B0ACA0C45; Sat, 25 Sep 2021 18:22:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 282DD4003D; Sat, 25 Sep 2021 18:22:09 +0200 (CEST) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by mails.dpdk.org (Postfix) with ESMTP id D81854003C for ; Sat, 25 Sep 2021 18:22:07 +0200 (CEST) Received: by mail-lf1-f52.google.com with SMTP id t10so54436646lfd.8 for ; Sat, 25 Sep 2021 09:22:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1F3wcTjS3M2j+KkTL237Q1vkeXkx03WfQq+oL36MW64=; b=axsWJeGcgYHRL+GqLTVWJ6ICttbAorPMI7dSPE91GzEYZyDpt7OinIwNbKzaKuXSZK zL6octnoAcgOPtSJ3+3Drym7tU2imYwSwLCLOZHx9kzafqSQmrB//wjO97iWLhoV0u74 PBmnz9D81vWqbVkU9UVaFSL/b7ZzXhoBTfuAzNsOmFOelSsM+2eL2QD7/yP/+kakL7+l lj6QtxvOJn4C3wNQoXIch9YwlsQGiIg1TCx5cKreBa9POrkX6wt9nO1kjEr2UCumM9r6 3TgI14Lv2QJtGy8OZ2xEt1gtWCE/ahj13hv+3Q+71qKJdtZrB5dFy29f4C2Jk523XaGa ItdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1F3wcTjS3M2j+KkTL237Q1vkeXkx03WfQq+oL36MW64=; b=K30iNzeiTAD45cZI/ue646H43IigVKKjo32WfNup0QyiZFRLuw7q7XvrRNDVsoTpcl jBJ3Hh6UyTaAj+ImC1gWzySrqvkr4iJc72YrBMmSow7M9aNgoHtCzjW6IhS4vlVuHYil U+/I6URhjTMaHaGHtbrq9DUgyw0aS3IEjOLM5UJQgq3kKdCO4d+E9RT0MuC2npKu14kd H60E9kpsP/5qbzgFgRmv5+oYd0FYHUhoyzZjnURMi9EkqRyy8oDqgNG04AUn+b6CmoPM wOrpnd4rU66Jfxujkt7NgpRRAgd014BtPeMlJ9KSf69qZkw5kd7rYwVNBkU5gOfcgD9C ZnzA== X-Gm-Message-State: AOAM531AIIkJIuBaBO2mG69u0mmYVaB6RXng7w4rV5e8cjXDMRu2PVwP BP7d74L1UNKAbT6taYAXsK0= X-Google-Smtp-Source: ABdhPJx4HY5jzwI/jA0Yd06Twi33H647roaHqyE+S/A1JsULHB/ZJIG8yZuigQltJclTIeiQeB0Q5g== X-Received: by 2002:a05:6512:3088:: with SMTP id z8mr14942573lfd.657.1632586927342; Sat, 25 Sep 2021 09:22:07 -0700 (PDT) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id n11sm1438388ljg.72.2021.09.25.09.22.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Sep 2021 09:22:06 -0700 (PDT) Date: Sat, 25 Sep 2021 19:22:05 +0300 From: Dmitry Kozlyuk To: William Tu Cc: dev@dpdk.org, bruce.richardson@intel.com Message-ID: <20210925192205.2419fdce@sovereign> In-Reply-To: <20210924180816.150-1-u9012063@gmail.com> References: <20210924180816.150-1-u9012063@gmail.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v1] build/pkg-config: Fix warning for Windows 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 Sender: "dev" 2021-09-24 18:08 (UTC+0000), William Tu: > Windows does not support linker option '/-no-whole-archive' > or '/whole-archive'. The patch removes them under Windows build. > > Signed-off-by: William Tu > --- > buildtools/pkg-config/meson.build | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-) Hi William, We need to tell the linker to use whole archive somehow; you write [1] that /WHOLEARCHIVE was required in the end. There's no "Windows linker", there are clang and GCC linkers, the latter supports --whole-archive, but the former needs it translated. Argument translation between compilers is handled by meson. I've filed a bug: https://github.com/mesonbuild/meson/issues/9296 [1]: http://inbox.dpdk.org/dev/CALDO+SZ-FLPYNQbUJ-Ctwtph+M4_X_=zYAOKgkp5_un4QFq_eg@mail.gmail.com/