ola
ola copied to clipboard
Build fails on FreeBSD 9 failing to find pthread
configure:20515: checking whether pthreads work with -pthreads configure:20603: gcc -o conftest -g -O2 -pthreads conftest.c -lexecinfo >&5 gcc: unrecognized option '-pthreads' /usr/bin/ld: cannot find -lexecinfo
Also in the acx_pthreads.m4, it tries to run this:
PTHREAD_CXXFLAGS="pthread-config --cxxflags"
Which fails as pthread-config doesn't have a cxxflags issue on FreeBSD, but I get the feeling it should hit the earlier thing and carry on.
CC @RenZ0 I think this works on FreeBSD 10 doesn't it?
From #1872 this must work on FreeBSD 13!