<!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->
<!-- Describe the issue -->
Build on FreeBSD fails with:
CXXLD bitcoind
/usr/bin/ld: libbitcoin_util.a(libbitcoin_util_a-sync.o): relocation R_X86_64_TPOFF32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libbitcoin_util.a: could not read symbols: Bad value
c++: error: linker command failed with exit code 1 (use -v to see invocation)
<!--- What behavior did you expect? -->
<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->
<!--- How reliably can you reproduce the issue, what are the steps to do so? -->
<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->
FreeBSD 11.2, but I've had it fail on earlier versions as well.
<!-- Any extra information that might be useful in the debugging process. -->
config.log is here:
https://0bin.net/paste/epcDXoNlXiwxyYzG#a-072U7z83TRocrB1f7NIQ3U656RVwinqBQMKti9ful
<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->