Hi Willy,
when including "DEFINE="-DNAME_MAX=MAXPATHLEN"" in the build statement,
HAProxy compiles fine (leaving the warning aside).
./haproxy -vv
HA-Proxy version 1.8-rc1 2017/10/31
Copyright 2000-2017 Willy Tarreau <[email protected]>
Build options :
TARGET = solaris
CPU = generic
CC = gcc
CFLAGS = -O2 -g -fno-strict-aliasing
-Wdeclaration-after-statement -fwrapv -Wno-unused-label
-fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -D_XOPEN_SOURCE=600
-DNAME_MAX=MAXPATHLEN
OPTIONS = USE_TPROXY=1 USE_GETADDRINFO=1 USE_ZLIB=1 USE_REGPARM=1
USE_OPENSSL=1 USE_PCRE=1
Default settings :
maxconn = 2000, bufsize = 16384, maxrewrite = 1024, maxpollevents
= 200
Built with OpenSSL version : OpenSSL 1.0.2k 26 Jan 2017
Running on OpenSSL version : OpenSSL 1.0.2k 26 Jan 2017
OpenSSL library supports TLS extensions : yes
OpenSSL library supports SNI : yes
OpenSSL library supports : SSLv3 TLSv1.0 TLSv1.1 TLSv1.2
Built with transparent proxy support using:
Built with network namespace support.
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")
Encrypted password support via crypt(3): yes
Built with PCRE version : 8.39 2016-06-14
Running on PCRE version : 8.39 2016-06-14
PCRE library supports JIT : no (USE_PCRE_JIT not set)
Available polling systems :
poll : pref=200, test result OK
select : pref=150, test result OK
Total: 2 (2 usable), will use poll.
Available filters :
[SPOE] spoe
[COMP] compression
[TRACE] trace
Have a nice weekend,
Daniel
Am 03.11.2017 um 23:08 schrieb Willy Tarreau:
Hi Daniel,
It wasn't and that was exactly the purpose of -rc1 to collect such
precious feedback! For NAME_MAX I think it can easily be redefined
by building with :
make ... DEFINE="-DNAME_MAX=MAXPATHLEN"
But for the spinlocks you'll have to modify each occurrence in many
files, which will be a real pain, so we'll have to raise this change
as a high priority in order not to wait too long without being able
to test some OSes.
Thanks very much!
Willy