-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Latest MSYS2 mingw-w64 build failure - undefined reference to `__onexitbegin' #48272
Comments
The relevant commit from mingw-w64 is probably mirror/mingw-w64@a0ee49e. I think we are mixing mingw-w64 library versions. Old crt2.o with newer libmsvcrt.a. Commit 80d6ed2#diff-3e203f016947a52e3f1fad3967027e7e (@alexcrichton) removed the downloading of rust-mingw which is a copy of mingw and libraries that should work with crt2.o, and other such libraries, that are included in rust-std. Extracting the matching rust-mingw files into the stage0 manually made the build continue. (Not sure if it will finish, it can take a while... 😛). EDIT: It finished. |
Hm ok, we could try to add that download back in, I sort of forget at this point why it was removed.. |
The build might otherwise break due to mixing MinGW object files from rust-std and the local MinGW which might be newer/older than the version used to build rust-std. Fixes rust-lang#48272
…oad, r=alexcrichton Restore the download of rust-mingw The build might otherwise break due to mixing MinGW object files from rust-std and the local MinGW which might be newer/older than the version used to build rust-std. Fixes rust-lang#48272 r? @alexcrichton
I am running Arch Linux, rustc 1.31.0-nightly installed using rustup.
I was compiling a Hello World application using gtk-rs. |
cc #53454 |
Yet another build failure caused by newer mingw-w64 from MSYS2
The text was updated successfully, but these errors were encountered: