Basile Starynkevitch <basile@xxxxxxxxxxxxxxxxx> writes: > On Wed, 2025-05-07 at 15:59 +0000, Cowley, Kevin via Gcc-help wrote: >> HI >> >> We have an issue when building on our Win8.1 Build machines. >> The issue used to be sporadic, 1 in 100 builds or so, but over the last few >> months has become regular, fails 75 in 100 times. >> The failure point is always random, and two different build machines exhibit >> the same fault. >> We believe it to be a windows/system issue but understanding what GCC is doing >> would allow us to potentially work out and remove the cause of the issue. > > May I suggest another approach? > > Install some Linux (e.g. Debian) distribution on your build system. > > If your build machine is a desktop, it could be as cheap as buying a new SSD > disk (they cost less than 120€ or 150US$) and install a dual boot on your > hardware desktop. I assume some familiarity with Linux. > This is not a productive suggestion IMO. > Once Linux is installed, compile GCC 15.1 from its source code (it can be > configured as a cross-compiler) and use it. Some Linux distributions are even > packaging cross-compilers based on GCC. > > If you suspect a bug in GCC itself (and are willing to improve GCC itself) > configure it with debugging enabled. You need to configure then build GCC from > its source code in a different build directory that the source code directory. > He's asking how to get more verbose output... > In some cases writing your GCC plugin (inspired by ideas from > https://arxiv.org/abs/1109.0779 and obsolete code from > https://github.com/bstarynk/bismon and the > http://www.starynkevitch.net/Basile/bismon-chariot-doc.pdf ...) could be > worthwhile. I did wrote that code (when working at CEA, see www.cea.fr) but now > I am retired and don't maintain it anymore. > I don't see how a GCC plugin is related to this at all. > Details depend on the size and complexity of the source code your are building > with GCC. > > Regards from near Paris in France. > > NB. My free software project is now an inference engine, http://refpersys.org/