|
From: | Domingo Alvarez Duarte |
Subject: | Re: [Tinycc-devel] tcc i386 test failures after commit ea2805f |
Date: | Thu, 3 Apr 2014 20:55:44 +0100 |
Hi Michael,
tcc on i386 has been failing a couple of tests for a while.
For example, commit 3e56584 ("Allow local redefinition of enumerator",
31-03-2014), fails like so:
$ make test
...
------------ test1b ------------
../tcc -B.. -I.. -I.. -I../include -b -run tcctest.c > test.out1
--- test.ref 2014-04-03 20:09:19.207429405 +0100
+++ test.out1 2014-04-03 20:09:19.879432730 +0100
@@ -538,7 +538,7 @@
Test C99 VLA 2 (ptrs substract): PASSED
Test C99 VLA 3 (ptr add): PASSED
Test C99 VLA 4 (ptr access): PASSED
-Test C99 VLA 5 (bounds checking (might be disabled)): PASSED PASSED PASSED PASSED PASSED PASSED PASSED PASSED
+Test C99 VLA 5 (bounds checking (might be disabled)): FAILED PASSED FAILED PASSED FAILED PASSED FAILED PASSED
sizeof(int) = 4
sizeof(unsigned int) = 4
sizeof(long) = 4
make[1]: *** [test1b] Error 1
make[1]: Leaving directory `/home/ramsay/tinycc/tests'
make: *** [test] Error 2
$
After commit ea2805f ("shared libs: Build libtcc1.a with -fPIC", 02-04-2014),
this now fails like so:
$ make test
...
------------ test1b ------------
../tcc -B.. -I.. -I.. -I../include -b -run tcctest.c > test.out1
Runtime error: dereferencing invalid pointer
at 0x9a6dc23 __bound_init()
Segmentation fault
make[1]: *** [test1b] Error 139
make[1]: Leaving directory `/home/ramsay/tinycc/tests'
make: *** [test] Error 2
$
Also, running 'make -k test', show other (bounds) tests failing in
a similar fashion (test3b and btest).
I don't have time to investigate this myself (sorry!).
HTH
ATB,
Ramsay Jones
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
[Prev in Thread] | Current Thread | [Next in Thread] |