Closed dbeckwith closed 6 years ago
Interesting, it doesn't crash on my side, albeit I have same versions as Travis, where it fails...
Will try to investigate more details. So far, it looks like a ptx-linker
issue.
BTW, I think it still might try to use release assembly, because the path is also specified at: https://github.com/denzp/rust-ptx-builder/pull/6/files#diff-058d40ebe40b5d40f6ffb05cf3d82dd8R126
Yeah I guess ptx-linker
can't handle debug symbols or something?
Can you please provide an output of llvm-config --version
and, if it's possible, please send me /tmp/ptx-builder/sample_ptx_crate/2173c7eb610022fa/target/nvptx64-nvidia-cuda/debug/deps/proxy.3rg6oty3sxxix4x5.rcgu.o
.
I suspect Rust generates 6.0 bitcode that can't be processed by ptx-linker
since it depends on LLVM 5.0 on Travis.
Yep, I'm using llvm 5.0.0
as required by the llvm-sys 50
crate that's required by ptx-linker
.
GitHub won't let me upload that file type, so I just put it in my Dropbox.
Thanks for details!
The file seems fine, it's indeed an LLVM bitcode. Which proves assumption about LLVM version issues... I'll add more strict version requirements for ptx-linker
soon.
Sorry for the delay, I'm afraid it's blocked by the denzp/rust-ptx-linker#11 because debug mode is de-facto default mode during development. I think it's important to get the linker updated and published first.
No problem! Thanks for helping!
Thanks for the PR!
I updated ptx-linker
version requirements in a685c5bf9bc7ad503ce46b1a9809e740cc73fa42 and published 0.3.4
.
Fixes #5 I feel like the intent is right, but I'm getting a bad-looking error from
xargo
when it tries to compile without the--release
flag:Any idea how to solve that?