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
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
%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.
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