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 35E06A0548 for ; Mon, 5 Dec 2022 11:24:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2958242D1F; Mon, 5 Dec 2022 11:24:01 +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 2FE97410E5 for ; Mon, 5 Dec 2022 11:23:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670235838; 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: in-reply-to:in-reply-to:references:references; bh=zgvWn60qKCMe1CpNoVp8d9ypgTQWBTcEQbCPv6rtyL4=; b=JFH12aDfhaQCBD0gWKAkZtKmWWCpW7VSO42ulKLZZKNoGGU5qfJNCBbfWonZpadAfJqBpr qibkfWj/NTWzL0CvCSgwrMTcqJu6hGJEP9BH79OEAahtkTxSXexEOjCa3XWfNFpqEnnqlE 1ZQiGsKnKdR942XNdqGtSdXheXETqHw= Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-90-IxYo_Go6Ng-SxdDo1RNbDw-1; Mon, 05 Dec 2022 05:23:56 -0500 X-MC-Unique: IxYo_Go6Ng-SxdDo1RNbDw-1 Received: by mail-pl1-f198.google.com with SMTP id k18-20020a170902c41200b001896d523dc8so13187799plk.19 for ; Mon, 05 Dec 2022 02:23:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=zgvWn60qKCMe1CpNoVp8d9ypgTQWBTcEQbCPv6rtyL4=; b=WsLj8VqZg5dsD1PMqX49Ndx6kzTuM87WQO2+WsHdUyBOx6wvBURCKJWWqywFvL38pY 3ujtqOb6oZ5BXO9/yvwPFhaXUJO0Msxe3WWaiwBs89bPXGy817lb/SHb5sJKud7hWCRG 3xJlvJ6WKeNCRr5M7loAkMm24LCa01Iufs8qmocpu0EqyBwGQ8Ghp7aF9gX9QfRruKOT MKT9SJC3c62RMG89lEheCTjl2ewVo9kDCPXQ/pisfdMQmnZTq8GsmTbIOEXHBtos9WYx ERUDvEIRNoBG7Xa/nU1Km3w0S0K9Oudk8W3MVWpa9USz64gXb4fPOrzxGr8LSs7ky4/c EhgA== X-Gm-Message-State: ANoB5pmV5nTPdZyEMMjlQBX9r/sbRDtmhblzo7ckgAfMjh6OTmD3SycL Rv0FTCkovAjk3myT2cXqheq8ccnJRvmssXjYAIaqmRCby+70T5tQfz1LyGsfXv3aBeLJlwph0GL A3kALPhR09zF0kImjwr9r38g= X-Received: by 2002:a62:f94c:0:b0:56e:174e:efdf with SMTP id g12-20020a62f94c000000b0056e174eefdfmr83723075pfm.29.1670235835798; Mon, 05 Dec 2022 02:23:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf6dl5ZIq68EDcMPE2uJitzObJsg0k2hqfyRco3/SAwEmWyoW96eUOQ50FHnkxHYtHsV30GR0nxC7xwgVeqmlhg= X-Received: by 2002:a62:f94c:0:b0:56e:174e:efdf with SMTP id g12-20020a62f94c000000b0056e174eefdfmr83723042pfm.29.1670235835507; Mon, 05 Dec 2022 02:23:55 -0800 (PST) MIME-Version: 1.0 References: <20221129140032.35940-1-david.marchand@redhat.com> <20221202110945.519708-1-david.marchand@redhat.com> In-Reply-To: From: David Marchand Date: Mon, 5 Dec 2022 11:23:43 +0100 Message-ID: Subject: Re: [PATCH v4 1/2] drivers: fix symbol exports when map is omitted To: David Marchand , ci@dpdk.org, Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Ajit Khaparde , Qi Zhang , Jerin Jacob Kollanukkaran , Raslan Darawsheh , Maxime Coquelin , "Xia, Chenbo" , Akhil Goyal , Luca Boccassi , Kevin Traynor , Christian Ehrhardt , "Xueming(Steven) Li" Cc: dev@dpdk.org, stable@dpdk.org, Bruce Richardson , Michael Santana , =?UTF-8?B?QWJkdWxsYWggw5ZtZXIgWWFtYcOn?= , Aaron Conole X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 Fri, Dec 2, 2022 at 2:39 PM Aaron Conole wrote: > > David Marchand writes: > > > ld exports any global symbol by default if no version script is passed. > > As a consequence, the incriminated change let any public symbol leak > > out of the driver shared libraries. > > > > Hide again those symbols by providing a default map file which > > unexports any global symbol using a local: * catch-all statement. > > > > The checks are skipped for this default map file as it is intentionnally > > an empty map (see commit b67bdda86cd4 ("devtools: catch empty symbol > > maps")) and there is nothing else to check in this map. > > > > This change impacts the exported symbols, hence, bump the version in the > > ABI check to the v22.11.1 from the 22.11 LTS branch. > > > > Fixes: 7dde9c844a37 ("drivers: omit symbol map when unneeded") > > Cc: stable@dpdk.org > > > > Reported-by: Luca Boccassi > > Signed-off-by: David Marchand > > Tested-by: Ferruh Yigit > > Reviewed-by: Bruce Richardson > Acked-by: Aaron Conole Series applied. Please, maintainers and CI teams, when you enable ABI checks in the main branch, or in the 22.11 LTS branch, use the dpdk-stable 22.11.1 tag as a reference. Thanks. -- David Marchand