Hi, I tried Willy's suggestion with -pthread in the OPTIONS_CFLAGS and it didn't make any difference. Same errors. I haven't tried looking at it anymore other than to try Willy's test.
Although I didn't mention it previously, I had seen that suggestion of trying USE_PTHREAD_SHARED=1. It also didn't help with 1.8.9, but I haven't tried with 1.8.13. If you think of any other tests you'd like me to try, let me know. Thanks, -- Tom On Fri, Aug 31, 2018 at 5:24 AM Olivier Houchard <ohouch...@haproxy.com> wrote: > Hi Lukas, > > On Fri, Aug 31, 2018 at 02:03:47PM +0200, Lukas Tribus wrote: > > Hello, > > > > > > On Fri, 31 Aug 2018 at 04:30, Willy Tarreau <w...@1wt.eu> 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/haproxy@formilux.org/msg30696.html > > > > > > Not sure if we are talking about the same exact issue here though. > > > > I think in this case it is fine, as its gcc is recent enough to have > the required builtins. > > Regards, > > Olivier >