[Pkg-scicomp-devel] Bug#565120: openturns: Please support Renesas SH(sh4)

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Wed Jan 13 05:58:09 UTC 2010


Source: openturns
Version: 0.13.1-1
Severity: wishlist
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

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

http://buildd.debian-ports.org/fetch.php?pkg=openturns&arch=sh4&ver=0.13.1-1&stamp=1260537077&file=log&as=raw

-----
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
-lm
checking for dummy main to link with Fortran 77 libraries... unknown
configure: error: in
`/build/buildd-openturns_0.13.1-1-sh4-LmujSq/openturns-0.13.1/lib':
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.
   http://lists.gnu.org/archive/html/bug-autoconf/2008-10/msg00039.html

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

Best regards,
 Nobuhiro

--
Nobuhiro Iwamatsu
  iwamatsu at {nigauri.org / debian.org}
  GPG ID: 40AD1FA6
-------------- next part --------------
--- 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:*)
           ;;
         -lkernel32)
           test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"


More information about the Pkg-scicomp-devel mailing list