<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=358333222-22062006><FONT face=Arial
color=#0000ff size=2>Actually, its FSM Labs v 2.2.3 with the 2.6.16
kernel. We had FC4 on the box, but then added RTLinuxPro on the
box. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=358333222-22062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=358333222-22062006><FONT face=Arial
color=#0000ff size=2>Yes, gcc is version 4 (gcc --version gives 4.0.0 20050519
(Red Hat 4.0.0-8) </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=358333222-22062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=358333222-22062006><FONT face=Arial
color=#0000ff size=2>Only environment variables set would be the ones that the
install script sets itself.\</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=358333222-22062006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=358333222-22062006><FONT face=Arial
color=#0000ff size=2>don</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Paul [mailto:paul.lundin@gmail.com]
<BR><B>Sent:</B> Thursday, June 22, 2006 5:16 PM<BR><B>To:</B> Don
Snedigar<BR><B>Cc:</B> openib-general@openib.org<BR><B>Subject:</B> Re:
[openib-general] OFED-1.0 fails install on AMD64<BR></FONT><BR></DIV>
<DIV></DIV>Well taking a couple of stabs in the dark here. What version of
redhat/fedora are you using ? I am using rhel 4 update 3 and it uses gcc version
3.4.5-2 by default. It appears as if your system is using 4.0.0. Also do you
have any environment variables set ? Such as CFLAGS, CCFLAGS or the like ? For
the record the only reason I mention gcc 4x is because it is the only time I
have personally seen that error arise. <BR><BR>
<DIV><SPAN class=gmail_quote>On 6/22/06, <B class=gmail_sendername>Don
Snedigar</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:dsnedigar@calpont.com" target=_blank>dsnedigar@calpont.com </A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV>
<DIV><SPAN><FONT face=Arial size=2>I just downloaded the OFED-1.0 and the
install was going fine until ibutils. At that point, the install fails
with :</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Courier color=#0000ff size=2>Open MPI RPM will be
created during the installation process</FONT></SPAN></DIV>
<DIV><FONT face=Courier color=#0000ff></FONT> </DIV><SPAN><FONT size=2>
<DIV><BR><FONT face=Courier color=#0000ff>Building ibutils RPM. Please
wait...</FONT></DIV>
<DIV><FONT face=Courier color=#0000ff></FONT> </DIV>
<DIV><FONT face=Courier color=#0000ff>Running rpmbuild --rebuild --define
'_topdir /var/tmp/OFEDRPM' --define 'configure_options
--prefix=/usr/local/ofed --mandir=/usr/local/ofed/share/man
--cache-file=/var/tmp/OFED/ibutils.cache
--with-osm=/var/tmp/OFED/usr/local/ofed --enable-ibmgtsim' --define '_prefix
/usr/local/ofed' --define '_libdir /usr/local/ofed/lib64' --define '_mandir
%{_prefix}/share/man' --define 'build_root /var/tmp/OFED'
/home/snedigar/OFED-1.0/SRPMS/ibutils-1.0-0.src.rpm<BR>-<BR>ERROR: Failed
executing "rpmbuild --rebuild --define '_topdir /var/tmp/OFEDRPM' --define
'configure_options --prefix=/usr/local/ofed --mandir=/usr/local/ofed/share/man
--cache-file=/var/tmp/OFED/ibutils.cache
--with-osm=/var/tmp/OFED/usr/local/ofed --enable-ibmgtsim' --define '_prefix
/usr/local/ofed' --define '_libdir /usr/local/ofed/lib64' --define '_mandir
%{_prefix}/share/man' --define 'build_root /var/tmp/OFED'
/home/snedigar/OFED-1.0/SRPMS/ibutils-1.0-0.src.rpm"</FONT></DIV>
<DIV><FONT face=Courier color=#0000ff></FONT> </DIV>
<DIV><FONT face=Courier><FONT color=#0000ff>See log file:
/tmp/OFED.28656.log</FONT><BR></FONT></DIV></FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>I dug down into the log file it indicates
and found :</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2> <FONT face=Courier color=#0000ff>g++
-DHAVE_CONFIG_H -I. -I. -I.. -O2 -DIBDM_IBNL_DIR=\"/usr/local/ofed/lib64\"
-I/usr/include -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64
-mtune=nocona -MT ibnl_scanner.lo -MD -MP -MF .deps/ibnl_scanner.Tpo -c
ibnl_scanner.cc -fPIC -DPIC -o .libs/ibnl_scanner.o<BR>ibnl_scanner.ll:
In function 'int ibnl_lex()':<BR>ibnl_scanner.ll:197: warning: ignoring return
value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with
attribute warn_unused_result<BR> g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2
-DIBDM_IBNL_DIR=\"/usr/local/ofed/lib64\" -I/usr/include -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -mtune=nocona -MT ibnl_scanner.lo
-MD -MP -MF .deps/ibnl_scanner.Tpo -c ibnl_scanner.cc -o ibnl_scanner.o
>/dev/null 2>&1<BR>/bin/sh ../libtool --tag=CXX --mode=link g++ -O2
-DIBDM_IBNL_DIR='"/usr/local/ofed/lib64"' -I/usr/include -O2 -g -pipe
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m64 -mtune=nocona -o <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://libibdmcom.la" target=_blank>libibdmcom.la</A> -rpath
/usr/local/ofed/lib64 -version-info "2:1:1" Fabric.lo SubnMgt.lo
TraceRoute.lo CredLoops.lo TopoMatch.lo SysDef.lo LinkCover.lo Congestion.lo
ibnl_parser.lo ibnl_scanner.lo <BR>g++ -shared -nostdlib
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/../../../../lib64/crti.o
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/crtbeginS.o .libs/Fabric.o
.libs/SubnMgt.o .libs/TraceRoute.o .libs/CredLoops.o .libs/TopoMatch.o
.libs/SysDef.o .libs/LinkCover.o .libs/Congestion.o .libs/ibnl_parser.o
.libs/ibnl_scanner.o -L/usr/lib/gcc/x86_64-redhat-linux/4.0.0
-L/usr/lib/gcc/x86_64-redhat-linux/4.0.0/../../../../lib64
-L/usr/lib/gcc/x86_64-redhat-linux/4.0.0/../../.. -L/lib/../lib64
-L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/../../../../lib64/crtn.o -m64
-mtune=nocona -Wl,-soname -Wl,libibdmcom.so.1 -o
.libs/libibdmcom.so.1.1.1<BR></FONT><FONT face=Courier
color=#0000ff>/usr/bin/ld:
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/libstdc++.a(mt_allocator.o): relocation
R_X86_64_32 against `__gnu_internal::freelist_key' can not be used when making
a shared object; recompile with
-fPIC<BR>/usr/lib/gcc/x86_64-redhat-linux/4.0.0/libstdc++.a: could not read
symbols: Bad value<BR>collect2: ld returned 1 exit status<BR>make[3]: *** [<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://libibdmcom.la" target=_blank>libibdmcom.la</A>] Error
1<BR>make[3]: Leaving directory
`/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm/datamodel'<BR>make[2]: ***
[all-recursive] Error 1<BR>make[2]: Leaving directory
`/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'<BR>make[1]: *** [all] Error
2<BR>make[1]: Leaving directory
`/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'<BR>make: *** [all-recursive] Error
1<BR>error: Bad exit status from /var/tmp/rpm-tmp.16738
(%install)</FONT></FONT></SPAN></DIV>
<DIV><FONT face=Courier color=#0000ff></FONT> </DIV><SPAN>
<DIV><BR><FONT face=Courier color=#0000ff size=2>RPM build
errors:<BR> Bad exit status from /var/tmp/rpm-tmp.16738
(%install)<BR>ERROR: Failed executing "rpmbuild --rebuild --define '_topdir
/var/tmp/OFEDRPM' --define 'configure_options --prefix=/usr/local/ofed
--mandir=/usr/local/ofed/share/man --cache-file=/var/tmp/OFED/ibutils.cache
--with-osm=/var/tmp/OFED/usr/local/ofed --enable-ibmgtsim' --define '_prefix
/usr/local/ofed' --define '_libdir /usr/local/ofed/lib64' --define '_mandir
%{_prefix}/share/man' --define 'build_root /var/tmp/OFED'
/home/snedigar/OFED-1.0/SRPMS/ibutils-1.0-0.src.rpm"<BR></FONT></DIV>
<DIV><SPAN><FONT face=Arial size=2>Can anyone shed any light on this
? </FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>Machine is dual Opteron, 2 gig memory,
kernel 2.6.16</FONT></SPAN></DIV></SPAN></DIV>
<DIV><SPAN>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2>Don Snedigar</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Calpont Corp.</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>214-618-9516</FONT></DIV>
<DIV> </DIV></SPAN></DIV><BR>_______________________________________________<BR>openib-general
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:openib-general@openib.org"
target=_blank>openib-general@openib.org </A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://openib.org/mailman/listinfo/openib-general"
target=_blank>http://openib.org/mailman/listinfo/openib-general</A><BR><BR>To
unsubscribe, please visit <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://openib.org/mailman/listinfo/openib-general"
target=_blank>http://openib.org/mailman/listinfo/openib-general</A><BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>