From nobody Sat Aug 31 08:33:53 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 4WwpG13kSDz5Ts6c for ; Sat, 31 Aug 2024 08:34:01 +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 4WwpG06q1wz4q9t for ; Sat, 31 Aug 2024 08:34:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725093241; a=rsa-sha256; cv=none; b=SE1F5/J69AVmXwvrkF5Kt5drtyMEqAa6su96+/xIwo01G3rJYZDfs19jE3ybTbTT8xi3dZ VwsOqnsWJsnE0eLPIaGqSt83PfBWcWAHVNxJB5NsFdTnGvbHQGrhZovRx75LdZ/MQt0Mlm 1QoI0upFrGUrkB8ITfik4OOzc90QgQhwsw8gAyHbpDN+OuHxDJRSB/9YTxmCsQdR9juIvM QByqpGoT7fXPU5o08REJR+GsoaN+Edw5Dn2jC6TDf528Vps7n6wXNs4ZZZxMnTqs9fjanH guUVftUi1SXHVopmm3JOhYeIz3UJftmeDdvkAcZ2ebIh59i9Z5zS3reKNk5DHA== 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=1725093241; 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=YqKOS+AX0AptufS+VRl6BVSQ0x/HcZEMXmjWGHBqRGI=; b=iRlfGLntrmC6aJf/bXCcfmGsSKwCjyJ0csJqIb4TCoPgAuANdWUlLYocwsg5NWkZoQylMq SLZWkLJfwOUXR+OAwLHDzfZdyY0nrJd7fz6cKNWmzFSRPcFTrrU3d2fALS7yrkcrPvLDkk sMXn35dOG7L/W1hI/TuAh8b7+jyMnJxxG+XhpWIe/bmXBQwFD8ozBxo3jppNCh7a1obGnA Z/5IAyE1KfL0XQbiE7xG54eX97M3T0qDm55OgwB3EibIuQPeez36dAUkkTq51HKW/lKYP6 DRLGyp2TgT6zUOeS43O+pemGtExjGP/xfLEjYXKAW0iLxvga37u0gTK8cpPtlQ== 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 4WwpG065sMzddx for ; Sat, 31 Aug 2024 08:34:00 +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 47V8Y0dd052236 for ; Sat, 31 Aug 2024 08:34:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47V8Y06q052192 for java@FreeBSD.org; Sat, 31 Aug 2024 08:34:00 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: maintainer-feedback requested: [Bug 281150] java/openjdk11: fix build with clang 19 on i386 Date: Sat, 31 Aug 2024 08:33:53 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 Bugzilla Automation has asked freebsd-java (Nobody) for maintainer-feedback: Bug 281150: java/openjdk11: fix build with clang 19 on i386 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281150 --- Description --- Clang 19 has a number of new warnings, and because java/openjdk11 compiles with -Werror by default, on i386 it results in errors similar to: =20=20=20 /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/java.desk= top/ share/native/libharfbuzz/graph/../hb-algs.hh:1332:18: error: builtin __has_trivial_assign is deprecated; use __is_trivially_assignable instead [-Werror,-Wdeprecated-builtins] 1332 | static_assert (hb_is_trivially_copy_assignable (T), ""); | ^ =20=20=20 /wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/java.desk= top/ share/native/libharfbuzz/graph/../hb-meta.hh:204:44: note: expanded from macro 'hb_is_trivially_copy_assignable' 204 | #define hb_is_trivially_copy_assignable(T) __has_trivial_assign= (T) | ^ I propose to disable warnings-as-errors for this port, similar to what is already done for openjdk17. It does not make sense to have this on by default, unless you are an upstream maintainer.