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 3F103A0542 for ; Mon, 5 Dec 2022 11:24:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F40840F18; Mon, 5 Dec 2022 11:24:00 +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 1019A40A87 for ; Mon, 5 Dec 2022 11:23:58 +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-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-362-sP--NKHjNzqBmYfa2z0t1A-1; Mon, 05 Dec 2022 05:23:56 -0500 X-MC-Unique: sP--NKHjNzqBmYfa2z0t1A-1 Received: by mail-pl1-f199.google.com with SMTP id j18-20020a170902da9200b00189b3b16addso13119066plx.23 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=IYImrKN9ioGdi/VQhObOl4uT3HOx2T3kYOl8jlBgPJ+FWaB9NFgd+PHW6/LG+YzpQx UM0o4BJdITrlFgveOtr9teE55Kj0rfwK54VgfDOZ+a0OchIM08fj4+l3Os0jWQqiTkBG t2hjt5rRDOE8pmqlHoGDY4aftmAPBovlkNyKHB/NFAfOtNfasOKV+El/D5lELkfMlUpM SiE5gHJ0o9vB5gK7ENXvjxdaCvKFLDWeI+u7sn1rn5BPpSxzfLsQnMr5lBjgRYQh+/co eR/NTua38PEY0tUuesLfZxdFKAmLL1ZO7rD9MmKrD3aWYuxjHfT2p5KZBkh08d2JWIwr h82g== X-Gm-Message-State: ANoB5plp/AKlgkclwLXxeBYbbSVEmtGUoAbx8Y2KakJe4d++G2EebeVF oj2LBf3S9w3j+C86Z+j2Eu4TRS85lTG1PSroSweC5wha0D52TJz5OxKpCWnOAdZOLd+NTUXbXH9 wyrMpXOCEZwW1TQ7qCQ== X-Received: by 2002:a62:f94c:0:b0:56e:174e:efdf with SMTP id g12-20020a62f94c000000b0056e174eefdfmr83723079pfm.29.1670235835796; 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: ci@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-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