Re: [openib-general] OFED-1.0 fails install on AMD64
Hi Don, Sorry for my late response. ibutils compilation (of libibdmcom) is breaking with the error message: relocation R_X86_64_32 against `__gnu_internal::freelist_key' can not be used when making a shared object; recompile with -fPIC For the command: /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 So obviously one has to figure out why -shared did not cause -fPIC ? Also not clear why this does not break on other machines. Anyways, reproducing the problem is my first target. One obvious thing to try is to set CFLAGS=-fPIC As I do not have access to the exact type of your machine : FSM Labs v 2.2.3 with the 2.6.16 kernel (as the weekend started over hear) I guess I will be able to reproduce only Sun/Mon. Eitan Don Snedigar 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 - -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 21 /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
Re: [openib-general] OFED-1.0 fails install on AMD64
Eitan, Anything using version 4 of gcc should (could ?) have the same problem. If you google the relocation R_X86_64_32 against section of the error you will see a good deal of people with the same/similar issues (not on OFED, but on many other things). I do not belive the issue lies with OFED in this instance. Though I could be wrong. Regards.On 6/23/06, Eitan Zahavi [EMAIL PROTECTED] wrote: Hi Don,Sorry for my late response. ibutils compilation (of libibdmcom) is breaking with theerror message: relocation R_X86_64_32 against `__gnu_internal::freelist_key' can not be used when making a shared object; recompile with -fPIC For the command: /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 -nostdlibSo obviously one has to figure out why -shared did not cause -fPIC ?Also not clear why this does not break on other machines. Anyways, reproducing the problem is my first target.One obvious thing to try is to set CFLAGS=-fPICAs I do not have access to the exact type of your machine : FSM Labs v 2.2.3 with the 2.6.16 kernel(as the weekend started over hear) I guess I will be able to reproduce only Sun/Mon. EitanDon Snedigar 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 - -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_resultg++ -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 21 /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]:
Re: [openib-general] OFED-1.0 fails install on AMD64
Agreed Paul. Google turns up hundreds, if not thousands, of hits about this. Its not an OFED problem... I was able to resolve the problem late last night by upgrading the compiler to gcc-4.0.2. Thanks for all the help though! Don From: Paul [mailto:[EMAIL PROTECTED] Sent: Friday, June 23, 2006 9:45 AMTo: Eitan ZahaviCc: Don Snedigar; openib-general@openib.orgSubject: Re: [openib-general] OFED-1.0 fails install on AMD64 Eitan, Anything using version 4 of gcc should (could ?) have the same problem. If you google the "relocation R_X86_64_32 against" section of the error you will see a good deal of people with the same/similar issues (not on OFED, but on many other things). I do not belive the issue lies with OFED in this instance. Though I could be wrong. Regards. On 6/23/06, Eitan Zahavi [EMAIL PROTECTED] wrote: Hi Don,Sorry for my late response. ibutils compilation (of libibdmcom) is breaking with theerror message: relocation R_X86_64_32 against `__gnu_internal::freelist_key' can not be used when making a shared object; recompile with -fPIC For the command: /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 -nostdlibSo obviously one has to figure out why -shared did not cause -fPIC ?Also not clear why this does not break on other machines. Anyways, reproducing the problem is my first target.One obvious thing to try is to set CFLAGS=-fPICAs I do not have access to the exact type of your machine : FSM Labs v 2.2.3 with the 2.6.16 kernel(as the weekend started over hear) I guess I will be able to reproduce only Sun/Mon. EitanDon Snedigar 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 - -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_resultg++ -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 21 /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-linu
Re: [openib-general] OFED-1.0 fails install on AMD64
Your welcome. Good to hear that you got it working.On 6/23/06, Don Snedigar [EMAIL PROTECTED] wrote: Agreed Paul. Google turns up hundreds, if not thousands, of hits about this. Its not an OFED problem... I was able to resolve the problem late last night by upgrading the compiler to gcc-4.0.2. Thanks for all the help though! Don From: Paul [mailto: [EMAIL PROTECTED]] Sent: Friday, June 23, 2006 9:45 AMTo: Eitan ZahaviCc: Don Snedigar; openib-general@openib.org Subject: Re: [openib-general] OFED-1.0 fails install on AMD64 Eitan, Anything using version 4 of gcc should (could ?) have the same problem. If you google the relocation R_X86_64_32 against section of the error you will see a good deal of people with the same/similar issues (not on OFED, but on many other things). I do not belive the issue lies with OFED in this instance. Though I could be wrong. Regards. On 6/23/06, Eitan Zahavi [EMAIL PROTECTED] wrote: Hi Don,Sorry for my late response. ibutils compilation (of libibdmcom) is breaking with theerror message: relocation R_X86_64_32 against `__gnu_internal::freelist_key' can not be used when making a shared object; recompile with -fPIC For the command: /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 -nostdlibSo obviously one has to figure out why -shared did not cause -fPIC ?Also not clear why this does not break on other machines. Anyways, reproducing the problem is my first target.One obvious thing to try is to set CFLAGS=-fPICAs I do not have access to the exact type of your machine : FSM Labs v 2.2.3 with the 2.6.16 kernel(as the weekend started over hear) I guess I will be able to reproduce only Sun/Mon. EitanDon Snedigar 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 - -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_resultg++ -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 21 /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
[openib-general] OFED-1.0 fails install on AMD64
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.oibnl_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_resultg++ -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 21/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 valuecollect2: ld returned 1 exit statusmake[3]: *** [libibdmcom.la] Error 1make[3]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm/datamodel'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'make[1]: *** [all] Error 2make[1]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'make: *** [all-recursive] Error 1error: 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@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
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 [EMAIL PROTECTED] 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.oibnl_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_resultg++ -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 21/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 valuecollect2: ld returned 1 exit statusmake[3]: *** [libibdmcom.la] Error 1make[3]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm/datamodel'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'make[1]: *** [all] Error 2make[1]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'make: *** [all-recursive] Error 1error: 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.
Re: [openib-general] OFED-1.0 fails install on AMD64
Actually, its FSM Labs v 2.2.3 with the 2.6.16 kernel. We hadFC4 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:[EMAIL PROTECTED] Sent: Thursday, June 22, 2006 5:16 PMTo: Don SnedigarCc: openib-general@openib.orgSubject: 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 [EMAIL PROTECTED] 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.oibnl_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_resultg++ -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 21/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 valuecollect2: ld returned 1 exit statusmake[3]: *** [libibdmcom.la] Error 1make[3]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm/datamodel'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'make[1]: *** [all] Error 2make[1]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibdm'make: *** [all-recursive] Error 1error: Bad exit status from /var/tmp/rp