Bug#599891: v-sim: sh4: error: linking to Fortran libraries from C fails
Source: v-sim
Version: 3.5.2-1
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org
Hi,
v-sim FTBFS on SH4.
http://buildd.debian-ports.org/fetch.php?pkg=v-sim&arch=sh4&ver=3.5.2-1&stamp=1286660305&file=log&as=raw
-----
checking for XCrysDen file support... yes
checking for Cube file support... yes
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran... -little
-L/usr/lib/gcc/sh4-linux-gnu/4.4.5
-L/usr/lib/gcc/sh4-linux-gnu/4.4.5/../../.. -lgfortranbegin -lgfortran
-lm
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details.
make: *** [debian/stamp-autotools] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-----
This bug is a problem same as #554339.
Because v-sim was updated, it is necessary to update a patch for sh4.
I updated 00_sh4_support.patch. Could you apply this?
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
--- a/configure 2010-10-12 03:44:04.000000000 +0000
+++ b/configure 2010-10-12 03:44:25.000000000 +0000
@@ -25682,7 +25682,7 @@
;;
# Ignore these flags.
- -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
+ -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little | -LANG:=* | -LIST:* | -LNO:*)
;;
-lkernel32)
test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
@@ -28132,7 +28132,7 @@
;;
# Ignore these flags.
- -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
+ -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little | -LANG:=* | -LIST:* | -LNO:*)
;;
-lkernel32)
test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
Reply to: