[Bug 279367] java/openjdk11 -- build with the base compiler, not custom LLVM
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 279367] java/openjdk11 -- build with the base compiler, not custom LLVM"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- build with the base compiler, not custom LLVM"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- build with the base compiler, not custom LLVM"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- build with the base compiler, not custom LLVM"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- build with the base compiler, not custom LLVM"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- respect compiler and linker flags, allow building with gcc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- respect compiler and linker flags, allow building with gcc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- respect compiler and linker flags, allow building with gcc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- respect compiler and linker flags, allow building with gcc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- respect compiler and linker flags, allow building with gcc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- respect compiler and linker flags, allow building with gcc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- respect compiler and linker flags, allow building with gcc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- respect compiler and linker flags, allow building with gcc"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 279367] java/openjdk11 -- respect compiler and linker flags, allow building with gcc"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 May 2024 18:02:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279367
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=251038&action=edit
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).
--
You are receiving this mail because:
You are the assignee for the bug.