From nobody Sat Apr 02 20:43:07 2022 X-Original-To: dev-commits-ports-main@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 45BDE1A4C24C; Sat, 2 Apr 2022 20:43:08 +0000 (UTC) (envelope-from git@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 4KW8BM5qgwz3DKT; Sat, 2 Apr 2022 20:43:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648932187; 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=JDnxk6ZLaG+7DCLi512ZuKYmWF7Cr070rvVnCuE/sBs=; b=lXMtCpCbp0rDvEbCc4V7Am9+7b2ATazFAHTdirnMrLXYjUK8VxLMMQoDIAziKXb1I/iSgP ZcVME0uM4tn9J/jZ1z9x0dzp8ZMNWJsLgfUZlM+VVvP0Gv5awzMRWauqe9HL2ZtDdQJ0iC +4CPfVnFbUXadny+Es+T4gvUM7AzG39MKFpellLdHnGEt4b4/o1D54+F+Rcpk2qn3xaRea WTrSb3JeSME1ywr9scLyMI0QR4vAMdAXOoelSK3JgG8lMHkDG/K+rewu/Z5pSrU+QO0XZd oEwrBtiy44p5WM+WiFIzbuyVAwSjx43ac4QQWEcm6dVQyzJOncyPNBZA8Ai6Mw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 906007E7A; Sat, 2 Apr 2022 20:43:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 232Kh7Ai085444; Sat, 2 Apr 2022 20:43:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 232Kh7Nu085443; Sat, 2 Apr 2022 20:43:07 GMT (envelope-from git) Date: Sat, 2 Apr 2022 20:43:07 GMT Message-Id: <202204022043.232Kh7Nu085443@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: d4582029d51d - main - lang/spidermonkey78: fix build on powerpc with LLVM 13 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d4582029d51d8c34cac13144bf1d75175175ab16 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648932187; 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=JDnxk6ZLaG+7DCLi512ZuKYmWF7Cr070rvVnCuE/sBs=; b=fAU7/g3SfrJYzo7HhMHhvYEeaj1KbV9pKxqZkort4ptwyvo/cOgfPbc2nBnkxKgqq62F7u PCvqrEGPjBlLEqMJ6HH8KjTnaoeK0WTT52Bwqdc1J6zAEqXyJZg8XejoKwiwcV4AoZ5QC0 DTW1wwNNRVU8//2qTuG1i2Ly7GGOFYaibzdrZe9eg+gHCgxXCSvFoh7cqKJ0YoUlddDkcv UEeWwa69gNoImmx9QjUuWw9MvFhwAxifRJybHiJcrOVI+tTFgomsr7NzZ0sdOgJJHSR2TA lnI4OF4bVE4ZKVlzK0SfCMsg+ZgRPISZIFz+pTz3j/AnKmcqJiNr/uyt97pNCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648932187; a=rsa-sha256; cv=none; b=HfXG/TcUCG6KGHtwSE8VXBG4xJDg4XPVGl0Y+GjgZAC0MlSdW2qVSB8PWhPPsRhUcczKga vnPx2JZux+O9yrt2R6vUrq8S+FzClKzVUNIunrpyaotd28nWx2nlRc3dgAOh+8hY2cmA5u k1Yb5yQzA8Zh1vMOstQEIqWrDzThyutDOaiSoIvslb2cyO5pb+vB4CZ5SzhP/B1kW0UcOe SO14lIMp9d3JoCAAgqYHeuy5mHvIxPleUfwMczPD3z15/Unm08k9eqjKVpCUvga7uCyWPI T4dN+YvZjlMXmzIaZeFBU2TppWGC3MQjMNUnPL+fY1K0Uv3O7LDwWd8QYImo/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4582029d51d8c34cac13144bf1d75175175ab16 commit d4582029d51d8c34cac13144bf1d75175175ab16 Author: Piotr Kubaj AuthorDate: 2022-04-02 20:31:18 +0000 Commit: Piotr Kubaj CommitDate: 2022-04-02 20:31:18 +0000 lang/spidermonkey78: fix build on powerpc with LLVM 13 Disable RUST_BACKTRACE on powerpc to fix libunwind crash. --- lang/spidermonkey78/Makefile | 2 ++ lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/lang/spidermonkey78/Makefile b/lang/spidermonkey78/Makefile index 9647c44e7792..7a94046b0f28 100644 --- a/lang/spidermonkey78/Makefile +++ b/lang/spidermonkey78/Makefile @@ -56,6 +56,8 @@ PLIST_SUB= SP_VER=${SP_VER} .if ${ARCH} == amd64 CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} +.elif ${ARCH} == powerpc +EXTRA_PATCHES= ${FILESDIR}/extra-patch-config_makefiles_rust.mk .endif # Require newer Clang than what's in base system unless user opted out diff --git a/lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk b/lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk new file mode 100644 index 000000000000..305aa3df68c4 --- /dev/null +++ b/lang/spidermonkey78/files/extra-patch-config_makefiles_rust.mk @@ -0,0 +1,10 @@ +--- config/makefiles/rust.mk.orig 2022-04-02 10:37:19 UTC ++++ config/makefiles/rust.mk +@@ -171,7 +171,6 @@ export LIBCLANG_PATH=$(MOZ_LIBCLANG_PATH) + export CLANG_PATH=$(MOZ_CLANG_PATH) + export PKG_CONFIG + export PKG_CONFIG_ALLOW_CROSS=1 +-export RUST_BACKTRACE=full + export MOZ_TOPOBJDIR=$(topobjdir) + + # Set COREAUDIO_SDK_PATH for third_party/rust/coreaudio-sys/build.rs