On Mon, 21 Apr 2025 17:01:27 +0100 Denis Ovsienko <de...@ovsienko.info> wrote:
> On the amd64 host (Debian 12) it works as expected: Also works on an AArch64 host (Debian 12): $ tcc --version tcc version 0.9.27 (AArch64 Linux) $ tcc test_atexit.c -o test_atexit && ./test_atexit main(): in main(): out exitfunc(): in exitfunc(): out So the problem seems to be specific to 32 bits rather than ARM. Is it possible that the root cause could be a pointer size hard-coded to 64 bits somewhere? -- Denis Ovsienko _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel