Sizhe Zhao

Results 46 comments of Sizhe Zhao

By using Python, we can also do patching in Python scripts, which could be a solution for #61 .

It's attractive to run this on Windows, and it does no harm (we need Python anyway).

@aligrudi To be honest I don't like CMake either (weird syntax), but it has become some standard and really saves the hassle of maintaining build files for environments such as...

I've cleaned the entire build directory and started everything from the beginning, but I still got the same error.

I had successfully built other toolchains before, so I guess the MSYS2 side is fine. Also I didn't do anything when the scripts were running.

But anyway I'll just reinstall MSYS2 and see what will happen, hopefully that'll solve the problem.

> @Prince213 any luck? This time with more errors: ``` D:\mingw-gcc-11.2.0\x86_64-1120-posix-seh-rt_v9-s\mingw64\bin\ld.exe: D:/mingw-gcc-11.2.0/x86_64-1120-posix-seh-rt_v9-s/mingw64/mingw/lib/../lib/libpthread.a(libwinpthread_la-thread.o):thread.c:(.text+0x4e2): undefined reference to `__imp___iob_func' D:\mingw-gcc-11.2.0\x86_64-1120-posix-seh-rt_v9-s\mingw64\bin\ld.exe: D:/mingw-gcc-11.2.0/x86_64-1120-posix-seh-rt_v9-s/mingw64/mingw/lib/../lib/libpthread.a(libwinpthread_la-thread.o):thread.c:(.text+0x727): undefined reference to `__imp___iob_func' D:\mingw-gcc-11.2.0\x86_64-1120-posix-seh-rt_v9-s\mingw64\bin\ld.exe: D:/mingw-gcc-11.2.0/x86_64-1120-posix-seh-rt_v9-s/mingw64/mingw/lib/../lib/libpthread.a(libwinpthread_la-thread.o):thread.c:(.text+0xc72): undefined reference to `_setjmp' D:\mingw-gcc-11.2.0\x86_64-1120-posix-seh-rt_v9-s\mingw64\bin\ld.exe: D:/mingw-gcc-11.2.0/x86_64-1120-posix-seh-rt_v9-s/mingw64/mingw/lib/../lib/libpthread.a(libwinpthread_la-thread.o):thread.c:(.text+0xfd2):...

> The log for that part (libgomp in the gcc build) shows undefined references to __imp___iob_func and _setjmp when linking to libpthread.a > the the toolchain downloaded to start it...

Well, I think the problem is caused by _UCRT...