Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch Errors Compiling 12.1.0 #589

Closed
NickCNA opened this issue May 12, 2022 · 3 comments
Closed

Patch Errors Compiling 12.1.0 #589

NickCNA opened this issue May 12, 2022 · 3 comments

Comments

@NickCNA
Copy link

NickCNA commented May 12, 2022

I tried to compile 12.1.0 and got patching errors with:

gcc/gcc-libgomp-ftime64.patch
gcc/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
gcc/gcc-10-libgcc-ldflags.patch

Commenting out these patches in 12.1.0.sh gave a compile error.

@Guyutongxue
Copy link
Contributor

Guyutongxue commented May 12, 2022

I've already tried a successful build of GCC 12.1.0. I had run into some patch errors, but I've fixed them in the PR.

My build arg is (likely):

--mode=gcc-12.1.0 --arch=x86_64 --exceptions=seh --threads=posix --rt-version=v10 --enable-languages=c,c++

So I don't know why you're experiencing these errors...

@NickCNA
Copy link
Author

NickCNA commented May 12, 2022

I've purged the build directory and have started again with:

./build --mode=gcc-12.1.0 --arch=x86_64 --enable-languages=c,c++,fortran --buildroot=/h/Compiled/mingw64 --rt-version=v10 --exceptions=seh --jobs=24 --rev=0 --threads=win32 --bin-compress

@NickCNA
Copy link
Author

NickCNA commented May 12, 2022

Failed again so I removed MSYS as well, reinstalled, reinstalled mingw-builds and was successful with the above command line.

@NickCNA NickCNA closed this as completed May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants