Hello, I pushed the following commit to mob:
904e95cb win32: avoid Interlocked imports for tcc arm64 This is a follow-up to the Windows compile-lock initialization change, after receiving a report of a failure on the GitHub mirror CI: https://github.com/TinyCC/tinycc/actions/runs/25925479935/job/76205486021 The failure was: tcc: error: could not resolve symbol 'InterlockedCompareExchange' tcc: error: could not resolve symbol 'InterlockedExchange' Windows/arm64 exposes Interlocked* operations as compiler intrinsics rather than kernel32 exports. When tcc -run self-compiles tcc.c, calls to InterlockedCompareExchange or InterlockedExchange can therefore remain as unresolved imports in the in-memory linker. The fix routes the TinyCC Windows/arm64 path through the existing __atomic helpers while keeping Interlocked* for other Windows compilers. The existing compile-lock initialization state machine is otherwise unchanged. Regards, Mounir IDRASSI _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
