Re: [PATCH v2 iproute2] tc: fix bpf compilation with old glibc

2015-07-27 Thread Yegor Yefremov
On Thu, Jul 23, 2015 at 11:50 PM, Alexei Starovoitov wrote: > On Thu, Jul 23, 2015 at 09:17:41AM +0200, Nicolas Dichtel wrote: >> Error was: >> f_bpf.o: In function `bpf_parse_opt': >> f_bpf.c:(.text+0x88f): undefined reference to `secure_getenv' >> m_bpf.o: In function `parse_bpf': >> m_bpf.c:(.t

Re: [PATCH v2 iproute2] tc: fix bpf compilation with old glibc

2015-07-23 Thread Alexei Starovoitov
On Thu, Jul 23, 2015 at 09:17:41AM +0200, Nicolas Dichtel wrote: > Error was: > f_bpf.o: In function `bpf_parse_opt': > f_bpf.c:(.text+0x88f): undefined reference to `secure_getenv' > m_bpf.o: In function `parse_bpf': > m_bpf.c:(.text+0x587): undefined reference to `secure_getenv' > collect2: error

Re: [PATCH v2 iproute2] tc: fix bpf compilation with old glibc

2015-07-23 Thread Daniel Borkmann
On 07/23/2015 09:17 AM, Nicolas Dichtel wrote: Error was: f_bpf.o: In function `bpf_parse_opt': f_bpf.c:(.text+0x88f): undefined reference to `secure_getenv' m_bpf.o: In function `parse_bpf': m_bpf.c:(.text+0x587): undefined reference to `secure_getenv' collect2: error: ld returned 1 exit status

[PATCH v2 iproute2] tc: fix bpf compilation with old glibc

2015-07-23 Thread Nicolas Dichtel
Error was: f_bpf.o: In function `bpf_parse_opt': f_bpf.c:(.text+0x88f): undefined reference to `secure_getenv' m_bpf.o: In function `parse_bpf': m_bpf.c:(.text+0x587): undefined reference to `secure_getenv' collect2: error: ld returned 1 exit status There is no special reason to use the secure ver