We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I try to build the user guide's project, but unfortunately I encounter a SIGSEV while building
$ git clone https://github.com/fitzgen/bindgen-tutorial-bzip2-sys
$ cargo -V cargo 1.32.0 (8610973aa 2019-01-02)
$ cargo build
error: failed to run custom build command for bindgen-tutorial-bzip2-sys v0.1.0 (/home/opa/DEV/rust/bindgen-tutorial-bzip2-sys) process didn't exit successfully: /home/opa/DEV/rust/bindgen-tutorial-bzip2-sys/target/debug/build/bindgen-tutorial-bzip2-sys-85aebf905d83cf47/build-script-build (signal: 11, SIGSEGV: invalid memory reference)
bindgen-tutorial-bzip2-sys v0.1.0 (/home/opa/DEV/rust/bindgen-tutorial-bzip2-sys)
/home/opa/DEV/rust/bindgen-tutorial-bzip2-sys/target/debug/build/bindgen-tutorial-bzip2-sys-85aebf905d83cf47/build-script-build
I attached gdb backtrace: gdb.txt
It seems that the crash is located in LLVM.
Here is the version of clang I use :
$ clang -v clang version 7.0.1 (Fedora 7.0.1-1.fc29) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/8 Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/8 Selected GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/8 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64
Regards
Olivier
The text was updated successfully, but these errors were encountered:
I assume that's using bindgen 0.47.0? Can you repro with 0.46.0 if so? It might be a regression from the recent clang-sys update.
bindgen 0.47.0
0.46.0
Sorry, something went wrong.
I just tested and couldn't repro. You can downgrade bindgen in that project like so:
$ cargo update -p bindgen --precise 0.46.0 Updating crates.io index Updating bindgen v0.47.0 -> v0.46.0 Updating clang-sys v0.27.0 -> v0.26.4
Indeed downgrading bindgen from 0.47.0 to 0.46.0 corrects the issue. Thanks
cc @KyleMayes, seems another regression from #1489.
No branches or pull requests
Hi,
I try to build the user guide's project, but unfortunately I encounter a SIGSEV while building
$ git clone https://github.com/fitzgen/bindgen-tutorial-bzip2-sys
$ cargo -V
cargo 1.32.0 (8610973aa 2019-01-02)
$ cargo build
error: failed to run custom build command for
bindgen-tutorial-bzip2-sys v0.1.0 (/home/opa/DEV/rust/bindgen-tutorial-bzip2-sys)
process didn't exit successfully:
/home/opa/DEV/rust/bindgen-tutorial-bzip2-sys/target/debug/build/bindgen-tutorial-bzip2-sys-85aebf905d83cf47/build-script-build
(signal: 11, SIGSEGV: invalid memory reference)I attached gdb backtrace:
gdb.txt
It seems that the crash is located in LLVM.
Here is the version of clang I use :
$ clang -v
clang version 7.0.1 (Fedora 7.0.1-1.fc29)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/8
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-redhat-linux/8
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Regards
Olivier
The text was updated successfully, but these errors were encountered: