From nobody Tue May 28 18:02:26 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 4VpgMl55HRz5MpKp for ; Tue, 28 May 2024 18:02:27 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VpgMl2MLCz4MMf for ; Tue, 28 May 2024 18:02:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716919347; a=rsa-sha256; cv=none; b=KOtDizH8Zho9/HDKPd/2z0HFW5KHFRY3ev8YsOzqnK9xTbgoYGBeh5jr4O5bFv05FLSQ1p 3MtxNABBQgGDgABl9RUOJar0qeQq6J0ThjisckxnFEtBOvHpb3+H0cyXUvgYgOHcH3G5c8 2HBpm0EkV6pGHaIjHVnJepX2XWbS/BOl3CIi9JIV/mb1dgxWc5qmneMi+FzVmBi3gQujjn fu4k+BBLIHY4L0dXixOEdBGKRM2NDTBuSJBR4VVd9hJgMMlZCslm92o9nEQbE1KOEQdLxp oye+RNwcKw8Ji701rw4Y7hck2CXvf+ywyJY0HA3Reg1yeHCw93JgsbTwp91TNQ== 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=1716919347; 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=ENSlFX9UFRsHsWEJh+zjLiYxAobYMyYfgcSiFXxKb+8=; b=VASpuEk+x4BzslODQmZYjhOeyIMKIYH+uQoVcfGkDM+sQ/M9wnRo8pSWdkT+zAloZoyMWK gmSRkGSuvRgTBXDH7XokP6oExORZq/Sa28eD8+h6RxE9ZhxXledzNZ+ARV1xyTwHahj70b 2RUeiD3/8wEittxSQf9RvnPOAcxlonpmPlAHSg4slRPzG9J9DwGN9NNVbovL4xX7f5J0Ji favaT1BQujGGt4tJV82qoWbX1DDSD2IL32zx3iGefI15iJ4nb+FaVR90hvstUtxImYS3LR VcSU8zvt/FPKZYvoux4nDdwwcVsKhyD++PGLH6+FkuL8WwODn56Fsi2Rj4kMkQ== 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 4VpgMl1ybJzN0X for ; Tue, 28 May 2024 18:02:27 +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 44SI2RUj044563 for ; Tue, 28 May 2024 18:02:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44SI2RHk044562 for java@FreeBSD.org; Tue, 28 May 2024 18:02:27 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: java@FreeBSD.org Subject: [Bug 279367] java/openjdk11 -- build with the base compiler, not custom LLVM Date: Tue, 28 May 2024 18:02:26 +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: easy, patch-ready X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mi@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 keywords bug_severity priority component assigned_to reporter flagtypes.name attachments.created 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: 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=3D279367 Bug ID: 279367 Summary: java/openjdk11 -- build with the base compiler, not custom LLVM Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: easy, patch-ready Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: mi@FreeBSD.org Assignee: java@FreeBSD.org Flags: maintainer-feedback?(java@FreeBSD.org) Created attachment 251038 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251038&action= =3Dedit Patch the linking code, disable a troublesome compiler warning It is somewhat disheartening, how easily port-maintainers give up upon encountering problems with the base compiler -- and make a custom compiler a requirement instead... openjdk11 currently requires an LLVM -- of version 12 -- and this PR seeks = to fix that. The proposal adds a patch, which was once part of the opendjk17 port back in (see Bug 274109). This fixes the problem with the linking. Separately, the now-fatal compiler warning is explicitly disabled -- so the code compiles. It also places the custom CFLAGS, CXXFLAGS, and LDFLAGS into the CONFIGURE_= ARGS (as the JDK maintainers want). --=20 You are receiving this mail because: You are the assignee for the bug.=