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 A40C0A0093 for ; Tue, 19 May 2020 14:58:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 877361D5E1; Tue, 19 May 2020 14:58:33 +0200 (CEST) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by dpdk.org (Postfix) with ESMTP id 1A6821D5E1 for ; Tue, 19 May 2020 14:58:33 +0200 (CEST) Received: by mail-wm1-f48.google.com with SMTP id h4so2947643wmb.4 for ; Tue, 19 May 2020 05:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WSq23Y/VKKIKZ37RzojSiSZ31JhHX0WkJjVNu37sIzI=; b=tc1PQuqFZWfZwEEsdepUjiRASZmt/qJXW52mKi87phowHVJrOOIzg+sRHZRcxYor/y 8MxPSqRBL3+L1tKiaWKRbzp/yiHrkkA3LdXgdO0BN+x9x8uyjb7kr7Ou4YwUcNDiE8Ho rfUEgO5V6ItNLsW6r/3EdBAD7E56QcaEbs3hHXVl1CyoENEfDtJ2Uj1isU0oE6VXL+jg A51lWKiIES6JadUzE/nu0idGY6xZOIWgoU8DFfpIicV39AisiRZX1Ajse3HHJPzMpEfa I83HDo0kNqea4wBxc8mWJ446kRNefUNnfSyH/t5CdgGthO5AiQ+jk7PfxIOHCvqhZDeu +6sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WSq23Y/VKKIKZ37RzojSiSZ31JhHX0WkJjVNu37sIzI=; b=FXFJSz/Bt+rEO9t84OMri4JvlGfQ7dwFADKKJt5DKB207OcstvH+PEUiYqSynMeyJ3 NI/DCKxGmJI9ZMsgwb5mU7lY2f3W3agw4LtFbRMua2+gjwpjUw7oF/+vQ8W0G+yDCPQt RHkiEhOtY9BLCq10q7N/60O+k3P41kZTUw+3YoyMTCl3Ls9Av/8dmtDsF5ouZCQz2/Go TvHsQWVvK/uKX4AMnQu4lEj2Ie4G1Z8Cr1HTKTgV3ucZdQCUwT+PoSfOyXwCgusAeLi3 MgEcoRIS+3FVbefSlDt301w52aq/VGNBT9gZ2IQl+dPCTTSHhcVnL4LbQQjGEXQLn6vB P2Pg== X-Gm-Message-State: AOAM532by+3zq+YTZ2H0hyX+QQEA+jOp5QUuEBhdvtStVZeQSBdF6xvs 6jdxLfu1Lp/bDNRwQAui1FgiUdExrJC4tg== X-Google-Smtp-Source: ABdhPJzsNzlr3Ow0Gs+uu6/kBy85WYimlU4meUSoPIuP7/LfkQ7aN8YvtWFzto26lSeSuPyCxPeO4g== X-Received: by 2002:a7b:c24b:: with SMTP id b11mr5307571wmj.101.1589893112749; Tue, 19 May 2020 05:58:32 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id y207sm4297383wmd.7.2020.05.19.05.58.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 05:58:32 -0700 (PDT) From: luca.boccassi@gmail.com To: Timothy Redaelli Cc: Vladimir Medvedkin , dpdk stable Date: Tue, 19 May 2020 13:53:12 +0100 Message-Id: <20200519125804.104349-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519125804.104349-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'test: fix build with gcc 10' has been queued to stable release 19.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/21/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From ef348e22a0cb1437b297e0f1ffdd7338ca340aae Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Wed, 5 Feb 2020 13:50:42 +0100 Subject: [PATCH] test: fix build with gcc 10 [ upstream commit 53ba646a0a63c053974548cf03a7537538042b85 ] GCC 10 defaults to -fno-common, this means a linker error will now be reported if the same global variable is defined in more than one compilation unit. Fixes: 08e0c7581468 ("test/fib: add performance autotests") Signed-off-by: Timothy Redaelli Acked-by: Vladimir Medvedkin --- app/test/test_fib_perf.c | 2 +- app/test/test_lpm_perf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_fib_perf.c b/app/test/test_fib_perf.c index 573087c3c0..dd2e54db8b 100644 --- a/app/test/test_fib_perf.c +++ b/app/test/test_fib_perf.c @@ -35,7 +35,7 @@ struct route_rule { uint8_t depth; }; -struct route_rule large_route_table[MAX_RULE_NUM]; +static struct route_rule large_route_table[MAX_RULE_NUM]; static uint32_t num_route_entries; #define NUM_ROUTE_ENTRIES num_route_entries diff --git a/app/test/test_lpm_perf.c b/app/test/test_lpm_perf.c index a2578fe90e..489719c40b 100644 --- a/app/test/test_lpm_perf.c +++ b/app/test/test_lpm_perf.c @@ -34,7 +34,7 @@ struct route_rule { uint8_t depth; }; -struct route_rule large_route_table[MAX_RULE_NUM]; +static struct route_rule large_route_table[MAX_RULE_NUM]; static uint32_t num_route_entries; #define NUM_ROUTE_ENTRIES num_route_entries -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 13:56:18.953662192 +0100 +++ 0002-test-fix-build-with-gcc-10.patch 2020-05-19 13:56:18.167500883 +0100 @@ -1,14 +1,15 @@ -From 53ba646a0a63c053974548cf03a7537538042b85 Mon Sep 17 00:00:00 2001 +From ef348e22a0cb1437b297e0f1ffdd7338ca340aae Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Wed, 5 Feb 2020 13:50:42 +0100 Subject: [PATCH] test: fix build with gcc 10 +[ upstream commit 53ba646a0a63c053974548cf03a7537538042b85 ] + GCC 10 defaults to -fno-common, this means a linker error will now be reported if the same global variable is defined in more than one compilation unit. Fixes: 08e0c7581468 ("test/fib: add performance autotests") -Cc: stable@dpdk.org Signed-off-by: Timothy Redaelli Acked-by: Vladimir Medvedkin