Re: [ovs-discuss] configure tests for gcc builtins with CFLAGS=-Werror

2016-05-25 Thread Ben Pfaff
On Wed, May 25, 2016 at 08:05:38AM +, Chris Packham wrote: > We've run into a problem trying to compile openvswitch with CFLAGS=-Werror. Use "configure --enable-Werror", as documented in Open vSwitch's INSTALL.md file.

Re: [ovs-discuss] configure tests for gcc builtins with CFLAGS=-Werror

2016-05-25 Thread Chris Packham
On 05/26/2016 11:58 AM, Ben Pfaff wrote: > On Wed, May 25, 2016 at 08:05:38AM +, Chris Packham wrote: >> We've run into a problem trying to compile openvswitch with CFLAGS=-Werror. > > Use "configure --enable-Werror", as documented in Open vSwitch's > INSTALL.md file. > Hi Ben, Thanks for poi

Re: configure tests for gcc builtins with CFLAGS=-Werror

2016-05-25 Thread Eric Blake
On 05/25/2016 02:05 AM, Chris Packham wrote: > Hi, > > We've run into a problem trying to compile openvswitch with CFLAGS=-Werror. That's never a good thing to do. We explicitly recommend that you avoid CFLAGS=-Werror during configure tests, and that configure files that WANT to (possibly conditi

configure tests for gcc builtins with CFLAGS=-Werror

2016-05-25 Thread Chris Packham
Hi, We've run into a problem trying to compile openvswitch with CFLAGS=-Werror. I don't think it's an openvswitch problem. It appears to be a autoconf/gcc issue. openvswitch has a test to detect the library that implements __atomic_load_8 which boils down to "AC_SEARCH_LIBS([__atomic_load_8],