On OpenBSD:
Test: 106_pthread... 106_pthread.c:13: warning: implicit declaration of function 'pthread_condattr_setpshared' tcc: error: undefined symbol 'pthread_condattr_setpshared' diff: 106_pthread.output: No such file or directory gmake[3]: *** [Makefile:122: 106_pthread.test] Error 2 Test: 107_stack_safe... Test: 108_constructor... Test: 109_float_struct_calling... Test: 110_average... Test: 111_conversion... Test: 112_backtrace... Test: 113_btdll... Segmentation fault (core dumped) --- 113_btdll.expect Thu Dec 17 17:28:08 2020 +++ 113_btdll.output Thu Dec 17 17:28:39 2020 @@ -1,6 +0,0 @@ -113_btdll.c:12: at f_1: hello from f_1() / 113_btdll.c:12 -113_btdll.c:37: by main -113_btdll.c:20: at f_2: hello from f_2() / 113_btdll.c:20 -113_btdll.c:38: by main -113_btdll.c:31: at f_main: hello from f_main() / 113_btdll.c:31 -113_btdll.c:39: by main gmake[3]: *** [Makefile:122: 113_btdll.test] Error 1 Test: 114_bound_signal... ^^^^ wait forever It's more strange on Windows, when I try to build a 32/64bits version boostrapped from gcc, it builds tcc and two backends. tcc.exe i386-win32-tcc.exe x86_64-win32-tcc.exe ./tcc (or -m64) produces an executable using x86_64-win32-tcc.exe But ./tcc -m32 refuses to execute i386-win32-tcc.exe which has an invalid permission. Ls -ls looks good, only clicking on property shows that rights are wrong. tinycc-02f61d5 works like a charm. I've not tested your commit on other platforms.
_______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel