[Bug 290873] devel/libclc: add LLVM 21/22 support

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290873

Shawn Webb <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Shawn Webb <[email protected]> ---
I've tried my hand at updating this port, too. I ended up a bit more confused
than when I started. It doesn't seem to be written like other ports, doing some
weird (rather, "seems weird to me") things. HardenedBSD is actually affected
here, since we build base system libraries with LTO.

We have to match the default llvm version in ports with what's in base. This is
because an older llvm (like what's in ports) cannot read a .a file with
LTO-ified objects in it, where those objects were generated with a newer
version of llvm (meaning, no forwards compat, which is understandable).

llvm was upgraded to 21 in base on 16-CURRENT relatively recently. So folks
running an up-to-date HardenedBSD 16-CURRENT won't be able to build
devel/libclc, causing a not insignificant cascading failure in ports.

I can upload my non-functional patch, but I suspect someone with more
experience here could deliver a higher quality than what I can right now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.