Bug#612554: sh4: FTBFS: test fail

2011-02-09 Thread NIIBE Yutaka
Thanks for your attention.

2011-02-09 15:36, Nobuhiro Iwamatsu wrote:
 gauche FTBFS on sh4.

 http://buildd.debian-ports.org/fetch.php?pkg=gauchearch=sh4ver=0.9-19stamp=1297164204file=logas=raw

I saw this morning.

 sh4 needs -mieee option for NaN (fpu) support.

Yes.  I know.  It's like Alpha.

 Could you apply this patch?

Sure.  I will soon in 0.9-20.

BTW, I found that sh4 porterboxes are now available.  Congratulation!
-- 



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



Bug#612554: sh4: FTBFS: test fail

2011-02-08 Thread Nobuhiro Iwamatsu
Package: gauche
Version: 0.9-19
Severity: wishlist
Tags: patch

Hi,

gauche FTBFS on sh4.
   
http://buildd.debian-ports.org/fetch.php?pkg=gauchearch=sh4ver=0.9-19stamp=1297164204file=logas=raw

TARGETLIB=`pwd`  gcc -std=gnu99 -g -O2 -fPIC -Wl,--rpath -Wl,`pwd` -L.  -o 
test-arith test-arith.o -lgauche -ldl -lcrypt -lm  -lpthread
./test-vmstack  test.log
Testing VM stack sanity...   passed.
./test-arith  test.log
Testing integer arithmetic macros ...failed.
Testing primitive syntax ... passed.
Testing error and exception handlers ... passed.
Testing module ...   passed.
Testing macro ...passed.
Testing numbers ...  failed.
discrepancies found.  Errors are:
test finite?: expects (#t #f #f #f) = got (#t #f #f #t) 
test nan?: expects (#f #f #f #t) = got (#f #f #f #f) 
Testing string ...   passed.
Testing symbols and keywords ... passed.


sh4 needs -mieee option for NaN (fpu) support.

I attached the patch which revised this bug.
I applied this patch and execute tests. Work fine.

Could you apply this patch?

Best regards,
  Nobuhiro

-- System Information:
Debian Release: 6.0 
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

diff --git a/configure.ac b/configure.ac
index 6cd11be..5e751a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -290,7 +290,7 @@ case $host in
   AC_DEFINE(SCM_TARGET_I386,1,[Define if uses i386 optimizations])) ;;
   i?86-*)
 AC_DEFINE(SCM_TARGET_I386,1,[Define if uses i386 optimizations]) ;;
-  alpha*)
+  alpha*|sh4-*|sh4el-*|sh4eb-*)
 CFLAGS=$CFLAGS -mieee ;;
   arm*)
 # ARM processor may use a special mixed endian for doubles.  It can


signature.asc
Description: Digital signature