From nobody Wed Aug 07 16:52:31 2024 X-Original-To: java@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 4WfGSJ0BKvz5Slr3 for ; Wed, 07 Aug 2024 16:52:32 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WfGSH4ZLrz45RP for ; Wed, 7 Aug 2024 16:52:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723049551; a=rsa-sha256; cv=none; b=J4VTPzGKF2+0JAUJ+TTcVNu67Jah4uY67c5703Lm3I3vI5y393riAXl8lpLJVv/ueo0mI6 1bgRl7kPQkMGLGN1Nch3MTfTwbmatxw3HNWOOe+MYWQqS6KDEevOWJrKNNgatz8NfR4jr4 pn+a/AULXPEFOPnW6TgsWxsrKWqqhM1sEHgbXJIM8/LqoIKmTHgRD1ywx+jVib9HR8gNAY LOwHD4KWdx/Izbqujgs/9cokla+AxJTtLPhREgk+t1/ZInm+j9QY/737FVeOh0oug7mXKx O5wI6xq8ko6O/y23xug8Ju8BoUvzBpkbgIgyahG7+A9YeqH38wGdV/Kh6pK6Pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723049551; 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=dS1lKkZ2Bk5XPamDXWksp8juoeei4vu6drew2VqtbxI=; b=ycqodEiWJMWgQSuCFF2IijdvexqpXCHw69pWW/2HLbMICC9UQpNjntBHdva7pdwiKkuzY2 VF6K8T2XJvOVb+RLStZNUU8hpr3/itlHct/a0n/2EpiIAxmqU1QCYhe1nj2j2CKcpQCZoC /L11kczPg8GQRoMGplQnWpB/cwxaO45vCzKnRO6RIH7EOPYW4yx4xfF4RjOkPODG7LW4+S SA6r+6Au/N62o/TmQXblxUlewgOEvLfMKDDksBwmAAAeX3dHEokePtz8PTHc8kM6/QopER LTy8xY7Dhy4RZRuGbr+ZEXbCJDclvB21MMaP60hBQoDo5BAe9y1nP7L+uC9GfA== 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 4WfGSH4BtWzySm for ; Wed, 7 Aug 2024 16:52:31 +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 477GqVCv015216 for ; Wed, 7 Aug 2024 16:52:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 477GqVDn015215 for java@FreeBSD.org; Wed, 7 Aug 2024 16:52:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 280560] java/openjdk11: fix build with clang 19 Date: Wed, 07 Aug 2024 16:52:31 +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 Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@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: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280560 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D6bd6dc4ea51f59381fbc5eb84b0e883= bc297270c commit 6bd6dc4ea51f59381fbc5eb84b0e883bc297270c Author: Dimitry Andric AuthorDate: 2024-08-01 11:41:40 +0000 Commit: Dimitry Andric CommitDate: 2024-08-07 16:51:45 +0000 java/openjdk11: fix build with clang 19 Clang 19 is now more strict about undefined integral expressions used as constants in enum, which results in errors compiling java/openjdk11, similar to: =20=20=20=20=20=20=20 /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/jdk.pack/= share/native/common-unpack/constants.h:206:33: error: expression is not an integral constant expression 206 | AO_UNUSED_MBZ =3D (-1)<<13, // options bits reserved for future use. | ^~~~~~~~ =20=20=20=20=20=20=20 /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/jdk.pack/= share/native/common-unpack/constants.h:206:37: note: left shift of negative value -1 206 | AO_UNUSED_MBZ =3D (-1)<<13, // options bits reserved for future use. | ^ Replace the negative value with ~0u to fix this error. PR: 280560 Approved by: glewis (maintainer) MFH: 2024Q3 (cherry picked from commit d2ae63c6feffda05eb643520dd851451ee337f53) ...-src_jdk.pack_share_native_common-unpack_constants.h (new) | 11 +++++++= ++++ 1 file changed, 11 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=