Bug#615774: slepc: ftbfs with gold or ld --no-add-needed
Matthias Klose
doko at debian.org
Mon Feb 28 00:53:34 UTC 2011
Package: slepc
Version: 3.0.0-p7.dfsg-7.1
Severity: important
Tags: sid
User: peter.fritzsche at gmx.de
Usertags: no-add-needed
The package fails to build in a test rebuild on at least amd64 with
ld --no-add-needed. For details, please see:
http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html
http://wiki.debian.org/ToolChain/DSOLinking
Ubuntu might have a patch for this issue, but unfortunately it was
not forwarded to Debian. Please have a look at
http://packages.qa.debian.org/slepc to see if an Ubuntu version for
this package exists, and if a fix is included in the Ubuntu diff.
[...]
================================================================================
Checking PETSc installation...
WARNING: PETSc version 3.1.0 is newer than SLEPc version
#include "petscksp.h"
EXTERN_C_BEGIN
EXTERN_C_END
int main() {
PetscInitialize(PETSC_NULL,PETSC_NULL,PETSC_NULL,PETSC_NULL);
VecCreate(PETSC_NULL,PETSC_NULL);
MatCreate(PETSC_NULL,PETSC_NULL);
KSPCreate(PETSC_NULL,PETSC_NULL);
return 0;
}
make[1]: Entering directory `/build/user-slepc_3.0.0-p7.dfsg-7.1-amd64-CoLS9k/slepc-3.0.0-p7.dfsg/config'
mpicxx -o checklink.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -g -g -O2 -I/usr/lib/petsc/linux-gnu-c-debug/include -I/usr/lib/petsc/include -I/usr/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/lib -I/usr/include/spooles -I/usr/include/scotch -I/usr/lib -I/usr/include/suitesparse -I/usr/include/petsc -D__INSDIR__= checklink.c
mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -g -o checklink checklink.o -L/usr/lib/petsc/linux-gnu-c-debug/lib -L/usr/lib/petsc/linux-gnu-c-debug/lib -lpetsc -lX11 -L/usr/lib -ldmumps -lzmumps -lsmumps -lcmumps -lmumps_common -lpord -lscalapack-openmpi -lblacs-openmpi -lblacsCinit-openmpi -lspooles -lHYPRE -lscotch -lhdf5_fortran -lhdf5 -lz -lumfpack -lamd -llapack -lblas -L/usr/lib/openmpi/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.5 -ldl -lmpi -lopen-rte -lopen-pal -lnsl -lutil -lgcc_s -lpthread -lmpi_f90 -lmpi_f77 -lgfortran -lm -lm -lm -lm -lmpi_cxx -lstdc++ -lmpi_cxx -lstdc++ -ldl -lmpi -lopen-rte -lopen-pal -lnsl -lutil -lgcc_s -lpthread -ldl
/usr/bin/ld: /usr/lib/petsc/linux-gnu-c-debug/lib/libpetsc.a(hypre.o): undefined reference to symbol 'hypre__global_error'
/usr/bin/ld: note: 'hypre__global_error' is defined in DSO /usr/lib64/libHYPRE_utilities-2.4.0.so so try adding it to the linker command line
/usr/lib64/libHYPRE_utilities-2.4.0.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [checklink] Error 1
make[1]: Leaving directory `/build/user-slepc_3.0.0-p7.dfsg-7.1-amd64-CoLS9k/slepc-3.0.0-p7.dfsg/config'
ERROR: Unable to link with PETSc
ERROR: See "linux-gnu-c-debug/conf/configure.log" file for details
Checking environment...
Checking PETSc installation...
WARNING: PETSc version 3.1.0 is newer than SLEPc version
ERROR: Unable to link with PETSc
make: *** [build-arch] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the debian-science-maintainers
mailing list