Re: gcc-12.3 cannot build gcc-ada on Cygwin

2023-05-23 Thread LIU Hao via Gcc
在 2023/5/23 04:08, Achim Gratz 写道: I've backported the patch _and_ defined both WIN32_LEAN_AND_MEAN and COM_NO_WINDOWS_H (of which I find no reference anywhere in the sources, so it's probably doing something in the Windows headers?) and the build has been working through stage 3. That look lik

Re: gcc-12.3 cannot build gcc-ada on Cygwin

2023-05-22 Thread Achim Gratz
LIU Hao via Gcc writes: > 在 2023-05-22 00:35, Achim Gratz 写道: >> The error probably is in part a result of using g++ for the compilation, >> but other than that I don't really have an idea what goes on here or how >> to fix it. > > This looks like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300

Re: gcc-12.3 cannot build gcc-ada on Cygwin

2023-05-21 Thread LIU Hao via Gcc
在 2023-05-22 00:35, Achim Gratz 写道: The error probably is in part a result of using g++ for the compilation, but other than that I don't really have an idea what goes on here or how to fix it. This looks like https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300. It's because GCC defines `abort`

gcc-12.3 cannot build gcc-ada on Cygwin

2023-05-21 Thread Achim Gratz
I've recently recovered Ada into gcc-11.3 on Cygwin and am now trying to update the whole compiler suite to 12.3. The build runs into a problem in stage 2: --8<---cut here---start->8--- make[3]: Entering directory '/mnt/share/cygpkgs/gcc/gcc.x86_64/build/gcc'