[openib-general] OFED-1.0 fails install on AMD64
Don Snedigar
dsnedigar at calpont.com
Thu Jun 22 15:35:43 PDT 2006
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.
Yes, gcc is version 4 (gcc --version gives 4.0.0 20050519 (Red Hat
4.0.0-8)
Only environment variables set would be the ones that the install script
sets itself.\
don
________________________________
From: Paul [mailto:paul.lundin at gmail.com]
Sent: Thursday, June 22, 2006 5:16 PM
To: Don Snedigar
Cc: openib-general at openib.org
Subject: Re: [openib-general] OFED-1.0 fails install on AMD64
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.
On 6/22/06, Don Snedigar <dsnedigar at calpont.com > wrote:
I just downloaded the OFED-1.0 and the install was going fine
until ibutils. At that point, the install fails with :
Open MPI RPM will be created during the installation process
Building ibutils RPM. Please wait...
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
-
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"
See log file: /tmp/OFED.28656.log
I dug down into the log file it indicates and found :
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
ibnl_scanner.ll: In function 'int ibnl_lex()':
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
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
/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
libibdmcom.la -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
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
/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
/usr/lib/gcc/x86_64-redhat-linux/4.0.0/libstdc++.a: could not
read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libibdmcom.la] Error 1
make[3]: Leaving directory
`/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm/datamodel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.16738 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.16738 (%install)
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"
Can anyone shed any light on this ?
Machine is dual Opteron, 2 gig memory, kernel 2.6.16
Don Snedigar
Calpont Corp.
214-618-9516
_______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060622/07fabade/attachment.html>
More information about the general
mailing list