[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] tcc x86-64 and gawk - progress
From: |
arnold |
Subject: |
[Tinycc-devel] tcc x86-64 and gawk - progress |
Date: |
Thu, 3 May 2012 03:38:36 -0700 |
Hello All.
Kudos to whoever has been working on the x86_64 port. It now compiles
gawk with only one test failure! This is significant progress.
The one remaining test failure seems to be related to handling NaN
floating point values. Here is the diff of the test results.
It would be really cool to have gawk pass all its tests with tcc.
Can someone look at this? Instructions to replicate:
git clone git://git.savannah.gnu.org/gawk.git
cd gawk
git checkout gawk-4.0-stable # important!
./bootstrap.sh
./configure CC=tcc && make && make check
Thanks!
Arnold Robbins
Gawk maintainer
---------------------
make[1]: Entering directory `/d/home/arnold/Gnu/gawk/gawk.git/test'
for i in _* ; \
do \
if [ "$i" != "_*" ]; then \
echo ============== $i ============= ; \
if [ -r ${i#_}.ok ]; then \
diff -c ${i#_}.ok $i ; \
else \
diff -c ./${i#_}.ok $i ; \
fi ; \
fi ; \
done | more
============== _fmtspcl =============
*** fmtspcl.ok Wed May 2 20:09:50 2012
--- _fmtspcl Wed May 2 20:09:50 2012
***************
*** 1,7 ****
gawk: ./fmtspcl.awk:10: warning: sqrt: called with negative argument -1
! gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for
`%x' format
gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for
`%d' format
! gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for
`%x' format
gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for
`%d' format
gawk: ./fmtspcl.awk:3: warning: [s]printf: value inf is out of range for `%x'
format
gawk: ./fmtspcl.awk:3: warning: [s]printf: value inf is out of range for `%d'
format
--- 1,9 ----
gawk: ./fmtspcl.awk:10: warning: sqrt: called with negative argument -1
! sprintf(%s,-9223372036854775808) = -9223372036854775808 (!= -nan)
! sprintf(%x,-9223372036854775808) = ffffffffffffffff (!= -nan)
gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for
`%d' format
! sprintf(%s,-9223372036854775808) = -9223372036854775808 (!= -nan)
! sprintf(%x,-9223372036854775808) = ffffffffffffffff (!= -nan)
gawk: ./fmtspcl.awk:3: warning: [s]printf: value -nan is out of range for
`%d' format
gawk: ./fmtspcl.awk:3: warning: [s]printf: value inf is out of range for `%x'
format
gawk: ./fmtspcl.awk:3: warning: [s]printf: value inf is out of range for `%d'
format
make[1]: Leaving directory `/d/home/arnold/Gnu/gawk/gawk.git/test'
- [Tinycc-devel] tcc x86-64 and gawk - progress,
arnold <=