Package: gauche Version: 0.9-19 Severity: wishlist Tags: patch Hi,
gauche FTBFS on sh4. http://buildd.debian-ports.org/fetch.php?pkg=gauche&arch=sh4&ver=0.9-19&stamp=1297164204&file=log&as=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