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

mingw-w64: legacy_stdio_definitions.lib does not exist #1647

Closed
1480c1 opened this issue Oct 3, 2023 · 3 comments · Fixed by #1649
Closed

mingw-w64: legacy_stdio_definitions.lib does not exist #1647

1480c1 opened this issue Oct 3, 2023 · 3 comments · Fixed by #1649
Assignees

Comments

@1480c1
Copy link
Contributor

1480c1 commented Oct 3, 2023

this library doesn't exist with mingw-w64 as far as I can tell, and causes a linking error:

/mingw32/bin/../lib/gcc/i686-w64-mingw32/13.2.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -llegacy_stdio_definitions: No such file or directory
@wantehchang
Copy link
Collaborator

@fdintino @vrabaud Could you take a look at this?

The reference to legacy_stdio_definitions.lib comes from #1579.

@fdintino
Copy link
Contributor

fdintino commented Oct 3, 2023

It looks like rustc default links to all of those libraries, so I was wrong to pull it from the pkgconfig file. I'll reconfirm the symbols in the windows build of rav1e.

@fdintino
Copy link
Contributor

fdintino commented Oct 3, 2023

And actually it looks like legacy_stdio_definitions.lib was removed recently, in rust-lang/libc#3226. So at the very least we can safely remove it from this list, notwithstanding the other libraries.

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

Successfully merging a pull request may close this issue.

4 participants