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 794F8A04FA; Wed, 5 Feb 2020 13:51:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B68421C1DB; Wed, 5 Feb 2020 13:51:07 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id C59271C1CB for ; Wed, 5 Feb 2020 13:51:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580907065; 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=fFjtr+IKy/hAZkW90Sh2FjGNVkjpA0sd2oV5iw8jK1Y=; b=LxD1c5nL1aFWlUTUkU3fFxa32wjTWUJTR23NiiUv/SBGl79GpDOt7Wjb6sZIdY2lB5K5Vw Gs+bGiLYZ1hSsxkfJ3cjvGbE/UoI/G8SRpSVU4A+IFuLOw8QZtHb8f6mgTKSOEuGbBpmXt THyhj3gJebJ0Hw0buV7q8xgvTCKympc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-389-hq4cSgTvNKyYAbMn5bPy8A-1; Wed, 05 Feb 2020 07:51:01 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8C22ADBA3; Wed, 5 Feb 2020 12:51:00 +0000 (UTC) Received: from aldebaran.drizzt.lan (dhcp19-189-71.ntdv.lab.eng.bos.redhat.com [10.19.189.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id 61C1C790C0; Wed, 5 Feb 2020 12:50:59 +0000 (UTC) From: Timothy Redaelli To: dev@dpdk.org Cc: cristian.dumitrescu@intel.com, stable@dpdk.org Date: Wed, 5 Feb 2020 13:50:43 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-MC-Unique: hq4cSgTvNKyYAbMn5bPy8A-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] [PATCH 3/3] app/test-pipeline: fix building with GCC 10 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" 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: 48f31ca50cc4 ("app/pipeline: packet framework benchmark") Cc: cristian.dumitrescu@intel.com Cc: stable@dpdk.org Signed-off-by: Timothy Redaelli --- app/test-pipeline/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pipeline/config.c b/app/test-pipeline/config.c index 28ac9fcc0..42c6ed9b2 100644 --- a/app/test-pipeline/config.c +++ b/app/test-pipeline/config.c @@ -42,7 +42,7 @@ =20 #include "main.h" =20 -struct app_params app; +extern struct app_params app; =20 static const char usage[] =3D "\n"; =20 --=20 2.24.1