[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#575993: coinor-ipopt: FTBFS: configure: error: linking to Fortran libraries from C fails



Source: coinor-ipopt
Version: 3.8.1-1
Severity: important
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@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

coinor-ipopt  FTBFS on SH4.
http://buildd.debian-ports.org/fetch.php?pkg=coinor-ipopt&arch=sh4&ver=3.8.1-1&stamp=1268934705&file=log&as=raw

-----
configure: Fortran compiler options are: -g -O2
checking how to get verbose linking output from gfortran... -v
checking for Fortran libraries of gfortran...  -little
-L/usr/lib/gcc/sh4-linux-gnu/4.4.3
-L/usr/lib/gcc/sh4-linux-gnu/4.4.3/../../.. -llapack -lblas -lmpiseq
-ldmumps_seq -lgfortranbegin -lgfortran -lm -lgcc_s
checking for dummy main to link with Fortran libraries... unknown
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for Ipopt
make: *** [debian/stamp-autotools-configure] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-----

Old autoconf adds "-little" 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

Attachment: coinor-ipopt-3.8.1_sh4.diff
Description: application/empty


Reply to: