Bug 280056

Summary: java/openjdk11: remove custom LLVM - build with LLVM from base
Product: Ports & Packages Reporter: Vladimir Druzenko <vvd>
Component: Individual Port(s)Assignee: Vladimir Druzenko <vvd>
Status: Closed FIXED    
Severity: Affects Some People CC: vvd
Priority: --- Flags: bugzilla: maintainer-feedback? (java)
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260319
Attachments:
Description Flags
Remove custom LLVM - build with LLVM from base
none
Remove custom LLVM - build with LLVM from base vvd: maintainer-approval?

Description Vladimir Druzenko freebsd_committer freebsd_triage 2024-06-29 22:24:43 UTC
Created attachment 251783 [details]
Remove custom LLVM - build with LLVM from base

14.1 amd64.
Tested build java/openjdk11 with this patch and then java/eclipse and java/openjfx14 using java/openjdk11: build and run without errors.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2024-07-01 21:31:16 UTC
Created attachment 251822 [details]
Remove custom LLVM - build with LLVM from base

Rebase after: https://cgit.freebsd.org/ports/commit/?id=19d68720f1dac6176557ffa8d9c1684c4cf22608
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-07-13 22:21:02 UTC
Maintainer timeout 14 days, I'll commit this patch in next 24h.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-07-14 14:01:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=08cc50220f1d71f12d13d7e2c957a5679b02914d

commit 08cc50220f1d71f12d13d7e2c957a5679b02914d
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-07-14 13:44:52 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-07-14 13:44:52 +0000

    java/openjdk11: remove custom LLVM - build with LLVM from base

    Segfaults are no longer observed with current versions of LLVM 17 and 18
    in base r13.3 and 14.1, so there is no need to pull such an old version
    from ports to build.
    For example build java/openjdk11 with LLVM from base and then build
    java/eclipse and java/openjfx14 using java/openjdk11: build and run
    without errors.

    PR:             280056 260319
    Approved by:    java (maintainer, timeout 14 days)

 java/openjdk11/Makefile                              |  6 +-----
 .../patch-make_hotspot_lib_JvmMapfile.gmk (new)      | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+), 5 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-08-16 18:51:05 UTC
A commit in branch 2024Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5695d8d0e2aae63368d435790269d310d93d62a7

commit 5695d8d0e2aae63368d435790269d310d93d62a7
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-07-14 13:44:52 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-16 18:50:04 +0000

    java/openjdk11: remove custom LLVM - build with LLVM from base

    Segfaults are no longer observed with current versions of LLVM 17 and 18
    in base r13.3 and 14.1, so there is no need to pull such an old version
    from ports to build.
    For example build java/openjdk11 with LLVM from base and then build
    java/eclipse and java/openjfx14 using java/openjdk11: build and run
    without errors.

    PR:             280056 260319
    Approved by:    java (maintainer, timeout 14 days)

    (cherry picked from commit 08cc50220f1d71f12d13d7e2c957a5679b02914d)

 java/openjdk11/Makefile                              |  6 +-----
 .../patch-make_hotspot_lib_JvmMapfile.gmk (new)      | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+), 5 deletions(-)