The attached patch enable compile of ibutils with no error on SLES 10 SP1 PPC64 JS21 Idid not test it on other environments. When I tried to rpmbuild the new created ibutils...src.rpm I face a new problem ... make[1]: Leaving directory `/usr/src/packages/BUILD/ibutils-1.2' + install -d /var/tmp/ibutils-1.2-0.4.ofed20070930-root-root/etc/profile.d + cat + cat + touch ibutils-files + install -d /var/tmp/ibutils-1.2-0.4.ofed20070930-root-root/etc/ld.so.conf.d + echo /usr/lib64 + case /usr in + /usr/lib/rpm/brp-lib64-linux [EMAIL PROTECTED]: if you find problems with this script, drop me a note RPATH /usr/lib/gcc/powerpc64-suse-linux/4.1.2/64:/usr/lib /var/tmp/ibutils-1.2-0.4.ofed20070930-root-root/usr/lib64/libibdm.so: rpath to 32bit lib error: Bad exit status from /var/tmp/rpm-tmp.12275 (%install)
I'm starting to dig it now. Patch explanation: In the configure files you'll find the line "$CC -print-search-dirs ....." On a non PPC64 that's the right way to find the gcc & g++ library path. But it is not good for PPC64 ! The defualt for PPC64 is ELF 32 bit, therefore if one When you search libraries for ELF 64 objects the right command is -> "$CC $CFLAGS $CPPFLAGS $LDFLAGS -print-search-dirs ....." Also the patch include spell mistake that caused link errors -> somewere "CFLAGS=save_cfalgs" is fixed tobee "CFLAGS=save_cflags" Moshe Can someone help me to fix this problem in the right way, I.e. changing the autoconf input files and not the configure / aclocal.m4 files Moshe ____________________________________________________________ Moshe Katzir | +972-9971-8639 (o) | +972-52-860-6042 (m) Voltaire - The Grid Backbone www.voltaire.com <http://www.voltaire.com/> <mailto:[EMAIL PROTECTED]>
ibutils_sles10_sp1_ppc64.patch
Description: ibutils_sles10_sp1_ppc64.patch
_______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
