From nobody Mon Sep 12 18:00:09 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 4MRDs619flz4btjN for ; Mon, 12 Sep 2022 18:00:10 +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 4MRDs56zvrz3MSQ for ; Mon, 12 Sep 2022 18:00:09 +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 4MRDs55xzVz13yk for ; Mon, 12 Sep 2022 18:00:09 +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 28CI09mJ036762 for ; Mon, 12 Sep 2022 18:00:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28CI09la036761 for uboot@FreeBSD.org; Mon, 12 Sep 2022 18:00:09 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/edk2: Fails to build with GCC > 11 (all flavors) Date: Mon, 12 Sep 2022 18:00:09 +0000 X-Bugzilla-Reason: AssignedTo CC 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: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: uboot@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? X-Bugzilla-Changed-Fields: 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=1663005610; 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=LMJNzjUDsWkU5NQ3oKaaBPfGfSmco+nBJaGNnaAf0sg=; b=pSwTvBYFFpCIxBIJQk6cypxgtKzYFTZRgCew7mLXV1rWcX7MmePuctsr+07H8KBYFrdaRM 5Lc/OqfHaSUNCWlkhgzIcn7WBt7SzGy1RDHPDWWTp/M0R09iclJ6BCmYTipVImh+fa8RtZ I4Ul1LziNd9XAIWML6gpnhR9A2OpH3zljqF/+7g6wWLMl1TJeSOTgOSXnEmOxgdq8gulHr lxC2IoUp/Rykm1V3FIfYHoE8lZeEep3dS0wFx5Vw3aK2FlWyAAWQQr7cvXpHptc/n/ptnO BphVSVFo6123YNY2xIZsyJ7Wz5EOETt+4T9DOrUJs1bLt4k2eEyNJFeUeYle9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663005610; a=rsa-sha256; cv=none; b=PNUSDFzJ4qF2ZeQAQGXfIVxGfdAhx1+3pANC6B7lUeoRdVqQTXswdb8r7+9z28ROCTYE3+ /IuXS/0EwVfHcNkTn06pCgxK2XKpF40J6LU1VG1TlP//0BN/fXFkgrbgNFJvCei1TrGu3Z pFRLqc5d5NBSmZBn2DWp6sNeybA9q4dmdwwfZ8IiZoYUODTFdXD645dTg+HPkpER4qye4I HRM0RD5L3nJFejk0Op+Fl/yWCHUgxbd6dPj/HS6XZBShwMd0sG0T47zDIdg9Gz0Hq2dk03 15pCTgWktnYQ9AuGAlxxUjwkoJuPiXmlm36sU+34FxLaWLE4acNvEkwQ3J1eqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263543 --- Comment #20 from Mark Millard --- (In reply to Lorenzo Salvadore from comment #19) My comment #17 is related to what I'd referenced in #2, for sure. I should have referenced #2 explicitly. Agreed that there is no need to revert to gcc11: it has the same issue since the problem with /lib/libgcc_s.so.1 use is on the FreeBSD side of things for aarch64, FreeBSD not matching what gcc has long defined as needed for the likes of libstdc++ use for aarch64. The mismatch for a tier 1 context is unfortunate in my view. Agreed that the addition of the likes of: EXTRA_LDFLAGS+=3D -Wl,-rpath=3D${LOCALBASE}/lib/gcc${GCC_DEFAULT} is an additional change. (The specifics would not automatically track potential future USE_GCC=3D use from what I can tell. I'm not aware of a technique to get general automatic rpath tracking. I had hoped someone would know a way to do so. Otherwise the Makefile content is easy to end up mismatched. This applies to more than EDK2.) I'll need to synchronize my ports environment to have a context to deal with setting up a tested patch based on GCC_DEFAULT. So it may be a while. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=