Hi Nobuhiro,

On 14 December 2009 at 09:38, Nobuhiro Iwamatsu wrote:
| Package: jags
| Version: 1.0.4-3
| Severity: important
| Tags: patch
| User: debian-...@superh.org
| Usertags: sh4
| X-Debbugs-CC: debian-sup...@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
| 
| slang-slirp can not build on sh4. Because configure of this package generated
| from old autoconf.
| 
| 
http://buildd.debian-ports.org/fetch.php?pkg=jags&arch=sh4&ver=1.0.4-3&stamp=1260680406&file=log&as=raw
| -----
| ......
| configure:23232: gcc -o conftest -g -O2   conftest.c -ldl   -little
| -L/usr/lib/gcc/sh4-linux-gnu/4.3.4
| -L/usr/lib/gcc/sh4-linux-gnu/4.3.4/../../.. -ldl -lgfortranbegin
| -lgfortran -lm >&5
| /usr/bin/ld: cannot find -little
| collect2: ld returned 1 exit status
| ....
| -----
| 
| 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.

I will apply the patch but I think Martyn (upstream, CC'ed) used recent
versions of just about everything.

Dirk

| 
| Best regards,
|  Nobuhiro
| 
| --
| Nobuhiro Iwamatsu
|   iwamatsu at {nigauri.org / debian.org}
|   GPG ID: 40AD1FA6
| 
| ----------------------------------------------------------------------
| --- a/configure       2009-12-14 09:34:48.000000000 +0900
| +++ b/configure       2009-12-14 09:35:18.000000000 +0900
| @@ -22759,7 +22759,7 @@
|  
|            ;;
|            # Ignore these flags.
| -        -lang* | -lcrt* | -lc | -lgcc* | -lSystem | -libmil | -LANG:=*)
| +        -lang* | -lcrt* | -lc | -lgcc* | -lSystem | -libmil | -little | 
-LANG:=*)
|            ;;
|          -lkernel32)
|            test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"
| @@ -23087,7 +23087,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"
| @@ -23941,7 +23941,7 @@
|  
|            ;;
|            # Ignore these flags.
| -        -lang* | -lcrt* | -lc | -lgcc* | -lSystem | -libmil | -LANG:=*)
| +        -lang* | -lcrt* | -lc | -lgcc* | -lSystem | -libmil | -little | 
-LANG:=*)
|            ;;
|          -lkernel32)
|            test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg"

-- 
Three out of two people have difficulties with fractions.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to