Hi team,

 

I wonder if tests 108 and 114 are supposed to work on macOS.

It happens from several versions (don't know exactly when).

 

Whether I compile tcc on a pure x64 or using x64 emulation on Silicon cpu
(aka M1), I get

 

Test: 108_constructor...

--- 108_constructor.expect      2022-03-17 10:55:09.000000000 +0100

+++ 108_constructor.output      2022-03-17 10:55:20.000000000 +0100

@@ -1,3 +1,2 @@

constructor

main

-destructor

make[3]: *** [108_constructor.test] Error 1

 

 

Test: 114_bound_signal...

--- 114_bound_signal.expect     2022-03-17 10:55:09.000000000 +0100

+++ 114_bound_signal.output     2022-03-17 10:55:21.000000000 +0100

@@ -1,2 +0,0 @@

-start

-end

make[3]: *** [114_bound_signal.test] Error 1

 

It happens when I bootstrap tcc with clang or with tcc

So I wonder if macOS has specificities that prevent 108/114 to work. I
suspect more a macOS limitation than an issue with tcc.

 

If it requires features (__attribute__ constructor/destructor not supported
by macOS , or macOS deprecated sem_xx calls), I suggest to no longer launch
108/114 tests for macOS.

 

Wdyt?

 

C

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to