在 2025-5-8 17:34, Cowley, Kevin via Gcc-help 写道:
Thankyou. Unfortunately, the version of gcc we're using is supplied as part of the ADAcore install so we're not in a position to rebuild it as we don't have the source for the version of GCC we're using. It does at least move our understanding of the issue forward. We're pretty sure it's not a GCC issue per say, its some sort of Windows issue (surprise, surprise, Not!), we're just trying to get a handle on what and why it's now become a major problem rather than an occasional annoyance.
That's too unfortunate. The last resort will be to use ProcessMonitor to monitor filesystem API calls. It will produces gigabytes of output, so make sure filters be set properly before proceeding.
The overall randomness might be a result of inferiority in the random number generator (which was fixed last year [1]), or a result of address space layout randomization (ASLR). You may try upgrading mingw-w64 and disabling ASLR on the build machine.
[1] https://github.com/mingw-w64/mingw-w64/commit/dbfdf802580c0d6b90b91995dab019f2a7787a8e -- Best regards, LIU Hao
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature