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 3630BA00C5 for ; Wed, 22 Jun 2022 01:17:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2455C40DDB; Wed, 22 Jun 2022 01:17:22 +0200 (CEST) Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by mails.dpdk.org (Postfix) with ESMTP id 2BB244069C for ; Wed, 22 Jun 2022 01:17:20 +0200 (CEST) Received: by mail-pl1-f171.google.com with SMTP id q18so2397399pld.13 for ; Tue, 21 Jun 2022 16:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AvvIl4pBhDd5+Ris7gNeIvAIKl3SrJuyeivpCx+j7hU=; b=Sl6fZ43/d293GRMrwlJ+HEdWoGSevrCRyduAEs5AjvfNfcDgw0ho7P4dWve1cWVTQb pTsepo+pArQoQ/S4KKl4rPiSakIp7qwQNVEtJNdT/n4McHQpTXTreyCNTpC2l58tlTjh uB8i4WY325Xa4Bb5V90rWUDASmSMQkVt00fnvAotwN2E/18OnibdpUYKxj9Kqh4BHnAm bAhKIa2QsgfaKn9BaGZKjJ4X9ZuvqySHZ3NaSKSPbSrOJ8b+2l7tZSIVX+WBcIs65hAI EUYFPzAqWz7rJPax/NgE3mcD1IJb/0h/WPVjVVePEGgbK9YZTTXfixcdKS6ScxagBTQs SsMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AvvIl4pBhDd5+Ris7gNeIvAIKl3SrJuyeivpCx+j7hU=; b=0t6wcPh4GcFS074WLWaVHnBoDRK42C893bRSTVqv8amT6Ur1GroTwWSUNjfBhSLytq Pq2+uKE3JyeMaVel2G/m1A1RH3+Bk/c9xnMhI28/I2rPRumVI+xVvPRa8ID8rhMz+Vk+ 7TzJxS+mMLyI2xyHL2B5hYBL7ztqrLJ99uBdrRIR1gWdBcvbWrmCTMU+fdCrAkvZTfpB GZz3sC1EULJJzdWvzG8x3qoFAZnOiBsz3YH+fzATMOz1grJ+p6JF2EtqrDzzSaE/iDUh sN89NdvpIM2A3ZjVdWHAjtH1OPZ4D5jRgn8db0H+UzBPzEqmChc366qblsLg9b8dV6u2 I7ag== X-Gm-Message-State: AJIora9MvFhs7nyh2lo6jtRUo2SsjNR3nSsx4EFsEjIW6EhDFQe7mqGj mD+nlWVPl096HhEw0zxs5g5NzA== X-Google-Smtp-Source: AGRyM1s0xjapPqCLhhFoqau3aSnynMOQ0kw8cfmp/cIRIss8f0Efs1UF5roIfPudHRKMaXQ0k/CJHg== X-Received: by 2002:a17:90a:c705:b0:1ec:83e2:777c with SMTP id o5-20020a17090ac70500b001ec83e2777cmr365879pjt.89.1655853439241; Tue, 21 Jun 2022 16:17:19 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id 9-20020aa79149000000b00518424f8922sm11894455pfi.77.2022.06.21.16.17.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 16:17:18 -0700 (PDT) Date: Tue, 21 Jun 2022 16:17:16 -0700 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@xilinx.com, stable@dpdk.org, Rasesh Mody , Devendra Singh Rawat Subject: Re: [PATCH 08/12] net/qede/base: fix build with GCC 12 Message-ID: <20220621161716.7388367b@hermes.local> In-Reply-To: <20220518101657.1230416-9-david.marchand@redhat.com> References: <20220518101657.1230416-1-david.marchand@redhat.com> <20220518101657.1230416-9-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 On Wed, 18 May 2022 12:16:53 +0200 David Marchand wrote: > GCC raises the following warning: >=20 > In function =E2=80=98_mm256_storeu_si256=E2=80=99, > inlined from =E2=80=98rte_mov32=E2=80=99 at > ../lib/eal/x86/include/rte_memcpy.h:320:2, > inlined from =E2=80=98rte_mov128=E2=80=99 at > ../lib/eal/x86/include/rte_memcpy.h:342:2, > inlined from =E2=80=98rte_memcpy_generic=E2=80=99 at > ../lib/eal/x86/include/rte_memcpy.h:438:4, > inlined from =E2=80=98rte_memcpy=E2=80=99 at > ../lib/eal/x86/include/rte_memcpy.h:882:10, > inlined from =E2=80=98__ecore_mcp_cmd_and_union=E2=80=99 at > ../drivers/net/qede/base/ecore_mcp.c:541:3, > inlined from =E2=80=98_ecore_mcp_cmd_and_union=E2=80=99 at > ../drivers/net/qede/base/ecore_mcp.c:638:2, > inlined from =E2=80=98ecore_mcp_cmd_and_union=E2=80=99 at > ../drivers/net/qede/base/ecore_mcp.c:742:9: > /usr/lib/gcc/x86_64-redhat-linux/12/include/avxintrin.h:935:8: error: > array subscript 1 is outside array bounds of > =E2=80=98union drv_union_data[1]=E2=80=99 [-Werror=3Darray-bounds] > 935 | *__P =3D __A; > | ~~~~~^~~~~ > ../drivers/net/qede/base/ecore_mcp.c: In function > =E2=80=98ecore_mcp_cmd_and_union=E2=80=99: > ../drivers/net/qede/base/ecore_mcp.c:533:30: note: at offset 32 into > object =E2=80=98union_data=E2=80=99 of size 32 > 533 | union drv_union_data union_data; > | ^~~~~~~~~~ >=20 > Since this code is in the base driver, waive the check until the base > driver is fixed by the relevant people. Even there are two maintainers, haven't heard a response from them. It could be a real bug.