LLVM toolchain coming to OpenBSD/sparc64
LLVM toolchain coming to OpenBSD/sparc64
Contributed by<br>Peter N. M. Hansteen<br>on 2026-07-30<br>from the LLVM, LLVM, sparc64'd dept.
Yes, you read that right. Modern development tools in the form of the LLVM compiler infrastructure is well on its way to supporting OpenBSD/sparc64 along with other more conventional architectures.
The support is now ready for testing, via a patch set presented by Kirill A. Korinsky (kirill@) in a message to the tech@ mailing list, with the subject LLVM toolchain for sparc64.
The message reads,
List: openbsd-tech<br>Subject: LLVM toolchain for sparc64<br>From: Kirill A. Korinsky<br>Date: 2026-07-30 11:38:55<br>Message-ID: 87jyqcogfk.wl-kirill () korins ! ky
Folks,
I'd like to commit to devel/llvm/22 and gnu/llvm my cumulative patch for<br>support sparc64 by LLVM toolchain.
Not OpenBSD related bits was upstreamed as a few PRs and some parts are<br>actually already merged.
More or less this diff was tested by me and tb@ who runs his bulk during<br>which many small edge cases was discovered and fixed.
Here two diffs for the base and ports, I did my best to keep in<br>synchronized.
I haven't backported that changes to LLVM before 22, but we already mainly<br>switched to LLVM 22 everywhere.
I think it may have some missed pieces, but working in the tree will make<br>testing it simpler.
Ok to commit?
wbr, Kirill
["llvm-base.diff" (text/plain)]
followed by the patch that implements the changes.
If you are in a position to teast Kirill's work, that is if you run OpenBSD/sparc64-current, please do put the code through its paces and report back!
Reply
Latest Articles
Thu, Jul 3013:03<br>LLVM toolchain coming to OpenBSD/sparc64<br>(0)
Sat, Jul 2510:36<br>httpd(8) gains support for custom HTTP headers<br>(0)
Tue, Jul 2112:47<br>OpenBSD relayd(8) adds ECDSA support with CA engine code from smtpd(8)<br>(0)
10:21<br>Game of Trees 0.127 released<br>(0)
Sun, Jul 1909:38<br>WPA3 support coming to OpenBSD<br>(0)
Thu, Jul 1611:52<br>OpenBSD moves to 8.0-beta in -current and snapshots<br>(0)
11:00<br>OpenBSD/loongson hardware platform retired<br>(0)
Tue, Jul 1409:45<br>g2k26 Hackathon Report: Job Snijders (job@) on rpki-client(8) progress<br>(0)
Wed, Jul 0805:56<br>OpenBSD's pledge(2) and unveil(2) are developer-friendly, study finds<br>(1)
Credits
Copyright ©<br>2004-2008<br>Daniel Hartmeier.<br>All rights reserved.<br>Articles and comments are copyright their respective authors,<br>submission implies license to publish on this web site.<br>Contents of the archive prior to<br>April 2nd 2004 as well as images<br>and HTML templates were copied from the fabulous original<br>deadly.org with<br>Jose's and<br>Jim's kind permission.<br>This journal runs as CGI with<br>httpd(8)<br>on OpenBSD, the<br>source code is<br>BSD licensed.<br>undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]