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

wasm32-unknown-unknown target build error for LLVM 8 on macOS #447

Closed
xxuejie opened this issue Oct 11, 2019 · 1 comment
Closed

wasm32-unknown-unknown target build error for LLVM 8 on macOS #447

xxuejie opened this issue Oct 11, 2019 · 1 comment

Comments

@xxuejie
Copy link

xxuejie commented Oct 11, 2019

The error can be located at here: https://travis-ci.com/nervosnetwork/ckb-standalone-debugger/jobs/244224772/

I don't have a working macOS installation now, but since the error happens when you are building LLVM 8, I suspect the following steps should reproduce it:

$ brew install llvm@8
$ export PATH=/usr/local/opt/llvm@8/bin:$PATH
$ git clone https://github.com/nervosnetwork/blake2b-rs
$ cd blake2b-rs
$ cargo build --target=wasm32-unknown-unknown

This issue only happens on macOS. It works without problems on Linux, and if we use LLVM 9+, we would hit #446

Any idea what the reason for this might be? Thanks in advance!

@alexcrichton
Copy link
Member

Thanks for the report! This is a local compilation issue with wasm/LLVM that needs to be worked out though and unfortunately this isn't a great forum to debug compilation issues with. For the best results you'll want to use Clang 9 and probably the wasm32-wasi target, though.

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

2 participants