From nobody Tue Dec 17 14:12:03 2024 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 4YCJfD2KrSz5hGbM; Tue, 17 Dec 2024 14:12:04 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCJfC6dsbz4m0q; Tue, 17 Dec 2024 14:12:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734444723; 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=y10g00wpT5gZ02eyoV8QFdYy6kzlZFpZ9rD1GAKN1H8=; b=iToOue6lIXkrF7ZEQZXXOLLKeqzys3NlCjr0TQ6bLt9F6riPPzv4WHz0a0CWY2ZZG11L6a pDSZ3bT6zf8g+TQzEPznHR3wj9KK00yovCkeH+XmZLN3PP9Ag0Zy1dS2Oi4ILvh+BLoXiI JkW4gAfUwN+0vbq8+S4+pO/hP7t9YTnSoM+t3ntiaFXQqv5ZpBvs3fQ5RHhPDqaq5yhty6 ZKrB1bL4BwGnDxJ3TNI5XObMSqn8PaJiBSUhlQq+kcRjeoOdQxb2zHlv3n1VEYMVOnrDqJ cwjuSztSj8kQz5CfWgtFY6j4i9pvv1XulRDe1RPzfS0ejUY1A5ICaolYoX+58g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734444723; 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=y10g00wpT5gZ02eyoV8QFdYy6kzlZFpZ9rD1GAKN1H8=; b=m2wTOqEUWxkWgY89JiLOCNCa9mGvNpqTNYP/zeyAIi787gbOYzn68yPyDgDe4upxqa6Cah qomqqM5x8KWsg38HsoKeJIjTQivL6WLlEMJ/OPl0YHcSrR2M7ZGju/KeHN4ISDqgsXMfxR L0hUTyiGJUYUTiHmkNpF7XQ14wMs7zpoSLRqYcjpja+ETE8zxO077QVN4UGqa1OlSIJ7gA ry9HQ1Pqnfhd5aq4qsJeFzZxAfcJcAxk4S001PRZ0O8YwEu0tFE+XYtsUotFwchykgTNJH NtcNZccA7lqjnnB6Z0coM6fHnUqNL7YzAjZeRTuUyWWO5Dp27T6OEIsezuYZjA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734444723; a=rsa-sha256; cv=none; b=b7sc3+1XyWDTCwYWQRZKDgwMxWTOpL4gLvpz2UbFZI+gCUaLnTnMa0JvUfQlmLn0fxUjj7 zkQHvsIfozFbTPWB90tF54iYv2A2rr6upgmIPYDTZh/3KwocHdtzn5cmwB5LIx0tkbH3ZV 6C97T7OM2GUKmxYEQb7KmBea64+kyHOKFxVmlKTXCfNgeuHxRevSzMi695CCLIit2xXStx uG/5cwKtKgjqTMaIybFixEdUW+rNW6nGsMer9PaWwobklK/tVkY8WZKAvNJm/2CfpcVl/u S8IwZm7ZlyAfLjxurkysQa2BXs5fkoMGyf3ozPo807UnBZQabp2mVctNJCeaRg== 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 4YCJfC6FMSzR3N; Tue, 17 Dec 2024 14:12:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BHEC3Qj088118; Tue, 17 Dec 2024 14:12:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BHEC3t6088106; Tue, 17 Dec 2024 14:12:03 GMT (envelope-from git) Date: Tue, 17 Dec 2024 14:12:03 GMT Message-Id: <202412171412.4BHEC3t6088106@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: 406bc6fd9aee - main - java/openjdk11: fix build on powerpc64* 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: 406bc6fd9aeec79540e5391e70211d1a2876fadb Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=406bc6fd9aeec79540e5391e70211d1a2876fadb commit 406bc6fd9aeec79540e5391e70211d1a2876fadb Author: Piotr Kubaj AuthorDate: 2024-12-17 14:07:11 +0000 Commit: Piotr Kubaj CommitDate: 2024-12-17 14:11:59 +0000 java/openjdk11: fix build on powerpc64* Partially reverts 08cc50220f1d71f12d13d7e2c957a5679b02914d, segfaults are still present on both powerpc64 and powerpc64le. --- java/openjdk11/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile index 47cc63514afa..7e2f7ace60a1 100644 --- a/java/openjdk11/Makefile +++ b/java/openjdk11/Makefile @@ -157,6 +157,12 @@ CXXFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT} CONFIGURE_ARGS+=--disable-precompiled-headers .else MAKE_ENV+= USE_CLANG=true +.if ${ARCH:Mpowerpc64*} +LLVM_VER= 12 +BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} +CC= ${LOCALBASE}/bin/clang${LLVM_VER} +CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} +.endif .endif .if ${ARCH} == aarch64 || ${ARCH:Marmv*}