Re: [ewg] Re: building userspace on ppc64 is broken

2007-09-18 Thread Hoang-Nam Nguyen
Hi, 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? Yes. That has been the case for ofed-1.1 and ofed-1.2. And we'd like to keep that

[ewg] Re: building userspace on ppc64 is broken

2007-09-18 Thread Roland Dreier
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? That's a good question. The original bug report was rather short on details. Roland, I know you already help with packaging libibverbs for

[ewg] Re: building userspace on ppc64 is broken

2007-09-17 Thread Roland Dreier
%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.

[ewg] Re: building userspace on ppc64 is broken

2007-09-16 Thread Michael S. Tsirkin
Quoting Yosef Etigin [EMAIL PROTECTED]: Subject: building userspace on ppc64 is broken While building user-space binaries on ppc64, the libs are placed in /usr/lib64, but they are built as 32 bit. This happens because in ofed 1.2 CFLAGS=-m64 was passed by the environment from the install