Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2024 18:02:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 279367] java/openjdk11 -- build with the base compiler, not custom LLVM
Message-ID:  <bug-279367-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279367-8522>