From nobody Sun Apr 24 23:44:03 2022 X-Original-To: uboot@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 7CFD8199C7CE for ; Sun, 24 Apr 2022 23:44:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kml8z1X8Mz3R81 for ; Sun, 24 Apr 2022 23:44:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 147BB10314 for ; Sun, 24 Apr 2022 23:44:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23ONi3jl087712 for ; Sun, 24 Apr 2022 23:44:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23ONi33I087711 for uboot@FreeBSD.org; Sun, 24 Apr 2022 23:44:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: uboot@FreeBSD.org Subject: [Bug 263543] sysutils/ed2k: Fails to build with GCC 11 (all flavors) Date: Sun, 24 Apr 2022 23:44:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: uboot@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-uboot List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-uboot@freebsd.org X-BeenThere: freebsd-uboot@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650843843; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KnW82XD7+ZkP1xulQSUYD+91iRyDi3SxO1yMsU0ECN0=; b=j55vHMaBHJkdKMHNI79ZQdlvALMsCGXEd+A8VsTn6LG49kLJWdMXloCVjFajECTpdJ1gdm 016ZpWRLhyZKpoRaPOObxgIcQaAgPlzWQedin00qYIOmB+PCYt43V69rjvRmroIQNRWpM0 kymOBvnNkrygA13S1TyMHHWy2JGdIri9cpvGjq2yjEHE0BT48BM1mwsB/E9JBAE7mKUFKv CDzVRliBVYSfuMoPg9jByGR4/Pko1pGaXuYx8Y4cLca++hlZsW4SEHyz1xE94VSNYLhq82 GfmPh8TSVJ1OLBiYN9/i6dBw+/tEmb2zQ37zWSmVS3SDyG5yKqmHl9F+UVINjA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650843843; a=rsa-sha256; cv=none; b=Zdh8au9UE09ZXDWG2vH0bhlja5lP6ixaylGytAqVp8EtBHrpLq6IfkMKK3cQcxuWIXjf8h QOgmgqfzwkgmzU/2+WUXtGiQiy/IVDNrj+1EMxZz/gBku7nCEyvJZqv4Mol4jAb7CsV1mG P90kF09pOr/Zsp3p6zOZ4QOktWV+cBUUwoML+i8yDUYAKxY9c4Q3F9pFJzzI728RsAnXP7 mr72opXhaq8j+wr52728oQo26KV59pHXbx0TI0FMz2tGuhLnHoLM7AVP2hAhJSFhrOGAq4 nF+giWL9Q65egEX5qt0dqY+hMhi5Ju2TT5gVY2eWmalUmN5O1pBhY94GqqjKDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263543 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #1 from Mark Millard --- Some notes on EDK2 being odd, making sysutil/edk2 also odd for handling EDK2. (One point is that the invalid C code involved is actually upstream from EDK2. But that is not where this note is focused.) EDK2 is unusual in that it does not define any release that is good for all the platforms it supports at once. EDK2 also is structured using submodules for upstream, expecting a live use of git to get the upstream materials. This actually plays into how releases are generally handled by downstream EDK2 projects that put their code into EDK2. For example, https://github.com/pftf/RPi4 has edk2 via submodules (and so recursively on up stream). The submodules pick out a known/somewhat-tested combination of commits for the upstreams, including edk2 itself. There is very little else to https://github.com/pftf/RPi4 . Most of its representation is in edk2 itself. There is also a https://github.com/pftf/RPi3 that works similarly but that is based on a different set of EDK2 submodule commit points (and so recursively upstream). Turns out that https://github.com/pftf/RPi4 is referencing EDK2 modern enough to build under gcc11 but https://github.com/pftf/RPi3 has not progressed that far yet. But far more than that is involved in what commits the two use out of EDK2 (and upstream). Another issue is that different platforms can require a different subset of all the edk2 (and upstream) submodules. For example, https://github.com/pftf/RPi4 omits at least one submodule required for riscv, if I understand right. Picking out a release for a platform generally requires tracking a downstream project for the platform, even if is is primarily for identifying commits of EDK2 to use. I made the below for matching v1.33 of https://github.com/pftf/RPi4 I only include it for illustration. It is probably not appropriate to all the flavors the sysutils/edk2 port claims to target. # more /usr/ports/sysutils/edk2-pftf-rpi4/distinfo TIMESTAMP =3D 1650175003 SHA256 (tianocore-edk2-v1.33-edk2-stable201903-4059-g79f2734e5a_GH0.tar.gz)= =3D d27d53d02772beddfbe7dd3e7d094a6786302b076f95668645024f07b9b6431b SIZE (tianocore-edk2-v1.33-edk2-stable201903-4059-g79f2734e5a_GH0.tar.gz) = =3D 14223044 SHA256 (tianocore-edk2-platforms-958fc02b15_GH0.tar.gz) =3D f94257ab457a0344247fa79e433a14b9bb22abf5007e5507d5fc50cc76e79aac SIZE (tianocore-edk2-platforms-958fc02b15_GH0.tar.gz) =3D 10340955 SHA256 (tianocore-edk2-non-osi-0320db9_GH0.tar.gz) =3D c9b2af563d8a919b38895c649858515c71226cb24c171f3de891d72e35c2875c SIZE (tianocore-edk2-non-osi-0320db9_GH0.tar.gz) =3D 18901823 SHA256 (openssl-openssl-OpenSSL_1_1_1j_GH0.tar.gz) =3D 22d6588e4a7c5ad48fcac2fbf1d035bd43258c22a49457dad0539ded0651b4d2 SIZE (openssl-openssl-OpenSSL_1_1_1j_GH0.tar.gz) =3D 9994760 SHA256 (ucb-bar-berkeley-softfloat-3-b64af41_GH0.tar.gz) =3D f22bf52cc980b122c663f2e22f8098fa60d8e468e0095f1da58231235a6b324e SIZE (ucb-bar-berkeley-softfloat-3-b64af41_GH0.tar.gz) =3D 148768 SHA256 (kkos-oniguruma-v6.9.4_mark1_GH0.tar.gz) =3D 7f7576c926f7d4a071d594a01691c477bbb9391df250378bd5e1c003d42b4318 SIZE (kkos-oniguruma-v6.9.4_mark1_GH0.tar.gz) =3D 592141 SHA256 (google-brotli-v1.0.9-36-gf4153a0_GH0.tar.gz) =3D bd103cee96d67e4fde08989316a86309e0e5498c346d3f98efbd94bce3b7f6ba SIZE (google-brotli-v1.0.9-36-gf4153a0_GH0.tar.gz) =3D 512034 The bad C code that gcc11 correctly rejects was in a prior vintage of google-brotli . (gcc10 accepts the bad code without complaint.) Given all this, it is not obvious to me that sysutils/edk2 in its current state should block progressing the gcc default to gcc11. Nor is it obvious what sysutils/edk2 is in an appropriate state for building reasonable platform-specific edk2 instances. In my view tracking the commit usage of some downstream project that is platform specific should be done in order for edk2 builds to do platform specific version tracking. --=20 You are receiving this mail because: You are the assignee for the bug.=