From nobody Sat Jun 19 22:40:33 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4444211DCCC5 for ; Sat, 19 Jun 2021 22:40:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-55.consmr.mail.gq1.yahoo.com (sonic315-55.consmr.mail.gq1.yahoo.com [98.137.65.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4G6rNW20Xkz3Br5 for ; Sat, 19 Jun 2021 22:40:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624142441; bh=jQz3cHn0rLFyyJJ3jJkdKiKK7JJ8oZCbdHOQo4ZbfLc=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=dBvdSXjua6xQa9lV/bjbxE0mAda6XQBJuf3sUaWgnfDE0b0gmowTha5S2BJDdYpLURWwKSNa7umXpx8z82Jsy4tsfIjKehUJunzVtyY5liGDdT/HxFCO3foSY6ik94UdEtdKo+0HBgsvWIHbnSRKDPCT7McqBeh9sNWvFKCfnPz6EUqJ/Hushi5HRI3Ei1CynzOmSm6JFzpv0PHbIXNlFCMmZXIINTLEb3hw2QHXWlX4fZzgZR9xtDjo9nxHllheZP6gN74FhY9RajNBYqs28o75zNNXeh1/kN1XXxzL7kxA/ScVvTIR+5GIZBjY8rmUbqwRofSB7RjFU29eXoiLIA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1624142441; bh=dTPH45HHyerfovqekcmeVnvsKTdPDa8Cql417tdNfR1=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=QgcZjmsDCv1T/hGnx8b33D+m5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fDgeS.6vAMrhShnhqUPO93AYV2JYLzV5NKObrlPyXLgV0X9B7FtoFnaN_P0uw75 j1grTCSE7P1dvRJD6flcnZcocs3ja.7gmg23XNQ5vQ8K7F5mD07xJBIc5z6X5snuq1x3IylfnbFC adC1XmF0Pt4r28LwH39MTpwVGf8BVyeqEhvOMCgpknE8MhIP2F.ocSMBa2WIVeCb_IO.PZZiw1tm sns1zAChz9CJBxp062NrIoAzg8RdVOkwFUpNaqFWCX7VCK0PdLPNdDvWjZlcuVL0vo63okaDN0tt BTh3XACc6HIzVfaxQeadQ49AxtrMaxBmK6MMYjkQPVIwW2t1B9L0a4bJ8z0e7h4KxM9a3lmCHyP6 oKjk9O9JHikZgAa.IiExy7Ew91ujDN99efJOmN38edG0hl1RD0ippy.uTMMk7e4ZW3syO0GP0qxI x24Y6QjL3LlUj8mdk9n_z3K_6T0aJ2zg6xIZ7ZDbSfqHun1NQVEny6G87Ru2GG2D3cdz3ZpMAQBA XgEvJT22B4wtZgvQ3SRjMETmpmGZMaRhzauVoPX6gc0s.abW7uwXU7iaZVFzF37qt5pGfzO6dF86 wlKWCHV4v8l3ALWEY9xjXInNLTtsmp1Y.NdInrTunZfPaITHVtgoRVUO4kOMf_wmZe6z86VJimVn OF7bvZ7CAWlJ7OLgL4yZHVf6IohPOIWaVCDZwJR69jQ6wPO83nWFP4IcQeOg4BFIjJnqpswkKLpX yTDkmpysSjhx6G2U35Qn5r6ZyzY5QAF17U66k X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Sat, 19 Jun 2021 22:40:41 +0000 Received: by kubenode538.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6468768d9166b94415b632a3e8155ef9; Sat, 19 Jun 2021 22:40:36 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: sysutils/edk2@??? port futures: will need updates for gcc11 based builds Message-Id: Date: Sat, 19 Jun 2021 15:40:33 -0700 To: FreeBSD ports , freebsd-uboot@freebsd.org X-Mailer: Apple Mail (2.3654.100.0.2.22) References: X-Rspamd-Queue-Id: 4G6rNW20Xkz3Br5 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=dBvdSXju; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.31 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-0.998]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.65.31:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.65.31:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.31:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.31:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-ports] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-ports X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N EDK2 fails to build via lang/gcc11-devel (or lang/gcc11). But it turns out that EDK2 uses an external git submodule that is a source for why. That submodule has code that changed a header to use the newer C variably modified types for a couple of functions but did not change the function definitions to match. gcc10 did not report about this but gcc11 correctly rejects the combination. brotli/c/dec/decode.c:2033:41: error: argument 2 of type 'const uint8_t = *' {aka 'const unsigned char *'} declared as a pointer = [-Werror=3Dvla-parameter] 2033 | size_t encoded_size, const uint8_t* encoded_buffer, size_t* = decoded_size, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from brotli/c/dec/decode.c:7: ./brotli/c/include/brotli/decode.h:204:19: note: previously declared as = a variable length array 'const uint8_t[*decoded_size]' {aka 'const = unsigned char[*decoded_size]'} 204 | const uint8_t = encoded_buffer[BROTLI_ARRAY_PARAM(encoded_size)], | = ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brotli/c/dec/decode.c:2034:14: error: argument 4 of type 'uint8_t *' = {aka 'unsigned char *'} declared as a pointer [-Werror=3Dvla-parameter] 2034 | uint8_t* decoded_buffer) { | ~~~~~~~~~^~~~~~~~~~~~~~ In file included from brotli/c/dec/decode.c:7: ./brotli/c/include/brotli/decode.h:206:13: note: previously declared as = a variable length array 'uint8_t[encoded_size]' {aka 'unsigned = char[encoded_size]'} 206 | uint8_t decoded_buffer[BROTLI_ARRAY_PARAM(*decoded_size)]); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (I'm not claiming that is the only issue but it is sufficient to stop the build.) I know that there has been activity at the projects involved to deal with such, but I've not been tracking the progress. NOTE: My build tests ended up using lang/gcc11-devel instead of lang/gcc11 because Mk/bsd.gcc.mk still has the code: # A concrete version has been selected. Set proper ports dependencies, # CC, CXX, CPP, and flags. V:=3D ${_USE_GCC:S/.//} . if ${V} =3D=3D 11 _GCC_PORT:=3D gcc${V}-devel . else _GCC_PORT:=3D gcc${V} . endif =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)