tags 332955 patch
thanks

On Sun, 2005-10-09 at 14:58 -0400, Adam C Powell IV wrote:
> 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.

I can confirm that this builds just fine on ARM with no f2c anywhere
(with f2c and libf2c2[-dev] removed), i.e. with the attached patch
against 1.7-9.

Please try to get this or some other fix in soon, as it scalapack's
FTBFS status is holding up the transition of blacs, mpich, petsc,
illuminator, libffm, lam, netpipe, libhdf5, mpb, and a few other
lam-related packages.

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
--- SLmake.inc~	2005-10-10 08:45:11.000000000 -0400
+++ SLmake.inc	2005-10-10 08:46:41.000000000 -0400
@@ -109,7 +109,7 @@
 SYSLIBS       = -lm
 else
 CCLOADER      = $(CC)
-SYSLIBS       = -lf2c -lm
+SYSLIBS       = -lm
 endif
 F77LOADFLAGS  =
 CCLOADFLAGS   =
--- debian/control~	2005-10-10 08:45:11.000000000 -0400
+++ debian/control	2005-10-10 08:46:28.000000000 -0400
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Philipp Frauenfelder <[EMAIL PROTECTED]>
 Standards-Version: 3.6.1
-Build-Depends: libmpich1.0-dev (>= 1.2.7-1), lam4-dev, pvm-dev, blacs-mpich-dev (>= 1.1-25), blacs-lam-dev, blacs-pvm-dev, g77, lapack3-dev | liblapack-3.so, refblas3-dev | libblas-3.so, f2c, debhelper
+Build-Depends: libmpich1.0-dev (>= 1.2.7-1), lam4-dev, pvm-dev, blacs-mpich-dev (>= 1.1-25), blacs-lam-dev, blacs-pvm-dev, g77, lapack3-dev | liblapack-3.so, refblas3-dev | libblas-3.so, debhelper
 
 Package: scalapack1-mpich
 Architecture: any

Reply via email to