tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] make test fail in termux/aarch64 Android 11?


From: grischka
Subject: Re: [Tinycc-devel] make test fail in termux/aarch64 Android 11?
Date: Sat, 4 Mar 2023 17:21:46 +0100
User-agent: Mozilla/5.0 (Windows NT 6.0; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

On 01.03.2023 14:58, Andrew Randrianasulu wrote:
I tried to make tcc from commit

29ae3ed4d5b83eec43598d6cd7949bccb41c8083

it makes itself fine, just 'make test' result in

~/tinycc $ make test
make[1]: Entering directory '/data/data/com.termux/files/home/tinycc/tests'
------------ hello-exe ------------
Hello World
------------ hello-run ------------
Hello World
------------ libtest ------------
Hello World!
fib(32) = 2178309
add(32, 64) = 96
------------ libtest_mt ------------                                            
                   running fib with mixed calls
   1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946
  (60 ms)                                                                       
                    running fib in threads
   1 2 5 1597 8 13 3 34 2584 144 21 377 89 55 987 4181 233 610 10946 6765
  (77 ms)
running tcc.c in threads to run fib
   1 5 144 1597 6765 3 21 377 10946 8 233 610 2584 34 89 987 4181 2 13 55
  (5492 ms)
compiling tcc.c 10 times
   1 2 3 4 5 6 7 8 9 10
  (2125 ms)
------------ test3 ------------
--- test.ref    2023-03-01 16:48:38.688180575 +0300
+++ test.out3   2023-03-01 16:48:40.140180574 +0300
@@ -827,7 +827,7 @@
  *rel1=2                                                                       
                     *rel2=3
  in getmyaddress
-pa_symbol=0x0
+pa_symbol=0xffffffffffffffff

  ---- old_style_function_test ----
  a=1 b=2 b=3.000000
make[2]: *** [Makefile:125: test3] Error 1
make[1]: *** [Makefile:80: all] Error 2
make[1]: Leaving directory '/data/data/com.termux/files/home/tinycc/tests'
make: *** [Makefile:451: test] Error 2


I wonder if this error real or simply result from old test?

Hi,

that test is rather new however might show up with some shortcoming if
global addresses are in the above 2GB range (which may or may not be the
case with -run memory on android aarch64). See comment at tcctest.c:2862.

Probably you're fine to ignore that error for now.  In any case you can
use
    $ make test -k
to see more results from the other tests.

-- gr

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]