Apparently as openssl's README states you could use various compilation flags such as "threads" or "shared" which are not usable for the ebuild. Therefore stunnel cannot be compiled because of missing thread support in openssl saying "common.h:357:2: error: #error OpenSSL library compiled without thread support". Reproducible: Always Installed openssl versions are 0.9.8r and 1.0.0d. stunnel version which should be installed is 4.35.
threads and shared are both always enabled. always post `emerge --info` with your bug reports, and please post full build logs of openssl and stunnel as attachments.
Created attachment 278947 [details] emerge --info
Created attachment 278949 [details] stunnel build.log
Are you still having this problem?
(In reply to comment #4) > Are you still having this problem?
works now with openssl 0.9.8x/1.0.1c and stunnel 4.44