Bug 280056 - java/openjdk11: remove custom LLVM - build with LLVM from base
Summary: java/openjdk11: remove custom LLVM - build with LLVM from base
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-29 22:24 UTC by Vladimir Druzenko
Modified: 2024-08-16 18:51 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (java)


Attachments
Remove custom LLVM - build with LLVM from base (1.89 KB, patch)
2024-06-29 22:24 UTC, Vladimir Druzenko
no flags Details | Diff
Remove custom LLVM - build with LLVM from base (1.85 KB, patch)
2024-07-01 21:31 UTC, Vladimir Druzenko
vvd: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)