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 B9BB8A09E4 for ; Wed, 27 Jan 2021 11:22:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F46E140D1D; Wed, 27 Jan 2021 11:22:51 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id B7F04140D17 for ; Wed, 27 Jan 2021 11:22:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611742968; 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=yTNVng8SgOK1DPd3Q9Ab8UtbRslYsYhN9owRu9UO92E=; b=dLjqZ9o5/i11uAJfGBcsojVXj/2qtL+AhIFDnuq7+m9qs7yCW1dbTkdM9eGkbEmednbP8W CvK/VFK9M9Jn6NgMNxo/9DIt2TaLv3s9Ub5gcqR+rEJEhz8AhJDnGE7eU1lMvemMhaI6o0 jGBZm9FUI+/t3tdywWwuDRDFAfLvmV8= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-375-z1tCS-LJPsuhUTvfX8SrbQ-1; Wed, 27 Jan 2021 05:22:46 -0500 X-MC-Unique: z1tCS-LJPsuhUTvfX8SrbQ-1 Received: by mail-vk1-f200.google.com with SMTP id 138so186742vky.13 for ; Wed, 27 Jan 2021 02:22:46 -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:content-transfer-encoding; bh=yTNVng8SgOK1DPd3Q9Ab8UtbRslYsYhN9owRu9UO92E=; b=fOJ0/nDqMLho9A+HS9mdwe+7CKkDp2d1SXzrqUkE4tmm7uW5iHD/4u95/qOWqHruEN jw3Y6ydWByaGoMLdJovsklxt3VMpGSJdzAC6RRnzLkYb+QNQ5m3wikEgCly/IOWjN+8N vlhyq13hhbeNg1Jcr1vCOp4ik/nNg2IO5w8oPEKV8PdBtkfD3JGlTezuwdLv7pKiAY1s z3pHaGzLfxlADeDqJ7esrsR9Q4i0IjQYdG28U6EgScIy5eNw3jnPbgqLq3qVdt05bgRV mopbKV55bIaQw90q2XFj6uCdau12nBTa5vcsRFSCfCoZyKricNKdESVsY5i1kJo7l3i0 u5iQ== X-Gm-Message-State: AOAM533oX4vxh8Qx8uh0EJblaNyD6IaEzFUDgAFxzekVxA+THWJQYu93 zbwtBTYsnjwMqxa8KfKvE/mflNZjJgPNbETw56fffnS3dvft13XgQAxW4Hyps4MwMOy5RWeTeQz ndFunlHI8wubmjSgGmALrKN8= X-Received: by 2002:a1f:cec1:: with SMTP id e184mr7391184vkg.17.1611742965597; Wed, 27 Jan 2021 02:22:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZ92F/4uJlSe/BbkuxWayxvNq6QMjXcsLor1Fv+/ReK860+W11lFFWovLIOr9Huq+x+Z2DBH0Qm8NTnHLkVhE= X-Received: by 2002:a1f:cec1:: with SMTP id e184mr7391174vkg.17.1611742965382; Wed, 27 Jan 2021 02:22:45 -0800 (PST) MIME-Version: 1.0 References: <20210115095821.42721-1-joyce.kong@arm.com> In-Reply-To: <20210115095821.42721-1-joyce.kong@arm.com> From: David Marchand Date: Wed, 27 Jan 2021 11:22:34 +0100 Message-ID: To: Joyce Kong Cc: Jerin Jacob Kollanukkaran , "Ruifeng Wang (Arm Technology China)" , Honnappa Nagarahalli , dev , nd , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [PATCH v1] eal/arm: fix gcc build for 128-bit atomic compare exchange 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 Sender: "stable" On Fri, Jan 15, 2021 at 10:58 AM Joyce Kong wrote: > > Compiling with "meson build -Dbuildtype=3Ddebug --cross-file > config/arm/arm64_thunderx2_linux_gcc" shows the warnings > "function returns an aggregate [-Waggregate-return]": > ../../dpdk/lib/librte_eal/arm/include/rte_atomic_64.h: In > function =E2=80=98__cas_128_relaxed=E2=80=99: > ../../dpdk/lib/librte_eal/arm/include/rte_atomic_64.h:81:20: > error: function returns an aggregate [-Werror=3Daggregate-return] > __ATOMIC128_CAS_OP(__cas_128_relaxed, "casp") > ^~~~~~~~~~~~~~~~~ > > Fix the compiling issue by defining __ATOMIC128_CAS_OP as a void > function and passing the address pointer into it. > > Fixes: 7e2c3e17fe2c ("eal/arm64: add 128-bit atomic compare exchange") > Cc: stable@dpdk.org > > Signed-off-by: Joyce Kong Reviewed-by: Ruifeng Wang Acked-by: Jerin Jacob Applied, thanks. --=20 David Marchand