From nobody Mon Sep 12 01:16:29 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 4MQpb21w0Dz4bxNY for ; Mon, 12 Sep 2022 01:16:30 +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 4MQpb15PkSz3rP8 for ; Mon, 12 Sep 2022 01:16:29 +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 4MQpb14LCSzq4t for ; Mon, 12 Sep 2022 01:16:29 +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 28C1GTmO023511 for ; Mon, 12 Sep 2022 01:16:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28C1GTi3023510 for uboot@FreeBSD.org; Mon, 12 Sep 2022 01:16:29 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 01:16:29 +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=1662945389; 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=lxuhdN09mrUQjbijrdArE3AT/ZOMqKkBl2b4AFo0oh8=; b=d+M6zwQiN7BbjYtB+wh2FbSR/yJVH9cHg0tELp4OO3f2Biv5j+LaKv4RZ1e2A1QT0BFamH N42YAxGTYEebU9a/gd5s4FlSs7zqvCo9jhLmTj607ZF90UIk2bnvX+ajgxnDYJaySVINg/ zAC5ANBxFqSFSOccpl03oF2zG9xHs06z1Kaw1+MQCbwq0LvZrIospcH8Zwb4Ih8I1wh/76 fmKTLrLCt7xlWerM4RznkyADDpU7hDL3C7MRjZ14KsDl5E3tE1ZPk8gDyvyOFdL5TJQsF5 bfdgzZflepH/moKsbWEYQ8T1fBKY0shAp0uvHZ/wAdcYTkoKi0Ey0Th2SdZ0fw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662945389; a=rsa-sha256; cv=none; b=CmVkqeR3MhwZ2prx6n+tAXFXph0tQKu1+usZmwKxoeDl5/Pk6Vjp7lCHQyRL4k1Y70jP6q 3FA/iWD5dYTqwgTXzsxdZmNojz1SibArBcYnf0u8Zp+Zyq+RGbDzeYCxUPR0ugtAVDq2bV Se/Rnso0Xxoe+MdOt1EGiycnN5gdlisSCubbwAx21WO8wFb3N7S3KYfWmWoEuhnCbY5MdP eikrV8E6PWFeELiTOi5KC64aW59uyWASfRmV49dRjV8X/ZU9uN3wujPeVTVcvvrEomfgun QMc1ZbbZzTZr03/QQOH5O9q+MXDAZYpqiGxRR1/AoOe3BOjJbSFMmaCkLXYSuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263543 --- Comment #18 from Mark Millard --- (In reply to Lorenzo Salvadore from comment #17) FYI: compile problems are not the only ones around. The new: https://lists.freebsd.org/archives/freebsd-uboot/2022-September/000295.html for [package - 131arm64-default][sysutils/edk2] Failed for edk2-fvp-g202202_1 in build shows a failure reason: ld-elf.so.1: /lib/libgcc_s.so.1: version GCC_4.5.0 required by /usr/local/lib/gcc11/libstdc++.so.6 not found Even main does not have GCC_4.5.0 in /lib/libgcc_s.so.1: # strings /lib/libgcc_s.so.1 | grep GCC_ | more GCC_3.0 GCC_3.3 GCC_3.3.1 GCC_3.4 GCC_3.4.2 GCC_3.4.4 GCC_3.5 GCC_4.0.0 GCC_4.2.0 GCC_4.3.0 GCC_4.6.0 Until/unless FreeBSD makes /lib/libgcc_s.so.1 have the symbols that aarch64 gcc/g++/libstdc++ actually requires under various conditions, it takes linking against the g++*'s specific /usr/local/lib/gcc*/libgcc_s.so.1 instead of using /lib/libgcc_s.so.1 when the activity happens to hit those conditions. EDK2 and other things around do not always do this. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=