From nobody Thu Aug 01 16:08:31 2024 X-Original-To: ports-bugs@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 4WZYmJ4Zl5z5T0L3 for ; Thu, 01 Aug 2024 16:08: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 4WZYmJ1FYWz4dBf for ; Thu, 1 Aug 2024 16:08:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722528512; a=rsa-sha256; cv=none; b=r3QNBvSNQYv9uVarSb1L9jC/j3gfWqXL+iGjwyFxVj/U5MCeMziuQSQvcQtbAOLqtH1Dmu l3rPR8Hz8ssvGXcW/jDF0gisN5WJbBhjIDuu9BkAtWYPRsYjolwqANAzpYkIpjnT8PMpL1 gaYppm/qIsSOlIttnq0ZgYwcHo/jwCWqffwQBIafsO326JWMSzjDGQ4GRSinW/1Xw+tpCg 2/RBJQEdWhMq8jf0dVhd84ho8bXjMptSlfpqiuntqx6Lia5AQxSEegWr6w1+gPaRI3/1Po 1Q/Af8vHbdiI/C1uNxgVXjHvmVq7sMzEtmW9MguHtvsLqaj7IqngeccmcL3MHg== 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=1722528512; 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=3w4tHr0KlWW4bx8SmfsujwOOO8mIArigsOuqg9NFkoE=; b=gSvRAZJ4zgivnwpswqq5o4FQZS32jzBxYuv8nUNyDOOn+A/t8bjwbB97qAk3GUjQ3bl+2w g9uGdV/7PVtVfC4DS8Wm0ZSK1rIK2TFiuoWVoATrjgz+76RmGe5apvthImY1k/IeFwenoc OEEgmPqT4yWr3mRQxmVQ1Y8ptvueTCTVsim6XxwWBeUqp4GeaGtJ6P91sPRjbeemwajGE3 ic4z9pZHCB3rcPv/gF4qlAkrflQrBA2mRIbqC5cSmvZXpDXhbTQMQrrtb2puFYMOIWl7SI IdzuRFr2+IHNxZhcK10xXINwtUvz+bqnUu9fSfQfPeRVu2JtQfknwnHo2YxZTw== 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 4WZYmJ0p1xzrm6 for ; Thu, 1 Aug 2024 16:08:32 +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 471G8WfX001121 for ; Thu, 1 Aug 2024 16:08:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 471G8WdN001120 for ports-bugs@FreeBSD.org; Thu, 1 Aug 2024 16:08:32 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: ports-bugs@FreeBSD.org Subject: [Bug 280560] java/openjdk11: fix build with clang 19 Date: Thu, 01 Aug 2024 16:08:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: dim@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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280560 Bug ID: 280560 Summary: java/openjdk11: fix build with clang 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: java@FreeBSD.org Flags: maintainer-feedback?(java@FreeBSD.org) 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 /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 res= erved for future use. | ^~~~~~~~ =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 res= erved for future use. | ^ Replace the negative value with ~0u to fix this error. --=20 You are receiving this mail because: You are the assignee for the bug.=