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__'
src/signal.o: In function `__signal_process_queue':
/usr/ports/net/haproxy-devel/work/haproxy-1.8-rc4/src/signal.c:74: undefined reference to `__unsupported_argument_size_for_pl_try_s__'
src/fd.o: In function `fd_process_cached_events':
/usr/ports/net/haproxy-devel/work/haproxy-1.8-rc4/src/fd.c:248: undefined reference to `__unsupported_argument_size_for_pl_try_s__'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Removing line 119 & 120 from plock.h makes the build succeed.. But i am not sure what gets broken by doing so if anything?..

With those lines removed i get the result below from haproxy -vv, looks good :) but i didn't actually start it yet with a proper config.

Regards,

PiBa-NL / Pieter

root@:/usr/ports/net/haproxy-devel # haproxy -vv
HA-Proxy version 1.8-rc4-cfe1466 2017/11/19
Copyright 2000-2017 Willy Tarreau <wi...@haproxy.org>

Build options :
  TARGET  = freebsd
  CPU     = generic
  CC      = cc
  CFLAGS  = -pipe -g -fstack-protector -fno-strict-aliasing -fno-strict-aliasing -Wdeclaration-after-statement -fwrapv -Wno-address-of-packed-member -Wno-null-dereference -Wno-unused-label -DFREEBSD_PORTS   OPTIONS = USE_GETADDRINFO=1 USE_ZLIB=1 USE_CPU_AFFINITY=1 USE_ACCEPT4=1 USE_REGPARM=1 USE_OPENSSL=1 USE_LUA=1 USE_STATIC_PCRE=1 USE_PCRE_JIT=1

Default settings :
  maxconn = 2000, bufsize = 16384, maxrewrite = 1024, maxpollevents = 200

Built with multi-threading support.
Built with PCRE version : 8.40 2017-01-11
Running on PCRE version : 8.40 2017-01-11
PCRE library supports JIT : yes
Encrypted password support via crypt(3): yes
Built with zlib version : 1.2.11
Running on zlib version : 1.2.11
Compression algorithms supported : identity("identity"), deflate("deflate"), raw-deflate("deflate"), gzip("gzip")
Built with network namespace support.
Built with transparent proxy support using: IP_BINDANY IPV6_BINDANY
Built with Lua version : Lua 5.3.4
Built with OpenSSL version : OpenSSL 1.0.2k-freebsd  26 Jan 2017
Running on OpenSSL version : OpenSSL 1.0.2k-freebsd  26 Jan 2017
OpenSSL library supports TLS extensions : yes
OpenSSL library supports SNI : yes
OpenSSL library supports : SSLv3 TLSv1.0 TLSv1.1 TLSv1.2

Available polling systems :
     kqueue : pref=300,  test result OK
       poll : pref=200,  test result OK
     select : pref=150,  test result OK
Total: 3 (3 usable), will use kqueue.

Available filters :
        [TRACE] trace
        [COMP] compression
        [SPOE] spoe

root@:/usr/ports/net/haproxy-devel #


Reply via email to