[openfabrics-ewg] [PATCH OFED-1.1-rc7] openib.spec: solve rpm packaging issue with 64/32 bit binaries and libraries on ppc64

Michael S. Tsirkin mst at mellanox.co.il
Tue Oct 17 07:57:28 PDT 2006


Quoting r. Hoang-Nam Nguyen <HNGUYEN at de.ibm.com>:
> Subject: Re: [PATCH OFED-1.1-rc7] openib.spec: solve rpm packaging issue with 64/32 bit binaries and libraries on ppc64
> 
> Hi Michael,
> > On AMD64 we have all (most) binaries in 64 bit, 64 libs under /lib64
> > and 32 bit libs under /lib. So it might be easiest to do the same here,
> > at least for OFED 1.1.
>
> Yes, agreed. This is also true for ppc64. So for libraries it is
> common /lib resp. /usr/local/lib for 32-bit libs and /lib64 resp.
> /usr/local/lib64 for 64-bit libs.
> What about binaries/execs? As Vlad mentioned there is a mixture of it.
> And that's true. Just to mention some flavors:
> * All in /bin resp. /usr/local/bin. Without suffix: some are in 32-bit,
> some are in 64-bit. With suffix: xyz64 and/or xyz32
> * In different dirs: /bin resp. /usr/local/bin for 64-bit and /bin32
> resp. /usr/local/bin32 for 32-bit
> ...
> I just adopt the scheme of gdb for 32-bit and gdb64 for 64-bit, both
> in bin dir. Certainly not the best.

I think it's easiest for now to only have 64 bit binaries in /bin.
We should consider our options for next OFED.

-- 
MST




More information about the ewg mailing list