From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8EAF7A04C2; Mon, 25 Nov 2019 11:57:50 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6EEAE2952; Mon, 25 Nov 2019 11:57:50 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 31FCC28EE for ; Mon, 25 Nov 2019 11:57:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574679467; 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=9t3JBx2IdAir6Ohox6xLg25/kRTkCP+qGd8G87y85ek=; b=Zn0LDcFgqy+9bu1Ku9E2MDcG1dMX9QtOzb40PeqMT7BuctDAfbybGiEKUWvx3H3yj/msJp 8IydJpuL+EV6zVzNlXrywOG2FKAu69K4YuAdRT2oJKKCh8QEXQq2gr6gygNvXI23mBgTQG vCuMe43yC5q4iFWegA7FCWSAwCDSXUg= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-202-qV2g16RqNSSNBT7JMepnDg-1; Mon, 25 Nov 2019 05:57:44 -0500 Received: by mail-vk1-f197.google.com with SMTP id i124so7242334vkc.2 for ; Mon, 25 Nov 2019 02:57:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MPS5WWS75ERaFu6nEbUjWt8qSQYnkm/f3NZTW7ZbbEw=; b=m+2UyFqo0PuIMZ4axrvUVMkzhYL1X+OhK8Xz8GGr+Di8RRpndmoMry14UAJrew9ruD 3VFlEx+K3WrODUBYsCf1k4TaFnSDCssTeKpVij7J3Ch+nYOahPRMTSEAODEZTNQ0nd/2 8qyHQ+A/uHa2WJwYbNWsbnPD1bacY+fWYTaozQIKWbwCqz80ZuMGi82AzYrZZ8zH7FDB /VQYJjwRXbl3pJvRyJSTlXWYLwyc2a6isQJdkKLS9i1mEhgrUyz4psUwbmyfH8SUsD27 LcvtLg6igvz7eJbSQAo6vNOa4Q/fdAFVdGwrSNnP+8HqlGONhX6+WeTZlvkuffPpcwSj 6+0Q== X-Gm-Message-State: APjAAAVFuarbmBoLR0XuwV1P1f3VfUjDIsLnbL5Bs1L8o9Tw+hPf0a76 IvyWUF9M6aGCJQfoCvWpwofuZINOIA/I410Jkwg8eGo0AZIPBCkDk3vfQcQUi6lonFdtKNOiNJx 2U+Bur1uIGNSYbzKq6w8= X-Received: by 2002:a67:f3c7:: with SMTP id j7mr18474980vsn.141.1574679463962; Mon, 25 Nov 2019 02:57:43 -0800 (PST) X-Google-Smtp-Source: APXvYqyp6W3NGE2YlY3cnWBUAlj0ejTaYgFKGILvK+v2NzHzSFtaTg7BuUP8RUNWz+xD6lOy1zLhYn2qnlpHol3CANw= X-Received: by 2002:a67:f3c7:: with SMTP id j7mr18474967vsn.141.1574679463656; Mon, 25 Nov 2019 02:57:43 -0800 (PST) MIME-Version: 1.0 References: <20191125081007.12396-1-david.marchand@redhat.com> <20191125081007.12396-2-david.marchand@redhat.com> <52d83c50-ec1e-c7d2-f757-bfa8482bf968@solarflare.com> In-Reply-To: <52d83c50-ec1e-c7d2-f757-bfa8482bf968@solarflare.com> From: David Marchand Date: Mon, 25 Nov 2019 11:57:32 +0100 Message-ID: To: Andrew Rybchenko Cc: dev , Thomas Monjalon , dpdk stable , Neil Horman X-MC-Unique: qV2g16RqNSSNBT7JMepnDg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH 2/2] buildtools: fix build with coverage enabled X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Mon, Nov 25, 2019 at 9:29 AM Andrew Rybchenko wrote: > > On 11/25/19 11:10 AM, David Marchand wrote: > > A compiler can reuse a variable name and prefix it when instrumenting > > with coverage. > > > > Example: > > $ make defconfig T=3Dx86_64-native-linux-gcc O=3Dmaster > > $ make EXTRA_CFLAGS=3D'--coverage' O=3Dmaster > > [...] > > CC rte_flow.o > > rte_flow_dynf_metadata_offs is not flagged as experimental but is list= ed > > in version map > > Please add __rte_experimental to the definition of > > rte_flow_dynf_metadata_offs > > > > $ objdump -t master/build/lib/librte_ethdev/rte_flow.o |grep _offs$ > > 0000000000000000 l F .text.startup 000000000000000a > > _GLOBAL__sub_I_65535_0_rte_flow_dynf_metadata_offs > > 0000000000000620 g O .data 0000000000000004 > > rte_flow_dynf_metadata_offs > > > > Protect against this by adding a space character in the pattern. > > > > Fixes: a4bcd61de82d ("buildtools: add script to check experimental API = exports") > > Cc: stable@dpdk.org > > > > Reported-by: Andrew Rybchenko > > Signed-off-by: David Marchand > > David, > > thanks a lot, it solves build problem. > > It does not solve experimental symbol inconsistency problem in > markup and map file, but it is a separate less critical > problem. We have lived with this situation on experimental variables. So yes, the priority is to fix compilation. I will see if you can do/need something about the variables. Thanks for the tests Andrew. --=20 David Marchand