ChuanqiXu9 wrote: > To clarify the non-determinism: Under -fmodules, PCM declarations are lazily deserialized. Due to filesystem enumeration order differences (ext4 hash order on Linux vs NTFS alphabetical on Windows) during module map scanning, the hypotf declaration from <math.h> happened to be eagerly deserialized prior to CodeGen in some environments, but remained deferred in others. This caused CodeGen to inconsistently emit either @_hypotf (with dllimport) or @hypotf (without dllimport), leading to link errors on Windows.
This is not non-determinism to me. It sounds like a bug to me. We should fix that. https://github.com/llvm/llvm-project/pull/204792 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
