PERLOPENBSD(1perl)

πŸ“¦
version 5.44.0 Β· 2 versions
, in arch rolling

πŸ’– NAME πŸ’–

perlopenbsd β€” like, the whole tea on running Perl version 5 on OpenBSD systems, bestie πŸ¦‹


✨ DESCRIPTION ✨

Okay so this doc is serving full lore on the OpenBSD features that mess with how Perl version 5 (and from here on out we're just gonna call it Perl, periodt) gets compiled and/or runs. πŸŽ€

πŸ’€ OpenBSD core dumps from getprotobyname_r and getservbyname_r with ithreads πŸ’€

So here's the situation, and ngl it's giving chaos. When Perl is configured to use ithreads, it will use re-entrant library calls in preference to non-re-entrant versions. Cute, right? πŸ™ˆ

But there is an incompatibility in OpenBSD's getprotobyname_r and getservbyname_r functions in versions 3.7 and later that will cause a SEGV when called without doing a bzero on their return structs prior to calling these functions. Like, the vibes are rancid. 😭

  • Current Perls should handle this problem correctly. Slay. πŸ‘‘
  • Older threaded Perls (5.8.6 or earlier) will run into this problem. πŸ’€
If you want to run a threaded Perl on OpenBSD 3.7 or higher, you will need to upgrade to at least Perl 5.8.7. No cap, that's the whole fix. πŸ’…

🌸 AUTHOR 🌸

Steve Peters <steve@fisharerojo.org> β€” iconic, honestly 🫢

Please report any errors, updates, or suggestions to <https://github.com/Perl/perl5/issues>. Fr fr, they wanna hear from you. πŸ’œ


okay bye bestie, that's the page!! this was perl v5.44.0, dated 2026-10-17, and yeah β€” it's the PERLOPENBSD(1perl) manual, now with 100% more main character energy βœ¨πŸ’–

πŸ“¦ where this page comes from
  • arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms