[ovs-dev] openvswitch 2.0.0 build breaks on PPC

Ben Pfaff blp at nicira.com
Wed Oct 30 17:28:31 UTC 2013


On Wed, Oct 30, 2013 at 10:33:31AM -0200, Flavio Leitner wrote:
> On Tue, Oct 29, 2013 at 11:13:17AM -0700, Ben Pfaff wrote:
> > 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?
> 
> Yes, see below and the attached file testsuite.log.

In that case, there's significantly more going on than just 8-byte
atomic operations in tests.  If you have time to dig into the
problems, please go ahead, otherwise I will look next week or the week
after.



More information about the dev mailing list