Hi,
both the FIPS module and OpenSSL use the -pthreads option for gcc when
building a *BSD/x86 target. With our cross-compiler, -pthreads results in
"-lpthread", although on our target we actually use libc_r for thread
support. While sorting out how I can resolve this in the config/Configure
scripts, I have been wondering why the thread library is even needed to
build a libcrypto containing the FIPS Module. Yes, openssl provides
multi-threading support, through the use of callbacks set by an
application. But I haven't seen any code that uses the libpthread or libc_r
API. If an application requires multithreading, it will itself link in
libc_r and libcrypto. But I don't understand why I need that dependency
built into libcrypto...
Thanks,
Kevin