-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Release x86_64-pc-windows-gnu target of mingw-w64 6.x #61710
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@mati865 is there an a script somewhere to workaround this in appveyor ? |
@gnzlbg I don't know if there is script that automatically fixes everything (there are different errors depending on many things), you'd have to try replacing various For the ultimate fix I think Rust should prefer to use external toolchain libs if they are available but I didn't have time to understand all the code involved in the linking. |
I was working on this ctest PR which started triggering the issue because it uses fprintf from C: gnzlbg/ctest#73 |
This issue is now obsolete since Rust prefers system C toolchain instead of shipped one so builds no longer fail with |
Mingw-w64 has been updated to latest version on nightly. |
Closing as resolved per above. |
Currently, x86_64-pc-windows-gnu target build on mingw-w64 v5.x (2 years ago):
`
x86_64-6.3.0-release-posix-seh-rt_v5-rev2.7z
GNU ld (GNU Binutils) 2.27
gcc version 6.3.0 (x86_64-posix-seh-rev2, Built by MinGW-W64 project)
`
Nowadays, Debian 10 and Msys2 provide mingw-w64 v6.x:
# dpkg -l | grep mingw-w64 ii binutils-mingw-w64-x86-64 2.31.1-11+8.3 amd64 Cross-binutils for Win64 (x64) using MinGW-w64 ii gcc-mingw-w64-base 8.3.0-6+21.2 amd64 GNU Compiler Collection for MinGW-w64 (base package) ii gcc-mingw-w64-x86-64 8.3.0-6+21.2 amd64 GNU C compiler for MinGW-w64 targeting Win64 ii mingw-w64-common 6.0.0-3 all Common files for Mingw-w64 ii mingw-w64-x86-64-dev 6.0.0-3 all Development files for MinGW-w64 targeting Win64
This caused error 'undefined reference to `__onexitend''.
The text was updated successfully, but these errors were encountered: