Hi Willy,

<SNIP>

> > Blindly removing the #include <stdbool.h> from checks.c and
> > haproxy-systemd-wrapper.c does get a binary compilation but also an
> > (unsurprisingly) eventual core dump.
> 
> It should not cause any error, the stdbool you pointed were not used at
> all, so you're facing a different error.
> 
> Would you please download the latest snapshot, we fixed a number of
> bugs that may or may not be responsible for this. If you still get the
> core, please run it through gdb and issue a "bt full" so that we can
> get an idea of what is causing it. At least it works on my old Ultra5
> under solaris 8.
> 
> Thanks,
> Willy

I've taken the snapshot haproxy-ss-20130429 and removed the include entries 
from the files above.  gcc spat out a couple of warnings (below) but it 
compiles and doesn't core dump when executed.  Initial testing with our 
configurations would show that it works as expected.

Many thanks for your help

Keith

Vis:
$ cd haproxy-ss-20130429 
$ gmake TARGET=solaris CPU=ultrasparc USE_STATIC_PCRE=1 USE_OPENSSL=1 
USE_ZLIB=yes

<SNIP>

gcc -Iinclude -Iebtree -Wall  -O6 -mcpu=v9 -mtune=ultrasparc -g 
-fno-strict-aliasing -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT      
-DTPROXY -DCONFIG_HAP_CRYPT -DNEED_CRYPT_H -DUSE_GETADDRINFO -DUSE_ZLIB  
-DENABLE_POLL -DUSE_OPENSSL -DUSE_PCRE -I/usr/local/include  
-DCONFIG_HAPROXY_VERSION=\"1.5-dev18\" -DCONFIG_HAPROXY_DATE=\"2013/04/03\" -c 
-o src/ssl_sock.o src/ssl_sock.c
src/ssl_sock.c: In function `ssl_sock_infocbk':
src/ssl_sock.c:92: warning: passing arg 1 of `SSL_get_ex_data' discards 
qualifiers from pointer target type
src/ssl_sock.c: In function `__ssl_sock_init':
src/ssl_sock.c:3203: warning: implicit declaration of function 
`SSL_COMP_get_compression_methods'
src/ssl_sock.c:3203: warning: assignment makes pointer from integer without a 
cast
gcc -Iinclude -Iebtree -Wall  -O6 -mcpu=v9 -mtune=ultrasparc -g 
-fno-strict-aliasing -fomit-frame-pointer -DFD_SETSIZE=65536 -D_REENTRANT      
-DTPROXY -DCONFIG_HAP_CRYPT -DNEED_CRYPT_H -DUSE_GETADDRINFO -DUSE_ZLIB  
-DENABLE_POLL -DUSE_OPENSSL -DUSE_PCRE -I/usr/local/include  
-DCONFIG_HAPROXY_VERSION=\"1.5-dev18\" -DCONFIG_HAPROXY_DATE=\"2013/04/03\" -c 
-o src/shctx.o src/shctx.c
src/shctx.c: In function `shctx_get_cb':
src/shctx.c:460: warning: passing arg 2 of `d2i_SSL_SESSION' from incompatible 
pointer type

<SNIP>

Unless otherwise stated, this email has been sent from Fujitsu (Ireland) 
Limited, "Fujitsu". 

This email is only for the use of its intended recipient.  Its contents are 
subject to a duty of confidence and may be privileged.  Fujitsu does not 
guarantee that this email has not been intercepted and amended or that it is 
virus-free.

Fujitsu (Ireland) Limited, registered in Ireland No 473572, registered office 
Airside Business Park, Swords Co Dublin.

Reply via email to