Hello,

On Fri, 31 Aug 2018 at 04:30, Willy Tarreau <[email protected]> wrote:
> I'd like to ask you to test something just in case it helps. Could
> you please modify your makefile to add "-pthread" to "-DUSE_THREAD"
> like this :
>
>  ifneq ($(USE_THREAD),)
>  BUILD_OPTIONS   += $(call ignore_implicit,USE_THREAD)
> -OPTIONS_CFLAGS  += -DUSE_THREAD
> +OPTIONS_CFLAGS  += -DUSE_THREAD -pthread
>  OPTIONS_LDFLAGS += -lpthread
>  endif

Note that in a thread from July Oliver concluded that
USE_PTHREAD_PSHARED=1 is needed under Solaris:

https://www.mail-archive.com/[email protected]/msg30696.html


Not sure if we are talking about the same exact issue here though.


cheers,
lukas

Reply via email to