Bug#575181: elmerfem: FTBFS: /usr/bin/ld: cannot find -little

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Wed Mar 24 02:12:19 UTC 2010


Source: elmerfem
Version: 5.5.0.svn.4388.dfsg-1
Severity: important
Tags: patch
User: debian-sh4 at superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh at lists.debian.org

Hi,

I am now trying to run Debian on Renesas SH(sh4) CPU.
http://buildd.debian-ports.org/status/architecture.php?suite=unstable&a=sh4

elmerfem FTBFS on SH4.

-----
g++  -shared  -L.  -L/usr/lib  -Wl,-soname,libelmersolver-5.5.0.so -o
libelmersolver-5.5.0.so NavierStokes.o NavierStokesGeneral.o
NavierStokesCylindrical.o Lists.o DiffuseConvectiveAnisotropic.o
DiffuseConvectiveGeneralAnisotropic.o PElementMaps.o PElementBase.o
ElementDescription.o Integration.o ModelDescription.o GeneralUtils.o
Stress.o StressGeneral.o LinearAlgebra.o CoordinateSystems.o
ListMatrix.o CRSMatrix.o BandMatrix.o BandwidthOptimize.o
MaterialModels.o FlowSolve.o HeatSolve.o StressSolve.o DirectSolve.o
IterSolve.o IterativeMethods.o TimeIntegrate.o Types.o SolveBand.o
ElementUtils.o Radiation.o fft.o Load.o Differentials.o FreeSurface.o
Maxwell.o MaxwellAxiS.o MaxwellGeneral.o MagneticSolve.o Walls.o
SolverUtils.o SolveSBand.o CPUTime.o Interpolation.o MainUtils.o
MeshSolve.o Adaptive.o EigenSolve.o HashTable.o MeshUtils.o
SParIterGlobals.o SParIterComm.o SParIterPrecond.o SParIterSolver.o
Messages.o Multigrid.o Smoothers.o ParallelUtils.o
ParallelEigenSolve.o solve_cmplx.o solve_real.o MGPrec.o DefUtils.o
LUDecomposition.o RadiationFactors.o f_stubs.o ExchangeCorrelations.o
SolveHypre.o SolveSuperLU.o iso_varying_string.o umf4_f77wrapper.o
VankaCreate.o ElmerSolver.o -L. -ldl
-L/build/buildd-elmerfem_5.5.0.svn.4388.dfsg-1-sh4-3LM6WW/elmerfem-5.5.0.svn.4388.dfsg/debian/tmp/usr/lib
-L/usr/lib -lm -larpack -lparpack -lHYPRE_Euclid -lHYPRE_parcsr_ls
-lHYPRE_ParaSails -lHYPRE_IJ_mv -lumfpack -lamd -lhuti -lmatc -leiof
-L. -ldl -L/build/buildd-elmerfem_5.5.0.svn.4388.dfsg-1-sh4-3LM6WW/elmerfem-5.5.0.svn.4388.dfsg/debian/tmp/usr/lib
-L/usr/lib -lm -llapackgf-3 -lblas-3gf
-L/build/buildd-elmerfem_5.5.0.svn.4388.dfsg-1-sh4-3LM6WW/elmerfem-5.5.0.svn.4388.dfsg/debian/tmp/usr/lib
-L/usr/lib/gcc/sh4-linux-gnu/4.4.3
-L/usr/lib/gcc/sh4-linux-gnu/4.4.3/../../.. -lgfortranbegin -lgfortran
-lm  -L/build/buildd-elmerfem_5.5.0.svn.4388.dfsg-1-sh4-3LM6WW/elmerfem-5.5.0.svn.4388.dfsg/debian/tmp/usr/lib
-L/usr/lib/gcc/sh4-linux-gnu/4.4.3
-L/usr/lib/gcc/sh4-linux-gnu/4.4.3/../../.. -lgfortranbegin -lgfortran
-lm  -little -L/usr/lib/gcc/sh4-linux-gnu/4.4.3
-L/usr/lib/gcc/sh4-linux-gnu/4.4.3
-L/usr/lib/gcc/sh4-linux-gnu/4.4.3/../../.. -lstdc++ -lm -lgcc_s
-lgcc_s -L. -Lbinio -lbinio
/usr/bin/ld: cannot find -little
collect2: ld returned 1 exit status
make[4]: *** [libelmersolver.so] Error 1
-----

Old autoconf adds -little option to compile option. sh4 architecture can't
interpret this option. Therefore, this has build error.
 http://lists.gnu.org/archive/html/bug-autoconf/2008-10/msg00039.html

Please update configure or apply attached patch.
This patch is a simple revision method to apply a patch to configure.
However, it is not a right workaround.

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: elmerfem-sh4.patch
Type: application/x-empty
Size: 1655 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100324/53b18b01/attachment-0001.bin>


More information about the debian-science-maintainers mailing list