[ewg] Re: building userspace on ppc64 is broken

Michael S. Tsirkin mst at dev.mellanox.co.il
Tue Sep 18 01:46:55 PDT 2007


> Quoting Yosef Etigin <yosefe at voltaire.com>:
> Subject: Re: building userspace on ppc64 is broken
> 
> Michael S. Tsirkin wrote:
> >>Quoting Roland Dreier <rdreier at cisco.com>:
> >>Subject: Re: building userspace on ppc64 is broken
> >>
> >> > >  %build
> >> > > +%ifarch ppc64
> >> > > +%{expand: %%define optflags %{optflags} -m64}
> >> > > +%endif
> >> > >  %configure
> >> > >  make %{?_smp_mflags}
> >> > 
> >> > Hmm. Roland?
> >>
> >>I guess if the OFED build system is breaking the libibverbs build then
> >>putting a patch like this in might be needed to fix things.
> > 
> > 
> > I don't really care whose fault it is. If OFED is doing something wrong,
> > we should fix that, not work around it at library level. But what is wrong?
> > 
> > Roland, I know you already help with packaging libibverbs for e.g.
> > debian. Can't you support packaging libibverbs for OFED too?
> > 
> 
> Another option is to build packages for ppc64 with an environment of
> CFLAGS="-m64 $(rpm --eval %optflags)", like in the previous version of OFED.

I think for ppc64 we need both 64 and 32 bit packages, right?

-- 
MST



More information about the ewg mailing list