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 1F58B439FD for ; 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 04176402C2; 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 5390A4029A 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-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-612-4KKWM5y4MZevWFAeQNO_LA-1; Mon, 29 Jan 2024 07:55:49 -0500 X-MC-Unique: 4KKWM5y4MZevWFAeQNO_LA-1 Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-50e91f9d422so2419951e87.2 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=POnDzOCPDicP3SYs73s/BqTK0unBFTL/yvWMK5GVfVmU8hQLxJIbHSsGN8fLXIbkAS S/3rhsB+JzgFgmm/7xxE4u1nUlaRPoshdlW/EF4mAWjHrnjtlWh+W0a88HwfbXSM868Y T39xr+6u91+LiB0jGMiWoeNLluvWo7AyL4pN3q6+Ljw0elKSS2uxtxe6FM+3BaK/b+uy keXvSuM7PVKygzIQwOTyXxzao3yCQhVkL9Vf4nUTfnMvNTMjOlk16y9K4TkCnVQEetwb XH78r8byHo61Hba9mx34hTkwXw1Y8v2bIJjhRzHRvAy+gqGBwpgFOpeaQaaen+WbFnHK Ka5w== X-Gm-Message-State: AOJu0YxDCPciw67fRnNtLcSSN3E1dLKDmKAmrZxzwQHOz25XDQ1c1fqU WarOF61ESmF0vpoy/a8NN9MSfwg/dFW2rzk8Ml2RKx9DbI30H5a6U8J5+THHNnNdCWJa6YQfb3/ 2855brormQlU9Cvg2Jk8IrmUIZJrUf3bBW8J4nxgJBQoVe4qq+/PSkix+KlCsL1RH8c/OAiQfGG TKZQQGoqIw+BXgqvLznOw= X-Received: by 2002:ac2:4bc9:0:b0:50b:c57e:1418 with SMTP id o9-20020ac24bc9000000b0050bc57e1418mr4749114lfq.16.1706532948144; 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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