[Bug 282756] devel/root: Disable runtime_cxxmodules to avoid modulemap issues
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282756] devel/root: Disable runtime_cxxmodules to avoid modulemap issues"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282756] devel/root: Disable runtime_cxxmodules to avoid modulemap issues"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 282756] devel/root: Disable runtime_cxxmodules to avoid modulemap issues"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Nov 2024 12:22:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282756
Bug ID: 282756
Summary: devel/root: Disable runtime_cxxmodules to avoid
modulemap issues
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: erik@tenku.dk
Created attachment 255168
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255168&action=edit
Port patch
In the attached diff, I have disabled the cmake flag 'runtime_cxxmodules' and
accommodated the rest of the port files accordingly.
A recent change in LLVM/Clang modulemap handling has caused ROOT (which builds
its own patched version of LLVM/Clang for JIT C/C++ compilation, e.g. from the
ROOT terminal) in the upstream source code to hack modulemap definitions on a
case-by-case OS release-dependent basis on macOS, which also compiles ROOT with
a LLVM/Clang compiler.
Once a more robust solution has been found in the upstream code, we can revert
to enabling 'runtime_cxxmodules' in the port.
For now, my attempts at continually patching ROOT for FreeBSD 13.3+, 14.0+ and
15.0 have proven too error-prone, and a package built on 14.0, for example, and
distributed to both 14.0 and 14.1 would otherwise only work on 14.0 in the best
of cases.
I have tested building of the port on 14.1-amd64 with the default options
enabled and with each individual port option enabled/disabled.
--
You are receiving this mail because:
You are the assignee for the bug.