From nobody Tue Sep 13 22:59:26 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 4MRzRy1bPyz4cgwL for ; Tue, 13 Sep 2022 22:59:26 +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 4MRzRx6Zbxz3mRM for ; Tue, 13 Sep 2022 22:59:25 +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 4MRzRx5P0gzTNy for ; Tue, 13 Sep 2022 22:59:25 +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 28DMxP6B062810 for ; Tue, 13 Sep 2022 22:59:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28DMxPl0062809 for uboot@FreeBSD.org; Tue, 13 Sep 2022 22:59:25 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 266404] sysutils/edk2: on aarch64, edk2 fails to build for FreeBSD aarch64 libgcc_s.so.1 issues Date: Tue, 13 Sep 2022 22:59:26 +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 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: 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=1663109965; 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=S5KhoLOrmkHkNEPcnzZKrgnfD7bq2yj08mxwSgsrV7U=; b=s1+li4n0ve1ys70Epi9lyuAvuogWJjhbCfjPyzH5P3sI0hJUnmu1fyWEjL6Fd0tt1oaV6M 21Flzb0/0BEiAK8+VmM6KcJYRef1kHo8OrhECX2O1bqOt04PJU2gCC+MnQbf+qVetvC1ou lD7yyM7D3AyiWCd4QNkmcKTKH64r41CktfRsjqbQT3+GwUA1OwYj6cnJYbCgo4/hzFxbe0 lLJ7l9guvJxK2GFY9bB7Snwesog7wXyfsNizj0F77L4eVEvjAi2K7ZzrZ3SCrzBdPY+uCn hS08ABLamw5LTt1emlGe3htNGxBQJuFU2rrDgq8nH4N/LzN//OIzsJo5as1C9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663109965; a=rsa-sha256; cv=none; b=a8lX02IFMvRK32XIoFpapeZg0tw+VuNBnYG5x+fqD4bA9xqQpYDjUQTnGnjxPsCW7hI39a 6tWrdgoaSWUjdolR9Zw0hu2fETqCmICSnJza/hlxhmMxPc9N2DB7R/45oww9EnUU+zb9h/ gTlJIx983sa2CFLS91k/+qYyXmHUWYgtO3dK4nIAiinSYSxe9Enpkr9kLEnyA73Rv+Dmr/ mnUL8mFSdkcjLRzSqu9CNTH4nO3etSbm6xuo7ZISgnF3bhZhCvyuZWw2hEvLb1IjeFwv6L KPkY6lWUBzs9ODdDDno9svWC5l9U2N5c87EGWBSsoAPUuaLX66WfMh5b3pRynw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266404 --- Comment #1 from Mark Millard --- (In reply to Mark Millard from comment #0) For portlint I get: # portlint -C /usr/ports/sysutils/edk2/ WARN: Makefile: [37]: Setting a specific version for USE_GCC should only be done as a last resort. Unless you have confirmed this port does not build = with later versions of GCC, please use USE_GCC=3D${GCC_VINTAGE}:build+. WARN: Makefile: "ONLY_FOR_ARCHS" has to appear earlier. WARN: Makefile: "ONLY_FOR_ARCHS_REASON" has to appear earlier. 0 fatal errors and 3 warnings found. The USE_GCC WARN is tied to being able to bind rpath to the right /usr/local/lib/gcc*/libgcc_s.so.1 . I'm not aware of a hook for being able to handle such for :build+ possibly picking a newer GCC vintage. The ONLY_FOR_ARCHS WARNs are historical and are for conditional such based on FLAVOR . I replaced some space sequences with tab usage, thus avoiding some historical WARNs. In my aarch64 enviroment I get: [00:05:00] [03] [00:04:46] Finished sysutils/edk2@fvp | edk2-fvp-g202202_1: Success [00:05:21] [04] [00:05:07] Finished sysutils/edk2@macchiatobin | edk2-macchiatobin-g202202_1: Success [00:06:27] [05] [00:06:13] Finished sysutils/edk2@rpi3 | edk2-rpi3-g202202_= 1: Success [00:06:27] [01] [00:06:13] Finished sysutils/edk2@rpi4 | edk2-rpi4-g202202_= 1: Success This was in a context where I had set lang/gcc12 as the default. --=20 You are receiving this mail because: You are the assignee for the bug.=