Uh oh!
There was an error while loading. Please reload this page.
Fix some CMake definitions on OpenBSD - #125294
Conversation
sethjackson
commented
Mar 14, 2026
am11
commented
Mar 14, 2026
LGTM. Corehost is building with #125557. Reminder: your best bet is to start porting libunwind. For Solaris/illumos, haiku, QNX and linux-riscv64/loongarch64, that's the first thing we ported before working on runtime side. Back then, we had lot more dependency on libunwind than these days (six calls left..) but it's still an (annoyingly) important dependency to port which needs to be working on platform. It's usually missed on platforms because other software rely on their own unwinder or something out of the target OS. In this case, we need either HP libunwind (https://github.com/libunwind/libunwind <- preferred) or llvm-libunwind (https://github.com/llvm/llvm-project and look for libunwind dir at root of that repo). |
sethjackson
commented
Mar 14, 2026
Got it. I am wondering if the system unwind will work though on OpenBSD? I know you had mentioned previously about a missing function (I'll have to dig through the previous PRs laters as I have forgotten the exact function) but IIRC I did find it in here somewhere: But maybe I misunderstood? |
am11
commented
Mar 14, 2026
Good, that would work. The only missing piece which llvm-libunwind lacks is |
jkotas
commented
Mar 14, 2026
/ba-g unrelated timeouts |
sys/types.hforHAVE_STATFS_FSTYPENAME. See https://man.openbsd.org/statfs (missed a couple of places in Fix pal_io.c on OpenBSD #124992).sys/types.hforHAVE_MNTINFO. See: https://man.openbsd.org/getmntinfosys/types.handsys/socket.hforHAVE_GETPEEREID. See: https://man.openbsd.org/getpeereidContributes to #124911.