Skip to content

LLVM ERROR: Function addresses with offsets not supported #60916

Closed
@bjorn3

Description

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

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
bjorn3

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

        Participants

        @jonas-schievink@bjorn3

        Issue actions

          LLVM ERROR: Function addresses with offsets not supported · Issue #60916 · rust-lang/rust