Package: scalapack
Version: 1.7-9
Severity: serious

Greetings,

scalapack is failing to build on arm and PPC.  On arm, the error is:

gcc  -o /home/hazelsct/scalapack-1.7/TESTING/xigemr pigemrdrv.o -L 
/home/hazelsct/scalapack-1.7 -lscalapack-lam -lblacsCinit-lam -lblacs-lam 
-lblacsCinit-lam -lmpi -llapack -lblas -lf2c -lm
/usr/lib/gcc/arm-linux-gnu/4.0.2/../../../libf2c.so: undefined reference to 
`MAIN__'
collect2: ld returned 1 exit status
make[2]: *** [/home/hazelsct/scalapack-1.7/TESTING/xigemr] Error 1
make[2]: Leaving directory `/home/hazelsct/scalapack-1.7/REDIST/TESTING'
make[1]: *** [redistexe] Error 2
make[1]: Leaving directory `/home/hazelsct/scalapack-1.7'
make: *** [build-stamp-lam] Error 2

It links just fine without -lf2c.  I'm doing a complete rebuild with
this removed from SLmake.inc to see if it works on ARM.

On PPC, the error is:

gcc  -o /build/buildd/scalapack-1.7/TESTING/xigemr pigemrdrv.o -L 
/build/buildd/scalapack-1.7 -lscalapack-lam -lblacsCinit-lam -lblacs-lam 
-lblacsCinit-lam -lmpi -llapack -lblas -lf2c -lm
/usr/bin/ld: 
/usr/lib/gcc/powerpc-linux-gnu/4.0.2/../../../../lib/libf2c.a(lread.o)(.got2+0xbc):
 unresolvable R_PPC_ADDR32 relocation against symbol `f__units'
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[2]: *** [/build/buildd/scalapack-1.7/TESTING/xigemr] Error 1
make[2]: Leaving directory `/build/buildd/scalapack-1.7/REDIST/TESTING'
make[1]: *** [redistexe] Error 2
make[1]: Leaving directory `/build/buildd/scalapack-1.7'
make: *** [build-stamp-lam] Error 2

I can't say whether this too will be resolved by removing -lf2c, but the
error seems to suggest so.

Thanks,

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://www.take6.com/albums/greatesthits.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to