From nobody Tue Aug 9 21:16:39 2022 X-Original-To: dev-commits-ports-all@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 4M2QqX0M5rz4Y8GH; Tue, 9 Aug 2022 21:16:40 +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 4M2QqW700Pz3xMH; Tue, 9 Aug 2022 21:16:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660079800; 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=Hme8NXtZPawNdF89r2h4qp6PJPRs2KLvdAdnZcl61+U=; b=Sq0khznKYQPXxUAzR/HoURxLKZ0oYXIgZ6ZDF5F0Yq94GLoTBjDzhbGP2ch4yyQPBgrX5/ xVU2Zhq1vdFmUIw740qiARALO08WZ2qU6hhCVvyTWJUxREKWqIfH1eW/OLoLgoQDH1XBDR ra65gSXwiBDLdQ4uElhK44ttjeZInR8ah7MUD6Z0GIhBb1xPzN3z6bcIeFc2q1PzMt9P27 p4xmtCFTY6JPqhYCi6poxW2YEuF99OqBt10UCPVluZWL1Mne6kvPOj2zydylM+htfvCrmy 92q+ws/mbHKwgQPBZTz9iwyPeSkxeq8FP1CTNt93h0I8rD4OTBnG9RBi/+zx4Q== 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 4M2QqW60fnzmCb; Tue, 9 Aug 2022 21:16:39 +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 279LGdgj031814; Tue, 9 Aug 2022 21:16:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 279LGdu6031813; Tue, 9 Aug 2022 21:16:39 GMT (envelope-from git) Date: Tue, 9 Aug 2022 21:16:39 GMT Message-Id: <202208092116.279LGdu6031813@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: 5a8afa08c5f9 - main - java/openjdk11: fix build on powerpc64* List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 5a8afa08c5f99fba47509a15c79e2cd2128f48ac Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660079800; 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=Hme8NXtZPawNdF89r2h4qp6PJPRs2KLvdAdnZcl61+U=; b=LNJMqdM12J1RlGJm4/vBk16Rtje76Mk6n6Y+MvDqz6LhVvNEYeW3pR7Bl+Kifov3obbokp 2jrITbYVrHFhOCDEwfkSjb9X0Z8QexHvlb3+j4DN2kI2Sl/HYIwggAD21XsmOR2FvhDMd3 BNrLH0MQE9CYuMC2u/Ub5Zq4uMAStsWqjkZ2RDBiNsprkYR9qO0S8lYX3E6wCx9qaE9COJ 9ITQdnxhjPC6x/UAAxgPAuC2pwNzYULstD0znPtWUpT7NZu0FiotizAUfVwgF3hDbHKnIx aV9+AE+ayzSuXMNuEIq8BSOePaUAUw41nTtS6gfsEg+9FWeR3IyWENYDvQPt6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660079800; a=rsa-sha256; cv=none; b=csUXAzxK0rMRxvi8yKMEjRjBJQCiL8ez2V2eoBgCdLEYHMPHV63ttiH4aNS42qbf7X6FXv mRgN5CjpXU5khQJ5B/w4eE049ZR7BjsrsS9+DkhDgSj//ivszVBJdElX+tO99IBfcff8jM XYHVU1Xy2VkZ4fGU4WQQRbGUYBZR9HnWvQ+oVNb4U29MYZ4Svkxr2txJL41qLKSshnPV1g F9+muTSZnGd14V2TFy8zlXs8MavWFtYrpJbGGCMPB3Aa+kAkQ2Vdww9iwwsN00w0YTzBDn zEGPZVhD0scdjxvmkr80PbuMgCyhdyE8ppdCnaZa+e5gFB9MjXW1XGl6OwVApg== 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=5a8afa08c5f99fba47509a15c79e2cd2128f48ac commit 5a8afa08c5f99fba47509a15c79e2cd2128f48ac Author: Piotr Kubaj AuthorDate: 2022-08-09 20:17:15 +0000 Commit: Piotr Kubaj CommitDate: 2022-08-09 21:16:34 +0000 java/openjdk11: fix build on powerpc64* Go back to using LLVM 12, bin/java built with LLVM 13 crashes with: * For target jdk__packages_attribute.done: A fatal error has been detected by the Java Runtime Environment: SIGILL (0x4) at pc=0x0000000802e3d438, pid=28756, tid=149399 JRE version: (11.0.16+8) (build ) Java VM: OpenJDK 64-Bit Server VM (11.0.16+8-1, mixed mode, tiered, compressed oops, serial gc, bsd-ppc64) Problematic frame: V [libjvm.so+0xe3d438] JVM_RaiseSignal+0x446bcc --- java/openjdk11/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/java/openjdk11/Makefile b/java/openjdk11/Makefile index 3c8b088098d6..4ca7c9933447 100644 --- a/java/openjdk11/Makefile +++ b/java/openjdk11/Makefile @@ -141,6 +141,12 @@ CONFIGURE_ARGS+= --with-extra-ldflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFA --with-extra-cxxflags="-Wl,-rpath=${LOCALBASE}/lib/gcc${GCC_DEFAULT}" .else MAKE_ENV+= USE_CLANG=true +.if ${COMPILER_VERSION} >= 130 && ${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*} || ${ARCH:Mpowerpc64*}