Re: How to verify HAProxy build on Solaris/SPARC ?

2018-09-07 Thread Tom Hood
Hi Willy, If I return to looking at HAProxy and decide I need its thread support, I'll rebuild gcc with the additional enable-tls option. Thanks for your help. -- Tom On Thu, Sep 6, 2018 at 8:47 PM Willy Tarreau wrote: > Hi Tom, > > On Thu, Sep 06, 2018 at 02:19:31PM -0700, Tom Hood wrote: >

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-09-06 Thread Willy Tarreau
Hi Tom, On Thu, Sep 06, 2018 at 02:19:31PM -0700, Tom Hood wrote: > Here's the output of gcc -v > > Using built-in specs. > Target: sparc-sun-solaris2.8 > Configured with: /path/to/gcc-4.2.0/configure --prefix= > *--enable-threads=solaris* > Thread model: solaris > gcc version: 4.2.0 So I repair

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-09-06 Thread Tom Hood
Here's the output of gcc -v Using built-in specs. Target: sparc-sun-solaris2.8 Configured with: /path/to/gcc-4.2.0/configure --prefix= *--enable-threads=solaris* Thread model: solaris gcc version: 4.2.0 On Sat, Sep 1, 2018 at 2:40 AM Willy Tarreau wrote: > On Fri, Aug 31, 2018 at 07:21:27PM -07

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-09-01 Thread Willy Tarreau
On Fri, Aug 31, 2018 at 07:21:27PM -0700, Tom Hood wrote: > 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. OK, thanks for the test. > Although I didn't mentio

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-08-31 Thread Tom Hood
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 di

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-08-31 Thread Olivier Houchard
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 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

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-08-31 Thread Lukas Tribus
Hello, On Fri, 31 Aug 2018 at 04:30, Willy Tarreau 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)

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-08-30 Thread Willy Tarreau
Hi Tom, On Thu, Aug 30, 2018 at 05:21:04PM -0700, Tom Hood wrote: > Hi Willy, > > I downloaded 1.8.13 and tried the following build command (again on the > same Solaris 10 box, same gcc 4.2.0). The CC=/path/to/bin/gcc was also on > the 1.8.9 build line I used previously. > > gmake CC=/path/to/b

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-08-30 Thread Tom Hood
Hi Willy, I downloaded 1.8.13 and tried the following build command (again on the same Solaris 10 box, same gcc 4.2.0). The CC=/path/to/bin/gcc was also on the 1.8.9 build line I used previously. gmake CC=/path/to/bin/gcc TARGET=solaris CPU=ultrasparc USE_OPENSSL=1 SSL_INC= SSL_LIB= (*beware of

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-08-30 Thread Tom Hood
Hi Willy, Thanks for the reply. I should have stated that I'm not at a point of trying to install or deploy haproxy, yet. I'm starting to evaluate haproxy and some other products that can run on Solaris/SPARC as TCP reverse proxies with SSL termination. I will also look at stunnel and nginx.

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-08-29 Thread Willy Tarreau
Hi Tom, On Wed, Aug 29, 2018 at 05:05:20PM -0700, Tom Hood wrote: > Hi, > > I've built haproxy 1.8.9 with gcc 4.2.0 on Solaris 10, but I'm not sure how > to verify my build. Well, first and foremost, you must absolutely use an up-to-date version in the branch you choose. Latest version in the 1.

How to verify HAProxy build on Solaris/SPARC ?

2018-08-29 Thread Tom Hood
Hi, I've built haproxy 1.8.9 with gcc 4.2.0 on Solaris 10, but I'm not sure how to verify my build. I had to define THREAD_LOCAL to be empty in include/common/config.h, but otherwise it seemed to build cleanly. Build command: gmake TARGET=solaris CPU=ultrasparc USE_OPENSSL=1 SSL_INC= SSL_LIB=