# FreeBSD support

**URL:** <https://forum.zcashcommunity.com/t/freebsd-support/38050>\
**Category:** General\
**Created:** [December 28, 2020, 12:56am UTC](https://forum.zcashcommunity.com/t/freebsd-support/38050 "2020-12-28T00:56:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![orion](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/orion/32/17042_2.png) [@orion](https://forum.zcashcommunity.com/u/orion)\
**Post date:** [December 28, 2020, 12:56am UTC](https://forum.zcashcommunity.com/t/freebsd-support/38050/1 "2020-12-28T00:56:43Z")

</div>

Hi. How much would it cost to sponsor native support for FreeBSD 12+?

---

<div class="post-metadata">

**Author:** ![Shawn](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/shawn/32/187_2.png) [@Shawn](https://forum.zcashcommunity.com/u/Shawn)\
**Post date:** [December 28, 2020, 2:23am UTC](https://forum.zcashcommunity.com/t/freebsd-support/38050/2 "2020-12-28T02:23:34Z")

</div>

I’m not sure freeBSD (Unix) is a popular enough OS to get native Zcashd support.

Have you tried just running it with a Linux OS in Virtualbox? That seems to be the quickest way to get there at the moment.

---

<div class="post-metadata">

**Author:** ![orion](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/orion/32/17042_2.png) [@orion](https://forum.zcashcommunity.com/u/orion)\
**Post date:** [December 28, 2020, 2:58am UTC](https://forum.zcashcommunity.com/t/freebsd-support/38050/3 "2020-12-28T02:58:02Z")

</div>

I figured it wasn’t a high priority, which is why I was proposing sponsoring it.

---

<div class="post-metadata">

**Author:** ![str4d](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/str4d/32/64_2.png) [@str4d](https://forum.zcashcommunity.com/u/str4d)\
**Post date:** [December 28, 2020, 6:42pm UTC](https://forum.zcashcommunity.com/t/freebsd-support/38050/4 "2020-12-28T18:42:39Z")

</div>

The `zcashd` full node has had “informal” FreeBSD support for a bit over a year now (since [Add FreeBSD build support by str4d · Pull Request #4030 · zcash/zcash · GitHub](https://github.com/zcash/zcash/pull/4030)). It was possible to compile `zcashd` on FreeBSD at some points, but it’s not a platform that ECC has explicitly supported, and we haven’t spent time on keep it building (we currently don’t have a CI builder that checks it). In particular, we recently migrated to pinned Clang, and only made cursory changes that are likely insufficient:

> <https://github.com/zcash/zcash/blob/b812c3ad9dbfd3ca6763794dbb129a2499687677/depends/hosts/freebsd.mk#L12-L13>

There are two parts here:

- Getting FreeBSD builds working again. You’re correct that it is not a high priority, and sponsoring someone to work on this would be the fastest route. Reviewing these PRs should be manageable (I don’t imagine it would require any changes to the main codebase, just the build system).
- Ongoing maintenance. There is not currently a strong motivation (e.g. a large third party wanting support) for ECC to keep FreeBSD builds working. If a PR causes FreeBSD to stop building or passing tests, we would make fixes as time allows, but we wouldn’t block PRs on FreeBSD passing. It’s more likely that we would open FreeBSD-tagged issues for these breaks.

Both of these would likely be helped by having a FreeBSD CI builder, which we could add again (as an “unsupported” builder that tests PRs but doesn’t block merges) if someone would be using that output to help get FreeBSD working again, and/or maintain it (keeping track of the FreeBSD-tagged issues).

---

<div class="post-metadata">

**Author:** ![nuttycom](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/nuttycom/32/9621_2.png) [@nuttycom](https://forum.zcashcommunity.com/u/nuttycom)\
**Post date:** [December 28, 2020, 9:00pm UTC](https://forum.zcashcommunity.com/t/freebsd-support/38050/5 "2020-12-28T21:00:26Z")

</div>

I wonder if the code that gitcoin wrote for supporting zcash-denominated grants could be adapted to support zcash-denominated bounties? [Sign in to GitHub · GitHub](https://gitcoin.co/bounty/new) doesn’t list zcash yet, but it would be cool if you were to let the gitcoin folks know that you’d like it to be supported.

---

<div class="post-metadata">

**Author:** ![orion](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/orion/32/17042_2.png) [@orion](https://forum.zcashcommunity.com/u/orion)\
**Post date:** [December 31, 2020, 12:54am UTC](https://forum.zcashcommunity.com/t/freebsd-support/38050/7 "2020-12-31T00:54:42Z")

</div>

> <https://github.com/zcash/zcash/pull/4937>
>
> The pre-built binaries for clang 8 on FreeBSD do not ship with \`libc++api\`, so \`…libcxxrt\` from the base system is used instead.

---

<div class="post-metadata">

**Author:** ![BostonZcash](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/bostonzcash/32/15173_2.png) [@BostonZcash](https://forum.zcashcommunity.com/u/BostonZcash)\
**Post date:** [December 31, 2020, 4:44pm UTC](https://forum.zcashcommunity.com/t/freebsd-support/38050/8 "2020-12-31T16:44:55Z")

</div>

Well that was fast! Nice work! 👏 You may get me to finally make the leap to BSD.
