Re: haproxy-1.8-rc4 - FreeBSD 11.1 - build error: undefined reference, plock.h __unsupported_argument_size_for_pl_try_s__

2017-11-20 Thread Willy Tarreau
On Mon, Nov 20, 2017 at 06:18:43AM +0100, Willy Tarreau wrote: > > Not sure if it still matters but for the record my cc -v output: > > root@:/usr/ports/net/haproxy-devel # cc -v > > FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM > > 4.0.0) > > Target:

Re: haproxy-1.8-rc4 - FreeBSD 11.1 - build error: undefined reference, plock.h __unsupported_argument_size_for_pl_try_s__

2017-11-19 Thread Willy Tarreau
Hi Pieter, On Sun, Nov 19, 2017 at 11:35:26PM +0100, PiBa-NL wrote: > Was using this:  make clean build reinstall NO_CHECKSUM=yes WITH_DEBUG=yes > STRIP= > > So it would have debug symbols if problems would arise.. > The "WITH_DEBUG=yes" strips the -O2 away and makes it a -g and thus >

Re: haproxy-1.8-rc4 - FreeBSD 11.1 - build error: undefined reference, plock.h __unsupported_argument_size_for_pl_try_s__

2017-11-19 Thread Willy Tarreau
On Sun, Nov 19, 2017 at 10:43:21PM +0100, Willy Tarreau wrote: > Your workaround has disabled locking so you'll get random bugs if you enable > threads. Could you please send the output of "cc -v" ? That should help > figure how this situation is possible. In the mean time you can build with >

Re: haproxy-1.8-rc4 - FreeBSD 11.1 - build error: undefined reference, plock.h __unsupported_argument_size_for_pl_try_s__

2017-11-19 Thread Willy Tarreau
Hi Pieter, On Sun, Nov 19, 2017 at 05:35:36PM +0100, PiBa-NL wrote: > Hi haproxy-list, > > I'm trying to build 1.8rc4 on FreeBSD 11.1,  but it throws a few errors for > me.. > > src/listener.o: In function `listener_accept': >

haproxy-1.8-rc4 - FreeBSD 11.1 - build error: undefined reference, plock.h __unsupported_argument_size_for_pl_try_s__

2017-11-19 Thread PiBa-NL
Hi haproxy-list, I'm trying to build 1.8rc4 on FreeBSD 11.1,  but it throws a few errors for me.. src/listener.o: In function `listener_accept': /usr/ports/net/haproxy-devel/work/haproxy-1.8-rc4/src/listener.c:455: undefined reference to `__unsupported_argument_size_for_pl_try_s__'