<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=892152413-21102007>The attached patch
enable compile of ibutils with no error on SLES 10 SP1 PPC64
JS21</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=892152413-21102007>
<DIV><SPAN class=892152413-21102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=892152413-21102007>Idid not test it on other
environments.</SPAN></DIV>
<DIV><SPAN class=892152413-21102007></SPAN> </DIV>
<DIV><SPAN class=892152413-21102007><FONT face=Arial size=2>When I tried to
rpmbuild the new created ibutils...src.rpm </FONT></SPAN></DIV>
<DIV><SPAN class=892152413-21102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=892152413-21102007><FONT face=Arial size=2>I face a new problem
...</FONT></SPAN></DIV>
<DIV><SPAN class=892152413-21102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=892152413-21102007><FONT face=Arial>
<P class=MsoPlainText
style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT
size=2><FONT face="Courier New">make[1]: Leaving directory
`/usr/src/packages/BUILD/ibutils-1.2'<BR>+ install -d
/var/tmp/ibutils-1.2-0.4.ofed20070930-root-root/etc/profile.d<BR>+ cat<BR>+
cat<BR>+ touch ibutils-files<BR>+ install -d
/var/tmp/ibutils-1.2-0.4.ofed20070930-root-root/etc/ld.so.conf.d<BR>+ echo
/usr/lib64<BR>+ case /usr in<BR>+ /usr/lib/rpm/brp-lib64-linux<BR>sf@suse.de: if
you find problems with this script, drop me a note<BR><SPAN
style="mso-spacerun: yes"> </SPAN>RPATH<SPAN
style="mso-spacerun: yes">
</SPAN>/usr/lib/gcc/powerpc64-suse-linux/4.1.2/64:/usr/lib<BR>/var/tmp/ibutils-1.2-0.4.ofed20070930-root-root/usr/lib64/libibdm.so:
rpath to 32bit lib<BR>error: Bad exit status from /var/tmp/rpm-tmp.12275
(%install)</FONT><BR></FONT></P>
<P class=MsoPlainText
style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT
size=2></FONT> </P>
<P class=MsoPlainText
style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=892152413-21102007><FONT size=2>I'm starting to dig it
now.</FONT></SPAN></P></FONT></SPAN></DIV></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=892152413-21102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=892152413-21102007>Patch
explanation:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=892152413-21102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=892152413-21102007>In the configure
files you'll find the line "$CC -print-search-dirs ....."</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=892152413-21102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=892152413-21102007>On a non PPC64
that's the right way to find the gcc & g++ library path.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=892152413-21102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=892152413-21102007>But it is not good
for PPC64 !</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=892152413-21102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=892152413-21102007>The defualt for
PPC64 is ELF 32 bit, therefore if one </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=892152413-21102007>When you search
libraries for ELF 64 objects the right command is -> </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=892152413-21102007></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=892152413-21102007>"$CC $CFLAGS
$CPPFLAGS $LDFLAGS -print-search-dirs ....."</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=892152413-21102007><FONT face=Arial size=2>Also the patch
include spell mistake that caused link errors -> somewere
"CFLAGS=save_cfalgs" is fixed
tobee "CFLAGS=save_cflags"</FONT></SPAN><SPAN
class=892152413-21102007><FONT face=Arial size=2></FONT></SPAN></DIV>
<DIV><SPAN class=892152413-21102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=892152413-21102007><FONT face=Arial><SPAN
class=892152413-21102007><FONT size=2></FONT></SPAN> </DIV>
<DIV>
<P class=MsoPlainText
style="MARGIN: 0cm 0cm 0pt; DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=892152413-21102007><FONT
size=2>Moshe</FONT></SPAN></P></FONT></SPAN></DIV>
<DIV><SPAN class=892152413-21102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=892152413-21102007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV class=Section1>
<P class=MsoNormal dir=ltr align=left><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'"><SPAN
class=892152413-21102007>Can someone </SPAN></SPAN><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'"><SPAN
class=892152413-21102007>help me to fix this problem in the right way,
</SPAN></SPAN></P>
<P class=MsoNormal dir=ltr align=left><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'"><SPAN
class=892152413-21102007>I.e. changing the autoconf input files and not the
configure / aclocal.m4 files</SPAN></SPAN></P>
<P class=MsoNormal dir=ltr align=left><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'"><SPAN
class=892152413-21102007></SPAN></SPAN> </P>
<P class=MsoNormal dir=ltr align=left><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'"><SPAN
class=892152413-21102007>Moshe</SPAN></SPAN></P>
<P class=MsoNormal dir=ltr align=left><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'">____________________________________________________________</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'">Moshe
Katzir<SPAN style="mso-spacerun: yes"> </SPAN><SPAN
class=GramE>|<SPAN style="mso-spacerun: yes"> </SPAN>+972-9971-8639
</SPAN>(o)<SPAN style="mso-spacerun: yes"> </SPAN>|<SPAN
style="mso-spacerun: yes"> </SPAN>+972-52-860-6042
(m)<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'"></SPAN> </P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'">Voltaire
– <U>The Grid Backbone<o:p></o:p></U></SPAN></P>
<P class=MsoNormal><U><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'"><o:p><SPAN
style="TEXT-DECORATION: none"> </SPAN></o:p></SPAN></U></P>
<P class=MsoNormal> <SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'"><A
href="http://www.voltaire.com/">www.voltaire.com</A><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'"><A
href="mailto:g@voltaire.com"></A><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'"><SPAN
style="mso-spacerun: yes"> </SPAN></SPAN><SPAN
style="COLOR: blue"> </SPAN><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'"><o:p></o:p></SPAN></P></DIV>
<DIV> </DIV></BODY></HTML>