Skip to content

LLVM ERROR: Function addresses with offsets not supported #60916

Closed

Description

@bjorn3
$ 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)

Activity

  1. added
    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.
    on May 17, 2019
  2. bjorn3 commented on Sep 27, 2020

    @bjorn3
    MemberAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions