From nobody Tue Sep 13 22:42:17 2022 X-Original-To: ports-bugs@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 4MRz4B3Gdjz4cf5V for ; Tue, 13 Sep 2022 22:42:18 +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 4MRz496nwTz3lHs for ; Tue, 13 Sep 2022 22:42:17 +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 4MRz495vqCzT9b for ; Tue, 13 Sep 2022 22:42:17 +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 28DMgHdP050788 for ; Tue, 13 Sep 2022 22:42:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28DMgHil050787 for ports-bugs@FreeBSD.org; Tue, 13 Sep 2022 22:42:17 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: ports-bugs@FreeBSD.org Subject: [Bug 266404] sysutils/edk2: on aarch64, edk2 fails to build for FreeBSD aarch64 libgcc_s.so.1 issues Date: Tue, 13 Sep 2022 22:42:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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 Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: uboot@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663108937; 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; bh=NIDI2ncgV1R+BfltFuhamZY+StPC6mKcV5zSu5bjboI=; b=Q3GB6iA2h/znKL3+bhzd36JPcRb1eoF76JNfpWmC304gyfDLBbrImof1ozdVHd6iDz3s71 iQZfl+97or5TZvCQTffVioTcrFE8RIdeu9KwcTzGf4suXj8JrRwc6oO2E/oTyhixS6RDZU a/Ppe/xQRnMT/wD9JQDzek/tLEfW89Dg7fqX4p3XqkTOXMAFU0gwI45WsTEn/3Qlw2JB+O JzoLRl+tAQm3aov5vZ4DTdHXoJkhSeJb7u4oU2gC/W/tdtbrn5UUQyXPBlnxosMnw/ynCp ipKygSG5wYCMkhUjUq07drOFyzQvVBzVA+AgDeH5Q4QfuLchUyEcdbNhK9TkYg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663108938; a=rsa-sha256; cv=none; b=XOGwYMKNxvaji8U9AY9Azvx8AKjCbBHUo4wAhhocaKbD6sH7ZaoxVl0E0eNQY2JiLvsYmc unsXwv7K4NRe81ymeqiDy3xDzoB8i6m9bGcbzEjtnFb/FQY/3A29vu4QwFkGfKKfpv2aAp 1MR1cPLZhFJohdAO6SVr2qy2Z6R6OtH6XE4suqtJj1OiC1ehlWcCnv7gRiGrBTDfOwB+oj WbjiM4qJGWG9HZWxFxedJfT3SL1aFj4JPcQtvSmFIIotIMY2i08GXPTkBPHtdRzRsqu5ex xr3cVNqplfKa6TIKLTfStUzkDDAfBHBz0z+rXtlrMA8vZv7ez4ZX4t1XBBRcwQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266404 Bug ID: 266404 Summary: sysutils/edk2: on aarch64, edk2 fails to build for FreeBSD aarch64 libgcc_s.so.1 issues Product: Ports & Packages Version: Latest Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: uboot@FreeBSD.org Reporter: marklmi26-fbsd@yahoo.com Flags: maintainer-feedback?(uboot@FreeBSD.org) Assignee: uboot@FreeBSD.org Created attachment 236544 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236544&action= =3Dedit Update the edk2 Makefile to use /usr/local/lib/gcc*/libgcc_s.so.1 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.=