Sat 18 Jul 2009 05:56:39 PM UTC, comment #5:
I see this too, on a Nehalem L5520 and Core i7 920, 64-bit only. The crash is observable right back into the mists of ancient time (I went back to ffcall 1.9). We also see a failure in callback/ at alloc_callback() time (i.e., almost immediately):
#0 0x00007f6a79426a6d in __vacall_r () from /usr/src/libffcall/blah/callback/.libs/libcallback.so.0
#1 0x000000000040199d in main () at ./tests.c:856
and a failure in vacall/ in the simple structure tests:
(gdb) bt
#0 0x0000000000405587 in simulator (alist=0x7fffef0a57a0) at ./tests.c:689
#1 0x0000000000405831 in __vacall ()
#2 0x0000000000402806 in main () at ./tests.c:1054
These failures are also seen with tip-of-tree GCC 4.3, and tip-of-tree GCC 4.2.
Did ffcall ever work on x86-64? It doesn't look like it to me.
|
Sun 10 May 2009 06:50:18 AM UTC, comment #4:
This is not an error in make but in make check:
# make check
cd avcall && make check
make[1]: Entering directory `/root/clisp/ffcall/avcall'
gcc -m64 -g -O2 -I. -I. -c ./minitests.c
/bin/sh ./libtool --mode=link gcc -m64 -g -O2 -x none minitests.o libavcall.la \
-o minitests
gcc -m64 -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a
./minitests > minitests.out
LC_ALL=C uniq -u < minitests.out > minitests.output.x86_64-unknown-linux-gnu
test '!' -s minitests.output.x86_64-unknown-linux-gnu
make[1]: *** [check] Error 1
make[1]: Leaving directory `/root/clisp/ffcall/avcall'
make: *** [check] Error 2
# cat avcall/minitests.output.x86_64-unknown-linux-gnu
Int f(Int,Int,Int):({1},{2},{3})->{6}
Int f(Int,Int,Int):({-674908592},{1},{2})->{0}
J f(J,int,J):({47,11},2,{73,55})->{120,68}
J f(J,int,J):({140736813446720,47},11,{2,73})->{0,0}
Also, it's not an intel core duo but AMD 64:
# uname -a
Linux amd64.cs3-inc.com 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:47:07 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
|
Tue 16 Sep 2008 11:12:27 PM UTC, original submission:
$ make check
cd avcall; make check
make[1]: Entering directory `/root/clisp/ffcall/avcall'
gcc -g -O2 -I. -I. -c ./minitests.c
/bin/sh ./libtool --mode=link gcc -g -O2 -x none minitests.o libavcall.la -o mi\
nitests
gcc -g -O2 -x none minitests.o -o minitests ./.libs/libavcall.a
./minitests > minitests.out
LC_ALL=C uniq -u < minitests.out > minitests.output.x86_64-unknown-linux-gnu
test '!' -s minitests.output.x86_64-unknown-linux-gnu
make[1]: *** [check] Error 1
make[1]: Leaving directory `/root/clisp/ffcall/avcall'
make: *** [check] Error 2
This is fedora 10 (alpha) on amd64, btw
|