Your message dated Mon, 14 Dec 2009 19:41:41 -0600
with message-id <[email protected]>
has caused the   report #561180,
regarding r-base : FTBFS: sh4: configure: error: linking to Fortran libraries  
from C fails
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
561180: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561180
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Kurt,

Fresh bugreport, by Murphy's law exactly on the day of the release and after
I made the upload :) against R.  It has to do with update autoconf /
configure logic to allow for builds on the sh / sh4 embedded architecture.
Nobuhiro is doing a pretty heroical effort to get packages converted. 

As of right now I do not know how recent your GNU autoconf toolchain has to
be, but I hope to get some details on that.

Cheers, Dirk

On 15 December 2009 at 09:50, Nobuhiro Iwamatsu wrote:
| Package: r-base
| Version: 2.10.1-1
| Severity: important
| Tags: patch
| User: [email protected]
| Usertags: sh4
| X-Debbugs-CC: [email protected]
|
| 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
| 
| r-base FTBFS on SH4.
| Because configure included in r-base is created in old autoconf.
| 
| -----
| checking how to get verbose linking output from gcc -std=gnu99... -v
| checking for C libraries of gcc -std=gnu99...  -little
| -L/usr/lib/gcc/sh4-linux-gnu/4.3.4
| -L/usr/lib/gcc/sh4-linux-gnu/4.3.4/../../.. -lgcc_s
| checking for dummy main to link with Fortran 77 libraries... unknown
| configure: error: linking to Fortran libraries from C fails
| -----
| 
| This become the error by the following contents in config.log.
| -----
| configure:27813: result:  -little -L/usr/lib/gcc/sh4-linux-gnu/4.3.4
| -L/usr/lib/gcc/sh4-linux-gnu/4.3.4/../../.. -lgcc_s
| configure:27944: checking for dummy main to link with Fortran 77 libraries
| configure:27988: gcc -std=gnu99 -o conftest -g -O2   conftest.c -ldl
| -lm   -little -lgfortran -lm >&5
| /usr/bin/ld.real: cannot find -little
| collect2: ld returned 1 exit status
| -----
| 
| 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
| 
| ----------------------------------------------------------------------
| --- a/configure       2009-12-15 09:42:16.000000000 +0900
| +++ b/configure       2009-12-15 09:43:25.000000000 +0900
| @@ -27410,7 +27410,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"
| @@ -27731,7 +27731,7 @@
|  
|            ;;
|            # Ignore these flags.
| -        -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | 
-LANG:=*)
| +        -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | 
-little | -LANG:=*)
|            ;;
|          -lkernel32)
|            test x"$CYGWIN" != xyes && r_cv_c_libs="$r_cv_c_libs $r_arg"

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


--- End Message ---

Reply via email to