From nobody Fri May 17 02:03:28 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+86656+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+86656+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1644863077944801.0737731689294; Mon, 14 Feb 2022 10:24:37 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id AY0GYY1788612xUH2aMQiHa2; Mon, 14 Feb 2022 10:24:38 -0800 X-Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) by mx.groups.io with SMTP id smtpd.web08.33324.1644841748266389639 for ; Mon, 14 Feb 2022 04:29:08 -0800 X-Received: by mail-ot1-f47.google.com with SMTP id p3-20020a0568301d4300b005a7a702f921so11466809oth.9 for ; Mon, 14 Feb 2022 04:29:08 -0800 (PST) X-Gm-Message-State: nYXP8yZFDzsSiV6wCNMMxxe0x1787277AA= X-Google-Smtp-Source: ABdhPJxy+FpZUrG6Mx2/ThgCnoKsh3nm11gFlYcrpT0RnYVs6PMq8zvx9OY3YtTqP3/l6OUPQWJ+9w== X-Received: by 2002:a05:6830:401b:: with SMTP id h27mr4804951ots.144.1644841747103; Mon, 14 Feb 2022 04:29:07 -0800 (PST) X-Received: from localhost.localdomain ([2804:14c:4e0:8b6e:52fb:2837:15d7:e1c3]) by smtp.gmail.com with ESMTPSA id 96sm12361551otv.33.2022.02.14.04.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 04:29:06 -0800 (PST) From: "Leonardo Garcia" To: devel@edk2.groups.io Cc: bob.c.feng@intel.com, gaoliming@byosoft.com.cn, yuwei.chen@intel.com, jian.j.wang@intel.com, Leonardo Garcia Subject: [edk2-devel] [PATCH] Updating brotli submodules to build with GCC 11. Date: Mon, 14 Feb 2022 09:28:26 -0300 Message-Id: <31d3c848b46c5e9297ff25facaa0af9eb9f39d1e.1644838386.git.leonardo.garcia@linaro.org> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,leonardo.garcia@linaro.org Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1644863078; bh=1pGNIwb1onnF3XFy99HjHrzfFMQCiPDFSu+mFHgWPMM=; h=Cc:Date:From:Reply-To:Subject:To; b=Bj++rg+QbYlyDz6BLziYOvnHMHzs2mOh/WSTYT5loKQdl4pbm9y79d9KSadgrvJRGnW tv7S+nydKrr0FVO41WclTlX8TXml1Ji10jIAzzgWKe3AzgC53QGrR0wa5IS9o+CvntlEH OKkydlQvAAdZIbvo4DuSG1w2ngjl+HAc6wg= X-ZohoMail-DKIM: fail (Signature date is -1 seconds in the future.) X-ZM-MESSAGEID: 1644863079364100001 Content-Type: text/plain; charset="utf-8" From: Leonardo Garcia GCC 11.1.0 introduced a new warning for variable length arrays as parameters (vla-parameter). Brotli compression library had issues with this which were fixed upstream by commits 0a3944c8c99b8d10cc4325f721b7c273d2b41f7b and 27dd7265403d8e8fed99a854b9c3e1db7d79525f in brotli repository. Updating edk2 submodules to have these commits. While at it, adding two more commits from the brotli repository to make it compatible with future versions of python as well. The addition of new commits to the brotli tree made it necessary to add more files to the build process of the brotli compression library in BaseTools package. Signed-off-by: Leonardo Garcia Reviewed-by: Moritz Fischer --- BaseTools/Source/C/BrotliCompress/GNUmakefile | 9 ++++++++- BaseTools/Source/C/BrotliCompress/brotli | 2 +- MdeModulePkg/Library/BrotliCustomDecompressLib/brotli | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/BaseTools/Source/C/BrotliCompress/GNUmakefile b/BaseTools/Sour= ce/C/BrotliCompress/GNUmakefile index b150e5dd2b..0e73f8b2ce 100644 --- a/BaseTools/Source/C/BrotliCompress/GNUmakefile +++ b/BaseTools/Source/C/BrotliCompress/GNUmakefile @@ -12,6 +12,10 @@ OBJECTS =3D \ BrotliCompress.o \ brotli/c/common/dictionary.o \ brotli/c/common/transform.o \ + brotli/c/common/platform.o \ + brotli/c/common/context.o \ + brotli/c/common/constants.o \ + brotli/c/common/shared_dictionary.o \ brotli/c/dec/bit_reader.o \ brotli/c/dec/decode.o \ brotli/c/dec/huffman.o \ @@ -33,7 +37,10 @@ OBJECTS =3D \ brotli/c/enc/memory.o \ brotli/c/enc/metablock.o \ brotli/c/enc/static_dict.o \ - brotli/c/enc/utf8_util.o + brotli/c/enc/utf8_util.o \ + brotli/c/enc/command.o \ + brotli/c/enc/fast_log.o \ + brotli/c/enc/compound_dictionary.o =20 include $(MAKEROOT)/Makefiles/app.makefile =20 diff --git a/BaseTools/Source/C/BrotliCompress/brotli b/BaseTools/Source/C/= BrotliCompress/brotli index 666c3280cc..f4153a09f8 160000 --- a/BaseTools/Source/C/BrotliCompress/brotli +++ b/BaseTools/Source/C/BrotliCompress/brotli @@ -1 +1 @@ -Subproject commit 666c3280cc11dc433c303d79a83d4ffbdd12cc8d +Subproject commit f4153a09f87cbb9c826d8fc12c74642bb2d879ea diff --git a/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli b/MdeMod= ulePkg/Library/BrotliCustomDecompressLib/brotli index 666c3280cc..f4153a09f8 160000 --- a/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli +++ b/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli @@ -1 +1 @@ -Subproject commit 666c3280cc11dc433c303d79a83d4ffbdd12cc8d +Subproject commit f4153a09f87cbb9c826d8fc12c74642bb2d879ea --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#86656): https://edk2.groups.io/g/devel/message/86656 Mute This Topic: https://groups.io/mt/89143163/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-