Re: Build fail on alpine linux

2016-08-08 Thread Willy Tarreau
On Mon, Aug 08, 2016 at 02:15:04PM +0200, Baptiste wrote: > Here you go :) Applied, thanks! willy

Re: Build fail on alpine linux

2016-08-08 Thread Baptiste
On Mon, Aug 8, 2016 at 2:09 PM, Willy Tarreau wrote: > On Mon, Aug 08, 2016 at 02:05:58PM +0200, Baptiste wrote: > > It won't, I'm sending you a patch soon to define _GNU_SOURCE in > proto_tcp.c > > :) > > (which seems to "fix" the problem, also I don't know if this is the right > >

Re: Build fail on alpine linux

2016-08-08 Thread Willy Tarreau
On Mon, Aug 08, 2016 at 02:05:58PM +0200, Baptiste wrote: > It won't, I'm sending you a patch soon to define _GNU_SOURCE in proto_tcp.c > :) > (which seems to "fix" the problem, also I don't know if this is the right > way to go) Perfect, thanks. Please put it before the first include in the

Re: Build fail on alpine linux

2016-08-08 Thread Baptiste
On Mon, Aug 8, 2016 at 1:50 PM, Willy Tarreau wrote: > On Mon, Aug 08, 2016 at 01:28:07PM +0200, Baptiste wrote: > > Here you go: > > # fgrep -r tcp_info /usr/include/* > > /usr/include/linux/tcp.h:struct tcp_info { > > /usr/include/netinet/tcp.h:struct tcp_info > > It's

Re: Build fail on alpine linux

2016-08-08 Thread Willy Tarreau
On Mon, Aug 08, 2016 at 01:28:07PM +0200, Baptiste wrote: > Here you go: > # fgrep -r tcp_info /usr/include/* > /usr/include/linux/tcp.h:struct tcp_info { > /usr/include/netinet/tcp.h:struct tcp_info It's strange that your netinet/tcp.h has it and that it doesn't work, maybe there's some

Re: Build fail on alpine linux

2016-08-08 Thread Baptiste
On Mon, Aug 8, 2016 at 12:30 PM, Willy Tarreau wrote: > Hi Baptiste, > > On Mon, Aug 08, 2016 at 12:21:54PM +0200, Baptiste wrote: > > Hi All, > > > > I test my HAProxy code in docker containers over alpine Linux and I can't > > build the haproxy -dev branch anymore... > > I have

Re: Build fail on alpine linux

2016-08-08 Thread Willy Tarreau
Hi Baptiste, On Mon, Aug 08, 2016 at 12:21:54PM +0200, Baptiste wrote: > Hi All, > > I test my HAProxy code in docker containers over alpine Linux and I can't > build the haproxy -dev branch anymore... > I have the following error: > gcc -Iinclude -Iebtree -Wall -O0 -g -fno-strict-aliasing >

Build fail on alpine linux

2016-08-08 Thread Baptiste
Hi All, I test my HAProxy code in docker containers over alpine Linux and I can't build the haproxy -dev branch anymore... I have the following error: gcc -Iinclude -Iebtree -Wall -O0 -g -fno-strict-aliasing -Wdeclaration-after-statement -DCONFIG_HAP_LINUX_SPLICE -DTPROXY