niXman / mingw-builds

Scripts for building the 32 and 64-bit MinGW-W64 compilers for Windows
Other
282 stars 107 forks source link

Add GCC 13.1.0 #639

Closed guyutongxue closed 1 year ago

guyutongxue commented 1 year ago

Successfully built GCC 13.1.0 with x86_64-win32-seh-ucrt-rv_v10.

(But without --bootstrapall flag, the build failed with some strange error. Should I open an issue for this?)

niXman commented 1 year ago

hi,

great, thanks!

but shouldn't gcc-13-branch.sh contain the same list of patches as gcc-13.1.0.sh ?

(But without --bootstrapall flag, the build failed with some strange error. Should I open an issue for this?)

could you provide the used command-line and the error report here first?

guyutongxue commented 1 year ago

but shouldn't gcc-13-branch.sh contain the same list of patches as gcc-13.1.0.sh ?

Sorry, I didn't get it; the patch lists for both gcc-13-branch and gcc-13.1.0 are copied directly from gcc-trunk, and they look the same.

could you provide the used command-line and the error report here first?

I forgot to save the error log, sorry :(. The build command line is:

./build --mode=gcc-13.1.0 --arch=x86_64 --threads=win32 --exceptions=seh --with-default-msvcrt=ucrt --rt-version=v10 --buildroot=/build --bin-compress

As far as I remember, the error occurred at the beginning of the stage-2 of GCC bootstrap, something like

ld.exe: error: blahblahblah.o: lseek: Bad file descriptor
ld returned 1 exit status

🥺

starg2 commented 1 year ago

(But without --bootstrapall flag, the build failed with some strange error. Should I open an issue for this?)

I couldn't reproduce the failure. Everything seems fine.