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

gytx_x86_64-11.2.0-posix-seh 试图编译wxWidgets3.1.5的时候报错 #2

Closed
asmwarrior opened this issue Jul 31, 2021 · 3 comments
Closed
Labels
binutils Problem caused by binutils bug Something isn't working

Comments

@asmwarrior
Copy link

asmwarrior commented Jul 31, 2021

弹出一个对话框,如下对话框内容。

---------------------------
ar.exe - 损坏的图像
---------------------------
d:\code\gytx_x86_64-11.2.0-posix-seh\mingw64\lib\bfd-plugins\libdep.dll.a 没有被指定在 Windows 上运行,或者它包含错误。请尝试使用原始安装媒体重新安装程序,或联系您的系统管理员或软件供应商以获取支持。 
---------------------------
确定   
---------------------------
@asmwarrior
Copy link
Author

我的初步感觉,是不是把这个“libdep.dll.a”文件删掉就好了?

@Guyutongxue
Copy link
Owner

应该是 msys2/MINGW-packages#7890 的问题。按照其上的讨论,是 binutils 的 bug 导致的。此 bug 将在 binutils/2.37 中修复,但我现在打包的是 2.36.1 版本,故我会在将来的版本试图修正它。目前来看,直接删掉 .a 文件应能解决此问题。

@Guyutongxue Guyutongxue pinned this issue Jul 31, 2021
@asmwarrior
Copy link
Author

应该是 msys2/MINGW-packages#7890 的问题。按照其上的讨论,是 binutils 的 bug 导致的。此 bug 将在 binutils/2.37 中修复,但我现在打包的是 2.36.1 版本,故我会在将来的版本试图修正它。目前来看,直接删掉 .a 文件应能解决此问题。

对,我现在就是把.a文件删了,编译是能继续走,但是最后链接的地方出问题了,我另开了一个issue。

@Guyutongxue Guyutongxue added binutils Problem caused by binutils bug Something isn't working labels Aug 1, 2021
@Guyutongxue Guyutongxue unpinned this issue Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binutils Problem caused by binutils bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants