Hey kids! If you’re statically linking OpenSSL on FreeBSD, don’t forget to link in -lthr as otherwise it will crash and simply give you a hard time. This has been a public service announcement by those who sometimes use static linking.
What freebsd versions can you reproduce this on? particularly interested in whether it is still an issue in 12-stable
-
-
12.0-RELEASE-p10 (reproduced on fresh install as well). The issue here is the static library can’t tell you that you need -pthread to work as it was compiled with that flag by default. This is why we end up with boost and boost-mt libraries - because compatibility is non trivial.
-
The fixes I know of were not added as errata to 12.0 but only incorporated into the 12-stable branch, this is why I asked whether the problem still existed in 12-stable. Do you have a simple test case?
- 5 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.