[openfabrics-ewg] Bug fix for the PPC64 sles10 libopensm.so & ibutils problem
Hal Rosenstock
halr at voltaire.com
Thu Sep 28 10:32:36 PDT 2006
On Tue, 2006-09-26 at 07:36, Moshe Kazir wrote:
>
> Michael,
>
> The attached patch file for ibutils.spec solve the compilation errors
> of ibutils on PPC64 SLES10.
>
> I tested it on OFED-1.1-rc6 .
>
> For those of you that need ibutils working on PPC64 SLES10 ->
>
> Simply copy the attached rpm to OFED-1.1-rc6/SRPMS directory and run
> ./install.sh
>
> It was compiled and install with no errors.
>
> And :
> - Does any one knows why this rpm is installed with "rpm -Uvh
> --nodeps " ? I removed the --nodeps and it was installed o.k. !
>
> - Any one have a good script for testing ibutils, as I never used it
> and don't want to spent time on learning how to run/use it.
Also, why is the patch to ibutils.spec ? Is there no ibutils.spec.in ?
Shouldn't this be built with autotools ?
-- Hal
> Moshe
>
>
>
> ____________________________________________________________
>
> Moshe Katzir | +972-9971-8639 (o) | +972-52-860-6042 (m)
>
>
>
> Voltaire – The Grid Backbone
>
>
>
> www.voltaire.com
>
>
>
>
> -----Original Message-----
> From: Moshe Kazir
> Sent: Tuesday, September 26, 2006 11:21 AM
> To: 'Michael S. Tsirkin'
> Cc: Yiftah Shahar
> Subject: Is there a soution to the PPC64 sles10 libopensm.so
> problem
>
>
>
> Did I miss a message, or the following error message is not
> solve yet on OFED-rc6 ?
>
>
>
> I started looking at the bug and suspect that the error is
> missing " CFLAGS += -m64 " .
>
>
>
> Moshe
>
>
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include
> -I/var/tmp/OFED/usr/local/ofed/include/infiniband
> -I/var/tmp/OFED/usr/local/ofed/include
> -DOSM_VENDOR_INTF_OPENIB -DOSM_BUILD_OPENIB
> -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -O2 -Wall
> -fno-strict-aliasing -fPIC -O2 -g -fmessage-length=0
> -D_FORTIFY_SOURCE=2 -MT ibis_wrap.lo -MD -MP -MF
> .deps/ibis_wrap.Tpo -c ibis_wrap.c -o ibis_wrap.o >/dev/null
> 2>&1
> /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include
> -I/var/tmp/OFED/usr/local/ofed/include/infiniband
> -I/var/tmp/OFED/usr/local/ofed/include
> -DOSM_VENDOR_INTF_OPENIB -DOSM_BUILD_OPENIB
> -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 -O2 -Wall
> -fno-strict-aliasing -fPIC -O2 -g -fmessage-length=0
> -D_FORTIFY_SOURCE=2 -o libibis.la -rpath
> /usr/local/ofed/lib64 -version-info "1:0:0" -no-undefined
> -Wl,-rpath -Wl,/var/tmp/OFED/usr/local/ofed/lib64
> -L/var/tmp/OFED/usr/local/ofed/lib64 -lopensm -losmvendor
> -losmcomp -libumad -libcommon -L/usr/lib64 -ltcl8.4 -ldl -lm
> ibis_wrap.lo ibbbm.lo ibcr.lo ibis.lo ibis_gsi_mad_ctrl.lo
> ibpm.lo ibsac.lo ibsm.lo ibvs.lo
> libtool: link: warning:
> `/var/tmp/OFED/usr/local/ofed/lib64/libibcommon.la' seems to
> be moved
> libtool: link: warning:
> `/var/tmp/OFED/usr/local/ofed/lib64/libibcommon.la' seems to
> be moved
> libtool: link: warning:
> `/var/tmp/OFED/usr/local/ofed/lib64/libibcommon.la' seems to
> be moved
> libtool: link: warning:
> `/var/tmp/OFED/usr/local/ofed/lib64/libibcommon.la' seems to
> be moved
> libtool: link: warning: library
> `/var/tmp/OFED/usr/local/ofed/lib64/libibcommon.la' was moved.
> gcc -shared .libs/ibis_wrap.o .libs/ibbbm.o .libs/ibcr.o
> .libs/ibis.o .libs/ibis_gsi_mad_ctrl.o .libs/ibpm.o
> .libs/ibsac.o .libs/ibsm.o .libs/ibvs.o -Wl,--rpath
> -Wl,/var/tmp/OFED/usr/local/ofed/lib64 -Wl,--rpath
> -Wl,/var/tmp/OFED/usr/local/ofed/lib64
> -L/var/tmp/OFED/usr/local/ofed/lib64
> /var/tmp/OFED/usr/local/ofed/lib64/libopensm.so
> -L/var/tmp/OFEDRPM/BUILD/openib-1.1/src/userspace/management/libibcommon -L/usr/lib64 -L/var/tmp/OFEDRPM/BUILD/openib-1.1/src/userspace/management/libibumad /var/tmp/OFED/usr/local/ofed/lib64/libosmvendor.so /var/tmp/OFED/usr/local/ofed/lib64/libosmcomp.so /var/tmp/OFED/usr/local/ofed/lib64/libibumad.so /var/tmp/OFED/usr/local/ofed/lib64/libibcommon.so -ltcl8.4 -ldl -lm -Wl,-rpath -Wl,/var/tmp/OFED/usr/local/ofed/lib64 -Wl,-soname -Wl,libibis.so.1 -o .libs/libibis.so.1.0.0
> /var/tmp/OFED/usr/local/ofed/lib64/libopensm.so: could not
> read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make[3]: *** [libibis.la] Error 1
> make[3]: Leaving directory
> `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibis/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibis'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibis'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.23064 (%install)
>
>
>
>
>
> ____________________________________________________________
>
> Moshe Katzir | +972-9971-8639 (o) | +972-52-860-6042
> (m)
>
>
>
> Voltaire – The Grid Backbone
>
>
>
> www.voltaire.com
>
>
>
>
>
>
>
> ______________________________________________________________________
>
> _______________________________________________
> openfabrics-ewg mailing list
> openfabrics-ewg at openib.org
> http://openib.org/mailman/listinfo/openfabrics-ewg
More information about the ewg
mailing list