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

Bug: tool_msvc produces a broken i686_msvc import library #1972

Closed
glandium opened this issue Aug 19, 2022 · 3 comments · Fixed by #1979
Closed

Bug: tool_msvc produces a broken i686_msvc import library #1972

glandium opened this issue Aug 19, 2022 · 3 comments · Fixed by #1979
Labels
bug Something isn't working

Comments

@glandium
Copy link
Contributor

glandium commented Aug 19, 2022

Which crate is this about?

other (please share in the comments)

Crate version

master

Summary

Do the following:

  • Follow the instructions from crates/tools/msvc/readme.md (only for x86, that's the only one that is outdated)
  • cargo test -p test_win32

It fails to link because the @num suffixes in the refreshed library are wrong. example: GetErrorInfo@8 becomes GetErrorInfo@32.

Incidentally, the version of windows.lib in the repository is also wrong for a smaller number of symbols, like _EapHostPeerInvokeIdentityUI@60 instead of _EapHostPeerInvokeIdentityUI@64.

Toolchain version/configuration

No response

Reproducible example

No response

Crate manifest

No response

Expected behavior

No response

Actual behavior

No response

Additional comments

No response

@glandium glandium added the bug Something isn't working label Aug 19, 2022
@glandium
Copy link
Contributor Author

Incidentally, the version of windows.lib in the repository is also wrong for a smaller number of symbols, like _EapHostPeerInvokeIdentityUI@60 instead of _EapHostPeerInvokeIdentityUI@64.

The i686_gnu has differently broken entries. For the example above, it has _EapHostPeerInvokeIdentityUI@61.

@kennykerr
Copy link
Collaborator

This is troubling and even more motivation to get raw-dylib up and running - checking in the libs is very problematic as they're not reproducible and verifiable by the CI build. @dpaoliello

@kennykerr
Copy link
Collaborator

Thanks for reporting! Here's the fix while we wait for raw-dylib. 😉

#1979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants