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

Check what is going on with nasm-rs and bindgen interactions #880

Closed
lu-zero opened this issue Jan 24, 2019 · 4 comments
Closed

Check what is going on with nasm-rs and bindgen interactions #880

lu-zero opened this issue Jan 24, 2019 · 4 comments

Comments

@lu-zero
Copy link
Collaborator

lu-zero commented Jan 24, 2019

@xiphmont landed a workaround in e5ab520, but I got different results (a sigill) after updating the current nasm release.

variables

packages versions known working version known clashing
nasm-rs < 1.4 git 1.4
bindgen 0.37 0.47
nasm < 2.14.02 2.14.02
@lu-zero
Copy link
Collaborator Author

lu-zero commented Jan 24, 2019

On 2c2777d:

  • This combination works: nasm 2.14.02, nasm-rs 0.1.4, rustc 1.32.0, bindgen 0.47
  • This combination also works: nasm 2.14.02, nasm-rs 0.1.4, rustc 1.30.1, bindgen 0.47

@lu-zero
Copy link
Collaborator Author

lu-zero commented Jan 24, 2019

On 525f981:

  • This combination works: nasm 2.14.02, nasm-rs 0.1.4, rustc 1.32.0, bindgen 0.47
  • This combination also works: nasm 2.14.02, nasm-rs 0.1.4, rustc 1.30.1, bindgen 0.47

@lu-zero
Copy link
Collaborator Author

lu-zero commented Jan 28, 2019

I guess this will have to be investigate further either by locally installing a fedora and/or diffing the bindgen output.

@lu-zero
Copy link
Collaborator Author

lu-zero commented Jan 31, 2019

Apparently it is some problem with clang-sys and the libclang provided.

rust-lang/rust-bindgen#1504 for additional details.

@lu-zero lu-zero closed this as completed Jan 31, 2019
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

No branches or pull requests

1 participant