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 E7B59439FD; Mon, 29 Jan 2024 13:55:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 25E9040E40; Mon, 29 Jan 2024 13:55:53 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 7DA4B402C2 for ; Mon, 29 Jan 2024 13:55:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706532950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WIbrsB4pS+vaNsW7SDR2CTpB30nb+huCrUzS2N3Be5E=; b=MWL3uV+aCIhYoaE7aaV5zQmInEq5VOxgTISnv/y4HO4fVORmIq0Js31rzwNuSno4iR/xUd CDsGov7aj7i56HRYEaNCP1gGVImAiCNMsSWBTjsQwt9N/IOpQlTSAzpZveqYBbgnBrbKfe R27YwzBh4YmOp8T200U+Aoosjkt7UJw= Received: from mail-lf1-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-88-5lImej_JM0m_8TvtBvIHGA-1; Mon, 29 Jan 2024 07:55:49 -0500 X-MC-Unique: 5lImej_JM0m_8TvtBvIHGA-1 Received: by mail-lf1-f72.google.com with SMTP id 2adb3069b0e04-5102ed61056so1363584e87.1 for ; Mon, 29 Jan 2024 04:55:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706532948; x=1707137748; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WIbrsB4pS+vaNsW7SDR2CTpB30nb+huCrUzS2N3Be5E=; b=GmBwbM2offaHmF7QDD3zYlB+j1n6FrIsM+osuaCkYuYF2PyZPXQ1X8sZBNAOOnxyvG gHKXp0zZLONOhRK6rNyvD1DGiQkdSK1BeY4Z6i1wV0KffX6xHXBZ+yfZ/waNWKgtcd2G jrqXi8zpmpPrw7aLWgHCw43O6BpLeEsrEJ694DJ7QCE4NJ25j5+FbPb5RDhu1b4Qmcwd x//ly+dWlQGFHc3fsr3tAtMkqFzKfNxkcUcRjZzUZ6c6DXcT/bBMggvH7xl5hlflsMBm vYibw3LzBKIml5joK+aTNGF/gBDkoiV5xr/ewmJ+Sk90pZMgGttUxy3dKW/YjhkLp+/w CiaQ== X-Gm-Message-State: AOJu0YyU5gCJCm5OkHigiXEWV2JYCFCEeViq6v+KHGJUUYUqKDHqRb07 Po3KP+KnwGi5hoWAaRVsFtPVkOKRANlfKcpLiLkSZLWxIIp4Fy/drSU4c31+dx/0Kj0BKAhOf+S gPOEvtuSG+LbvjJMU77xXnFGhrmS29vb0cm4GxLCM+WJ5jFJ7QT6FdvfgEOomXU0IgYn/lf2FUY bbxs9fTDDa5HuWZeU= X-Received: by 2002:ac2:4bc9:0:b0:50b:c57e:1418 with SMTP id o9-20020ac24bc9000000b0050bc57e1418mr4749110lfq.16.1706532948139; Mon, 29 Jan 2024 04:55:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHTAI7UNNgkQZjfi4hcvwjImpc9O7cKMxKoeoP1TrN27fLjxR7mZwy0R6byqeVXGp/lREjDU2ETrSPwn+8Tyhc= X-Received: by 2002:ac2:4bc9:0:b0:50b:c57e:1418 with SMTP id o9-20020ac24bc9000000b0050bc57e1418mr4749101lfq.16.1706532947870; Mon, 29 Jan 2024 04:55:47 -0800 (PST) MIME-Version: 1.0 References: <20240129124717.24852-2-rjarry@redhat.com> In-Reply-To: <20240129124717.24852-2-rjarry@redhat.com> From: David Marchand Date: Mon, 29 Jan 2024 13:55:36 +0100 Message-ID: Subject: Re: [PATCH] meson: link static libs with whole-archive in subproject To: Robin Jarry Cc: dev@dpdk.org, Bruce Richardson , Stephen Hemminger , Ben Magistro , stable@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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, Jan 29, 2024 at 1:47=E2=80=AFPM Robin Jarry wro= te: > > When DPDK is used as a subproject, declare static libs to be linked with > -Wl,--whole-archive along with the drivers. This is already done this > way in pkg-config. > > Fixes: f93a605f2d6e ("build: add definitions for use as Meson subproject"= ) > Cc: stable@dpdk.org > > Signed-off-by: Robin Jarry Tested-by: David Marchand --=20 David Marchand