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

Bug#565120: openturns: Please support Renesas SH(sh4)

Source: openturns
Version: 0.13.1-1
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org


I am now trying to run Debian on Renesas SH(sh4) CPU.

openturns FTBFS on SH4.
Because configure included in  openturns is created in old autoconf.


checking how to hardcode library paths into programs... immediate
checking how to get verbose linking output from sh4-linux-gnu-gfortran... -v
checking for Fortran 77 libraries of sh4-linux-gnu-gfortran...
-little -L/usr/lib/gcc/sh4-linux-gnu/4.3.4
-L/usr/lib/gcc/sh4-linux-gnu/4.3.4/../../.. -lgfortranbegin -lgfortran
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in
configure: error: linking to Fortran libraries from C fails
See `config.log' for more details.
configure: error: ./configure failed for lib

Old autoconf adds -little option to compile option. sh4 architecture can't
interpret this option. Therefore, this has build error.

Could you update confiugre with new autoconf?
Or please apply the patch which I attached.
This is patch for quick fix.

Best regards,

Nobuhiro Iwamatsu
  iwamatsu at {nigauri.org / debian.org}
  GPG ID: 40AD1FA6
--- a/lib/configure	2009-12-14 09:58:05.000000000 +0900
+++ b/lib/configure	2009-12-14 09:58:28.000000000 +0900
@@ -19924,7 +19924,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:*)
           test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"

Reply to: