[openib-general] OFED 1.0-pre 1 build issues.

Paul paul.lundin at gmail.com
Wed Jun 14 13:37:44 PDT 2006


Hello All,
      Using the default build.sh script on x86_64 rhel4u3 works flawlessly.
However when doing the same thing on ppc64 the build fails (both are
"everything" installs). The frustrating thing about the failure is that its
failing while looking in the wrong locations for some libraries. Instead of
looking in the lib64 directories its looking in lib. I have tried setting
LDFLAGS, CXXFLAGS, CCFLAGS and CFLAGS to -m64 with no change, lib64 stuff is
listed before lib in ld.so.conf (which I think only affects runtime ...).
Here is the exact error:


g++ -shared -nostdlib
/usr/lib/gcc/ppc64-redhat-linux/3.4.5/../../../../lib/crti.o
/usr/lib/gcc/ppc64
-redhat-linux/3.4.5/crtbeginS.o .libs/client.o .libs/simmsg.o .libs/msgmgr.o
.libs/tcpcomm.o -L/usr
/lib/gcc/ppc64-redhat-linux/3.4.5
-L/usr/lib/gcc/ppc64-redhat-linux/3.4.5/../../../../lib -L/usr/lib/
gcc/ppc64-redhat-linux/3.4.5/../../.. -L/lib/../lib -L/usr/lib/../lib
-lstdc++ -lm -lc -lgcc_s /usr/l
ib/gcc/ppc64-redhat-linux/3.4.5/crtsavres.o
/usr/lib/gcc/ppc64-redhat-linux/3.4.5/crtendS.o /usr/lib/
gcc/ppc64-redhat-linux/3.4.5/../../../../lib/crtn.o -m64 -mminimal-toc
-Wl,-soname -Wl,libibmscli.so
.1 -o .libs/libibmscli.so.1.0.0
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/ppc64-redhat-linux/3.4.5/../../../../lib/libc.so when
searching for -lc
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/ppc64-redhat-linux/3.4.5/../../../../lib/libc.a when
searching for -lc
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/ppc64-redhat-linux/3.4.5/../../../libc.so when search
ing for -lc
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/ppc64-redhat-linux/3.4.5/../../../libc.a when searchi
ng for -lc
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libc.so when searching
for -lc
/usr/bin/ld: skipping incompatible /usr/lib/../lib/libc.a when searching for
-lc
/usr/bin/ld: warning: powerpc:common architecture of input file
`/usr/lib/gcc/ppc64-redhat-linux/3.4.
5/../../../../lib/crti.o' is incompatible with powerpc:common64 output
/usr/bin/ld: warning: powerpc:common architecture of input file
`/usr/lib/gcc/ppc64-redhat-linux/3.4.
5/crtbeginS.o' is incompatible with powerpc:common64 output
/usr/bin/ld: warning: powerpc:common architecture of input file
`/usr/lib/gcc/ppc64-redhat-linux/3.4.
5/crtsavres.o' is incompatible with powerpc:common64 output
/usr/bin/ld: warning: powerpc:common architecture of input file
`/usr/lib/gcc/ppc64-redhat-linux/3.4.
5/crtendS.o' is incompatible with powerpc:common64 output
/usr/bin/ld: warning: powerpc:common architecture of input file
`/usr/lib/gcc/ppc64-redhat-linux/3.4.
5/../../../../lib/crtn.o' is incompatible with powerpc:common64 output
/usr/bin/ld: can not size stub section: Bad value
/usr/bin/ld: .libs/libibmscli.so.1.0.0: Not enough room for program headers,
try linking with -N
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libibmscli.la] Error 1
make[3]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibmgtsim/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibmgtsim'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/OFEDRPM/BUILD/ibutils-1.0/ibmgtsim'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.18200 (%install)



Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060614/b7aea655/attachment.html>


More information about the general mailing list