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

Update alloc usage to support latest nightly; work around check in llvm that broke x86 #78

Closed
wants to merge 2 commits into from

Conversation

alecmocatta
Copy link

%eip => 8 just avoids a check LLVM was making during parsing that balked with "register %eip is only available in 64-bit mode": https://github.com/llvm-mirror/llvm/blob/7ead4232dac43866b3aa2b39aa787823654f4f36/lib/Target/X86/AsmParser/X86AsmParser.cpp#L1102

…vm that broke x86.

%eip => 8 just avoids a check LLVM was making that balked with "register %eip is only available in 64-bit mode"
@alecmocatta
Copy link
Author

alecmocatta commented Jul 26, 2018

If I could possibly also ask that a new crate version could be published? I'd like to publish a crate dependent on this and it would be nice to not have to mirror it.

@cynecx
Copy link

cynecx commented Sep 10, 2018

It seems that it has been fixed (the usage of %eip) in upstream llvm: llvm-mirror/llvm@b9c9629. But I don't think that rust nightly has backported this change.

EDIT: It seems that the change has been back-ported into the 7.0 release. So rust-nightly will eventually pick it up.

@alecmocatta
Copy link
Author

This is now fixed upstream so closing.

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.

None yet

2 participants