Bug 297126 - lang/ldc: make it build with DEFAULT_VERSIONS+=llvm=22
Summary: lang/ldc: make it build with DEFAULT_VERSIONS+=llvm=22
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks: 296377
  Show dependency treegraph
 
Reported: 2026-07-28 19:28 UTC by Dimitry Andric
Modified: 2026-08-05 17:35 UTC (History)
0 users

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


Attachments
lang/ldc: make it build with DEFAULT_VERSIONS+=llvm=22 (129.91 KB, patch)
2026-07-28 19:30 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer freebsd_triage 2026-07-28 19:28:09 UTC
This requires a number of upstream patches, listed in EXTRA_PATCHES.
When at some point a new ldc version is imported, the patches can easily
be dropped.

Bump USES=llvm:max to 22, and drop the libldc-jit files from pkg-plist,
since they don't correctly package even with llvm 21, at least not under
poudriere. (The port does not enable LDC_DYNAMIC_COMPILE, so the jit
plugins are never built.)
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2026-07-28 19:30:56 UTC
Created attachment 273268 [details]
lang/ldc: make it build with DEFAULT_VERSIONS+=llvm=22
Comment 2 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2026-08-05 17:35:16 UTC
Hello Dimitry, I think the best is waiting for next version of ldc. It is a huge patch file to apply to our current ldc port. Close this PR if you are ok with it.