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