Skip to content

LLVM ERROR: Function addresses with offsets not supported #60916

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

Closed
bjorn3 opened this issue May 17, 2019 · 1 comment
Closed

LLVM ERROR: Function addresses with offsets not supported #60916

bjorn3 opened this issue May 17, 2019 · 1 comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@bjorn3
Copy link
Member

bjorn3 commented May 17, 2019

$ rustc -V
rustc 1.36.0-nightly (7d5aa4332 2019-05-16)
$ git clone https://github.com/bjorn3/rust.git
$ git checkout 1ce79d6630a6851fc85c0d6d0be40ee618fdcebf
$ cd src/rustc
$ CFG_COMPILER_HOST_TRIPLE="wasm32-wasi" RUSTC_ERROR_METADATA_DST="./error_metadata" RUSTFLAGS="-Zforce-unstable-if-unmarked" cargo +nightly build --target wasm32-wasi --release
[...]
   Compiling backtrace v0.3.18
LLVM ERROR: Function addresses with offsets not supported
error: Could not compile `backtrace`.
warning: build failed, waiting for other jobs to finish...
error: build failed

bjorn3@1ce79d6 (to prevent gc of the commit)

@jonas-schievink jonas-schievink added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 17, 2019
@bjorn3
Copy link
Member Author

bjorn3 commented Sep 27, 2020

I assume this has since been fixed. The last time I tried compiling rustc for wasm32-wasi it worked just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants