Skip to content

"make test" ... MacOS on M1 #2

@zdendos

Description

@zdendos

------------ version ------------
tcc version 0.9.28rc 2025-05-27 mob@c6792dac (AArch64 Darwin)
------------ 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
(10 ms)
producing some exceptions (!)
1 2 3 5 8 13 21 34 55! 89! 144! 233! 377! 610! 987! 1597! 2584 4181 6765 10946
(13 ms)
running fib in threads
1 8 21 55 34 10946 13 5 233 89 3 6765 610 2 1597 377 4181 144 2584 987
(7 ms)
running tcc.c in threads to run fib
13 1 5 6765 3 4181 987 2 2584 34 21 377 610 1597 233 10946 144 55 8 89
(1581 ms)
compiling tcc.c 10 times
1 2 3 4 5 6 7 8 9 10
(287 ms)
------------ test3 ------------
--- test.ref 2025-05-28 12:19:17.286865705 +0200
+++ test.out3 2025-05-28 12:19:17.459853618 +0200
@@ -408,7 +408,7 @@
promote char/short assign -85 120
promote char/short assign VA -85 120
promote char/short cast VA -85 120
-promote char/short funcret -1987475063 -85
+promote char/short funcret 137 -85
promote char/short fumcret VA 52685 -4113 0 1
promote multicast (char)(unsigned char) -9 -9
promote multicast (unsigned)(int) -1432778632
make[2]: *** [test3] Error 1
make[1]: *** [all] Error 2
make: *** [test] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions