Re: Haproxy 1.8 version help

2018-01-05 Thread Willy Tarreau
Hi guys, On Thu, Jan 04, 2018 at 11:20:32PM +0100, Lukas Tribus wrote: > On Thu, Jan 4, 2018 at 11:11 PM, Angelo Hongens wrote: > > On 03-01-2018 17:39, Lukas Tribus wrote: > >> > >> To compile Haproxy 1.8 with threads, at least GCC 4.7 is needed. > >> CentOs 6 only ships GCC

Re: Haproxy 1.8 version help

2018-01-04 Thread Lukas Tribus
Hi Angelo, On Thu, Jan 4, 2018 at 11:11 PM, Angelo Hongens wrote: > On 03-01-2018 17:39, Lukas Tribus wrote: >> >> To compile Haproxy 1.8 with threads, at least GCC 4.7 is needed. >> CentOs 6 only ships GCC 4.4.7, therefor compilation fails. >> You can disable thread support,

Re: Haproxy 1.8 version help

2018-01-04 Thread Angelo Hongens
On 03-01-2018 17:39, Lukas Tribus wrote: To compile Haproxy 1.8 with threads, at least GCC 4.7 is needed. CentOs 6 only ships GCC 4.4.7, therefor compilation fails. You can disable thread support, by adding USE_THREAD= to the make command (nothing comes after the equal sign): I'm no packaging

Re: Haproxy 1.8 version help

2018-01-04 Thread Willy Tarreau
Hi Devendra, Here's a patch that I tested a little bit and apparently work for me. Fell free to test it as well on your machine and to report here. It fixes the build issue and allows you to run with threads. Cheers, Willy >From c27bba26e5bcd772aa8b1c9a1319a2919df13f34 Mon Sep 17 00:00:00 2001

Re: Haproxy 1.8 version help

2018-01-03 Thread Willy Tarreau
On Thu, Jan 04, 2018 at 12:30:47PM +0530, Devendra Joshi wrote: > Hi Lukas n Willy, > > Its working fine with add on of this option *USE_THREAD=* > > Can you tell me why to disable thread support, > will this impact on my haproxy or my server ? No it will not at all. Threads are still

Re: Haproxy 1.8 version help

2018-01-03 Thread Devendra Joshi
Hi Lukas n Willy, Its working fine with add on of this option *USE_THREAD=* Can you tell me why to disable thread support, will this impact on my haproxy or my server ? Devendra Joshi 8080106035 --

Re: Haproxy 1.8 version help

2018-01-03 Thread Willy Tarreau
On Wed, Jan 03, 2018 at 11:50:28PM +0100, Lukas Tribus wrote: > > I've always been all for supporting older compilers exactly for the > > reason above. Till very recently, gcc-2.95 was still reported to work ;-) > > I also have to say that I consider thread support to be a > "high-performance"

Re: Haproxy 1.8 version help

2018-01-03 Thread Devendra Joshi
Hi Willy and Lukas, I tried with the solution which provided by Lukas, the same error i found on console. Devendra Joshi 8080106035 -- -- On 4 January 2018 at 02:34,

Re: Haproxy 1.8 version help

2018-01-03 Thread Ramin K
On 1/3/18 10:10 AM, Philipp Buehler wrote: Am 03.01.2018 17:39 schrieb Lukas Tribus: To compile Haproxy 1.8 with threads, at least GCC 4.7 is needed. CentOs 6 only ships GCC 4.4.7, therefor compilation fails. Waaah, thanks for telling before I tried to rush 1.8 to customer :-P Rather not in

Re: Haproxy 1.8 version help

2018-01-03 Thread Lukas Tribus
Hi Willy, On Wed, Jan 3, 2018 at 10:04 PM, Willy Tarreau wrote: >> To compile Haproxy 1.8 with threads, at least GCC 4.7 is needed. >> CentOs 6 only ships GCC 4.4.7, therefor compilation fails. > > If these are the only failures, maybe we can try and see if we find > equivalent

Re: Haproxy 1.8 version help

2018-01-03 Thread Willy Tarreau
On Wed, Jan 03, 2018 at 05:39:50PM +0100, Lukas Tribus wrote: > > src/hathreads.o: In function `thread_want_sync': > > /softwares/haproxy-1.8.2/src/hathreads.c:75: undefined reference to > > `__atomic_or_fetch' > > src/hathreads.o: In function `thread_exit_sync': > >

Re: Haproxy 1.8 version help

2018-01-03 Thread Philipp Buehler
Am 03.01.2018 17:39 schrieb Lukas Tribus: To compile Haproxy 1.8 with threads, at least GCC 4.7 is needed. CentOs 6 only ships GCC 4.4.7, therefor compilation fails. Waaah, thanks for telling before I tried to rush 1.8 to customer :-P Rather not in the mood to make a build-VM with 4.7+ on C6

Re: Haproxy 1.8 version help

2018-01-03 Thread Devendra Joshi
HI Lukas, Thanks for the help. will check and let you know. Devendra Joshi 8080106035 -- -- On 3 January 2018 at 22:09, Lukas Tribus wrote: > Hello

Re: Haproxy 1.8 version help

2018-01-03 Thread Lukas Tribus
Hello Devendra, On Wed, Jan 3, 2018 at 5:29 PM, Devendra Joshi wrote: > Hi, > > I am using Haproxy 1.7-stable version and its working fine. > now i am upgrading to 1.8-stable, but i am getting error. > > do i need to update some package for this or can work with

Fwd: Haproxy 1.8 version help

2018-01-03 Thread Devendra Joshi
anuary 2018 at 16:57 Subject: Haproxy 1.8 version help To: devendra joshi <devendra.joshi9...@gmail.com> Hi, I am using Haproxy 1.7-stable version and its working fine. now i am upgrading to 1.8-stable, but i am getting error. do i need to update some package for this or can work with exi