Skip to content

Fix for rust .a linking #5777

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

Merged
merged 1 commit into from
Nov 14, 2017
Merged

Fix for rust .a linking #5777

merged 1 commit into from
Nov 14, 2017

Conversation

kripken
Copy link
Member

@kripken kripken commented Nov 13, 2017

Don't link in invalid object files, even if we are force-including all object files (e.g. because the input is a sole .a file, so we want it all); a .a may contain metadata or other stuff we should ignore.

See #5755 (comment)

…l object files (e.g. because the input is a sole .a file, so we want it all); a .a may contain metadata or other stuff we should ignore
@juj
Copy link
Collaborator

juj commented Nov 14, 2017

This is great - I've seen some build systems in the past that add in .txt files to archives or similar to store info about the archive creation process specific to that build system, so ignoring extra files seems good.

@kripken kripken merged commit b5a8cac into incoming Nov 14, 2017
@kripken kripken deleted the ignore-metadata-objects branch November 14, 2017 19:13
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 this pull request may close these issues.

2 participants