Package: scalapack
Version: 1.8.0
Severity: minor
Usertags: clang-ftbfs

Hello,

Using the rebuild infrastructure http://buildd-clang.debian.net/, your
package fails to build with clang (instead of gcc).

You can see the full log here:
http://clang.debian.net/logs/2013-01-28/scalapack_1.8.0-9_unstable_clang.log

The attached patch fixes it.

Thanks,
Sylvestre


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (600, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Index: scalapack-1.8.0/SLmake.inc
===================================================================
--- scalapack-1.8.0.orig/SLmake.inc	2013-05-30 14:56:57.000000000 +0200
+++ scalapack-1.8.0/SLmake.inc	2013-05-30 15:28:31.022005282 +0200
@@ -130,8 +130,8 @@
 #F77           = /usr/local/pgi/linux86/bin/pgf77
 CC            = gcc
 NOOPT         = -w $(FPIC)
-F77FLAGS      = -Wall -O6 -funroll-all-loops -ffast-math $(NOOPT)
-CCFLAGS       = -Wall $(FPIC) -O6 -funroll-all-loops -ffast-math
+F77FLAGS      = -Wall -O4 -funroll-all-loops -ffast-math $(NOOPT)
+CCFLAGS       = -Wall $(FPIC) -O4 -funroll-all-loops -ffast-math
 SRCFLAG       =
 F77LOADER     = $(F77)
 ifeq ($(MPI),mpich)
Index: scalapack-1.8.0/SRC/pdlaiect.c
===================================================================
--- scalapack-1.8.0.orig/SRC/pdlaiect.c	2006-01-18 22:36:03.000000000 +0100
+++ scalapack-1.8.0/SRC/pdlaiect.c	2013-05-30 15:20:08.781991452 +0200
@@ -227,7 +227,7 @@
    }
 }
 
-pdlachkieee_( isieee, rmax, rmin )
+void pdlachkieee_( isieee, rmax, rmin )
 /*
 *  .. Scalar Arguments ..
 */
Index: scalapack-1.8.0/SRC/pslaiect.c
===================================================================
--- scalapack-1.8.0.orig/SRC/pslaiect.c	2006-01-18 22:36:03.000000000 +0100
+++ scalapack-1.8.0/SRC/pslaiect.c	2013-05-30 15:13:50.365981030 +0200
@@ -150,7 +150,7 @@
    }
 }
 
-pslachkieee_( isieee, rmax, rmin )
+void pslachkieee_( isieee, rmax, rmin )
 /*
 *  .. Scalar Arguments ..
 */

Reply via email to