Re: [openib-general] 32-bit build for ppc64 is required

2007-02-19 Thread Stefan Roscher
On Thursday 15 February 2007 20:30, Hoang-Nam Nguyen wrote: > > > Yuk. I suppose I could write one, but I don't (and can't) use any of > > > the OFED supplied build scripts in our build system, so it's hard for > me > > > to test since our build system is the only way I have to access > > > ppc/pp

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-15 Thread Hoang-Nam Nguyen
> > Yuk. I suppose I could write one, but I don't (and can't) use any of > > the OFED supplied build scripts in our build system, so it's hard for me > > to test since our build system is the only way I have to access > > ppc/ppc64 hardware. > Oh, well. > Other takers? OK, I've no choice to say no

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-15 Thread Michael S. Tsirkin
> Quoting Doug Ledford <[EMAIL PROTECTED]>: > Subject: Re: 32-bit build for ppc64 is required > > On Thu, 2007-02-15 at 18:29 +0200, Michael S. Tsirkin wrote: > > > Quoting Doug Ledford <[EMAIL PROTECTED]>: > > > Subject: Re: 32-bit build for ppc64 is required > > > > > > On Thu, 2007-02-15 at 07

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-15 Thread Doug Ledford
On Thu, 2007-02-15 at 18:29 +0200, Michael S. Tsirkin wrote: > > Quoting Doug Ledford <[EMAIL PROTECTED]>: > > Subject: Re: 32-bit build for ppc64 is required > > > > On Thu, 2007-02-15 at 07:57 +0200, Michael S. Tsirkin wrote: > > > > > > The choice of 32/64 bit default is done on a per arch bas

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-15 Thread Michael S. Tsirkin
> Quoting Doug Ledford <[EMAIL PROTECTED]>: > Subject: Re: 32-bit build for ppc64 is required > > On Thu, 2007-02-15 at 07:57 +0200, Michael S. Tsirkin wrote: > > > > The choice of 32/64 bit default is done on a per arch basis. With > > > x86_64/i386, the increased number of CPU registers in 64b

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-15 Thread Doug Ledford
On Thu, 2007-02-15 at 08:40 +0100, Hoang-Nam Nguyen wrote: > > So, what you suggest is - build 2 types of libraries, but on PPC make > > binaries 32 bit? That's easy - do others agree to this approach? > No, for execs please create 32bit and 64bit on PPC. > > Another option is to build binaries wit

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-15 Thread Roland Dreier
> Usually this should work, but I don't rely on that since we also support > s390/s390x (although not with Infiniband, but the OpenMPI alternative > that we shipped with RHEL4, lam, gets compiled on s390/s390x) and that > pair is a bit of an odd mix and I don't have one setting here at my > ho

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-15 Thread Doug Ledford
On Thu, 2007-02-15 at 07:57 +0200, Michael S. Tsirkin wrote: > > The choice of 32/64 bit default is done on a per arch basis. With > > x86_64/i386, the increased number of CPU registers in 64bit mode > > outweighs the increased code bloat that goes along with 64bit mode. On > > PPC, no such regi

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-15 Thread Hoang-Nam Nguyen
> > And the > > customers can pick the one(s) they like. > > I see your point regarding QA effort. Is it really twice? > Probably more - I'm reasonably sure most scripts written so far > assume stuff is installed in prefix/bin, so testing harness etc > would need to be changed. > And how to make su

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-15 Thread Michael S. Tsirkin
> Quoting Hoang-Nam Nguyen <[EMAIL PROTECTED]>: > Subject: Re: 32-bit build for ppc64 is required > > > So, what you suggest is - build 2 types of libraries, but on PPC make > > binaries 32 bit? That's easy - do others agree to this approach? > No, for execs please create 32bit and 64bit on PPC. >

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Hoang-Nam Nguyen
> So, what you suggest is - build 2 types of libraries, but on PPC make > binaries 32 bit? That's easy - do others agree to this approach? No, for execs please create 32bit and 64bit on PPC. > Another option is to build binaries with whatever type of binary > gcc without extra flags generates by de

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Michael S. Tsirkin
> Quoting Doug Ledford <[EMAIL PROTECTED]>: > Subject: Re: [openib-general] 32-bit build for ppc64 is required > > On Wed, 2007-02-14 at 16:29 +0200, Michael S. Tsirkin wrote: > > > Quoting Stefan Roscher <[EMAIL PROTECTED]>: > > > Subject: Re: 32-bit b

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Doug Ledford
On Wed, 2007-02-14 at 16:29 +0200, Michael S. Tsirkin wrote: > > Quoting Stefan Roscher <[EMAIL PROTECTED]>: > > Subject: Re: 32-bit build for ppc64 is required > > > > On Wednesday 14 February 2007 14:29, Michael S. Tsirkin wrote: > > > > Quoting Stefan Roscher <[EMAIL PROTECTED]>: > > > > Subjec

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Michael S. Tsirkin
> > Still, using non-standard hacks like bin32 does not sound like a good idea. > > I think the actual issue is there is no common approach for this on various > platforms. > On platforms I've seen, there are 2 sets of libraries but only 64 bit executables provided. This is what we had for OFED

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Hoang-Nam Nguyen
Hi, > Still, using non-standard hacks like bin32 does not sound like a good idea. I think the actual issue is there is no common approach for this on various platforms. > Maybe an option to *only* make 32 bit userspace might make sense though. > Something like --disable-32bit, --disable-64bit. > Th

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Michael S. Tsirkin
> > Well, this is not by design: AFAIK on x86_64 both types of libraries > > are installed. > So, it seems to be an issue with the build script. Will talk to Vlad. > > > But I still do not see how installing 32 bit binaries alongside the 64 > > bit ones is useful, and I do not think other packages

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Hoang-Nam Nguyen
Hi Vlad, > prefix/lib (32bit libraries) should be created on ppc64 as well. > Check that you have sysfsutils 32bit RPM installed. > I don't have ppc64 here to check. The current ofed-1.2 package does not, while ofed-1.1.1 has done. It looks like that the one fix we did for ofed-1.1.1 were away. If

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Hoang-Nam Nguyen
Hi, > Well, this is not by design: AFAIK on x86_64 both types of libraries > are installed. So, it seems to be an issue with the build script. Will talk to Vlad. > But I still do not see how installing 32 bit binaries alongside the 64 > bit ones is useful, and I do not think other packages provide

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Vladimir Sokolovsky
On Wed, 2007-02-14 at 15:18 +0100, Stefan Roscher wrote: > On Wednesday 14 February 2007 14:29, Michael S. Tsirkin wrote: > > > Quoting Stefan Roscher <[EMAIL PROTECTED]>: > > > Subject: 32-bit build for ppc64 is required > > > > > > Hi, > > > > > > after building the latest ofed build package we

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Michael S. Tsirkin
> Quoting Stefan Roscher <[EMAIL PROTECTED]>: > Subject: Re: 32-bit build for ppc64 is required > > On Wednesday 14 February 2007 14:29, Michael S. Tsirkin wrote: > > > Quoting Stefan Roscher <[EMAIL PROTECTED]>: > > > Subject: 32-bit build for ppc64 is required > > > > > > Hi, > > > > > > after

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Stefan Roscher
On Wednesday 14 February 2007 14:29, Michael S. Tsirkin wrote: > > Quoting Stefan Roscher <[EMAIL PROTECTED]>: > > Subject: 32-bit build for ppc64 is required > > > > Hi, > > > > after building the latest ofed build package we recognized that on PPC64 > > only > > 64-bit libaries were build. > >

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-14 Thread Michael S. Tsirkin
> Quoting Stefan Roscher <[EMAIL PROTECTED]>: > Subject: 32-bit build for ppc64 is required > > Hi, > > after building the latest ofed build package we recognized that on PPC64 only > 64-bit libaries were build. > Because we have customers using older userpace apllications which are > certified f

[openib-general] 32-bit build for ppc64 is required

2007-02-12 Thread Stefan Roscher
Hi, after building the latest ofed build package we recognized that on PPC64 only 64-bit libaries were build. Because we have customers using older userpace apllications which are certified for 32-bit we think additional 32bit support is a requirement for 64bit builds. If OFED 1.2 supports 32 bi