[ovs-dev] openvswitch 2.0.0 build breaks on PPC

Ben Pfaff blp at nicira.com
Tue Oct 29 18:13:17 UTC 2013


On Tue, Oct 29, 2013 at 03:15:58PM -0200, Flavio Leitner wrote:
> On Tue, Oct 29, 2013 at 08:37:58AM -0700, Ben Pfaff wrote:
> > On Tue, Oct 29, 2013 at 10:51:02AM -0200, Flavio Leitner wrote:
> > > While updating the packages to 2.0.0 I found that the build fails on
> > > PPC.
> > > 
> > > I am not an expert on PPC arch, but I think it doesn't support atomic
> > > operations of 8 bytes (64bit) on 32bit system, then there is no GCC
> > > built-in[1] for those cases which breaks the build.
> > 
> > I only see build failures in the test-atomic program.  That's a good
> > sign that we only use these 8-byte atomic operations in the test
> > program, not in real code.  Are there other build failures?  (Does "make
> > vswitchd/ovs-vswitchd" succeed?)
> 
> I've applied the patch below commenting out the problematic ones
> in test-atomic to work around and I was able to build the rpms.
> So, yeah, that's the only issue as far as I can see.

Did you run the OVS testsuite?  Any failures?



More information about the dev mailing list