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 04275A04DB; Thu, 15 Oct 2020 14:55:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D57881D621; Thu, 15 Oct 2020 14:55:38 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 7891A1D5D0 for ; Thu, 15 Oct 2020 14:55:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602766536; 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=MpVqZLNoioIUPfh3uKzszcu0e/fTrtDTNZEFqOWsBxg=; b=KaCFZb6YhubyeLu6Tt3Z8CBW0haQXh4iYvA+OxpKUF+Y6wJmyLE34fvKOGKQHI5JQoCuhj FB/0XQlT6+aSzK1ijftt9ObJDLe1U+LkliwMtvFrqMj5/YuZpkOKb7IvYyNcHJwuCMQAcv EeLNdfi/VyZtCgFu2wh9psddzEaPY+w= Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-213-ed4r62-cOTKxMFU2a2LY3w-1; Thu, 15 Oct 2020 08:55:34 -0400 X-MC-Unique: ed4r62-cOTKxMFU2a2LY3w-1 Received: by mail-vs1-f70.google.com with SMTP id s2so909628vsj.21 for ; Thu, 15 Oct 2020 05:55:34 -0700 (PDT) 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=MpVqZLNoioIUPfh3uKzszcu0e/fTrtDTNZEFqOWsBxg=; b=mFy/GQtpHBf0EGoJVKZcEdi5co6HM2wrTjgyamxXJ4Zyo+7AivNud19GWnxfyrM5u/ KBoV/qvrkteBNd8F+I1n3B8e/rh3fjjH5Zj6hNBXrvA309tNiIdMnVSYpQ94YeJP6wEF PC3cqJwTemXVQ0oygYlw2KCgadNEOmcKVJL6Josk9cmAm+ZH9UXeVVQZUE2AXhYWEMVk fYwqAlX90IpELkliJivUSUXe72eBxNtxXM5PffC4ov/YXyyyJJ26m0Zc3tS2MaVslT6d 56l2h7EIDxatBwHvfS2pi5rNu10r1r3bugnkbOG+1UVuRwIXR2W0yZh57sebSFAHhxSO F8uQ== X-Gm-Message-State: AOAM53247ofY8mDr4LHWmDHNA0p8LkuWIoLzpOhQWjPElpiHNvMbVlAi /LRP7LyPVoOsgZkMPfrVclDMpghBAo2POn9lPFP0YMbtey4ETeb2qKyFB8mvjSiMs286WF7PgiS GPkTlyZ70cItNVWyd44E= X-Received: by 2002:a67:68c9:: with SMTP id d192mr2320467vsc.5.1602766533965; Thu, 15 Oct 2020 05:55:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycH3DmoN7FMMa2wRm1VzZyDqD+ojitrqx1F1w6ROvR4HuGr1kUqlmG/8FL6GSpTPEM0jf750evSpuc7dUc64c= X-Received: by 2002:a67:68c9:: with SMTP id d192mr2320415vsc.5.1602766532989; Thu, 15 Oct 2020 05:55:32 -0700 (PDT) MIME-Version: 1.0 References: <20201015115356.28171-1-konstantin.ananyev@intel.com> In-Reply-To: <20201015115356.28171-1-konstantin.ananyev@intel.com> From: David Marchand Date: Thu, 15 Oct 2020 14:55:21 +0200 Message-ID: To: Konstantin Ananyev , Ali Alnubani Cc: dev 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" Subject: Re: [dpdk-dev] [PATCH] acl: fix build failure with gcc 5.4.0 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 Thu, Oct 15, 2020 at 1:54 PM Konstantin Ananyev wrote: > > gcc 5.4 fails with: > ../lib/librte_acl/acl_run_avx512x8.h: In function 'match_process_avx512x8': > ../lib/librte_acl/acl_run_avx512x8.h:382:31: error: > pointer targets in passing argument 1 of '_mm256_mask_i32scatter_epi32' > differ in signedness [-Werror=pointer-sign] > > Later gcc versions work fine, as for them parameter type was > changed to 'void *'. > Fixed by applying explicit cast for offending argument. > Bugzilla ID: 556 > Fixes: b64c2295f7fc ("acl: add 256-bit AVX512 classify method") > Fixes: 45da22e42ec3 ("acl: add 512-bit AVX512 classify method") > Reported-by: Ali Alnubani > Signed-off-by: Konstantin Ananyev Tested-by: Ali Alnubani Applied, thanks. -- David Marchand