Stream: t-compiler

Topic: Could not document alloc

detrumi (Dec 25 2018 at 09:35, on Zulip):

Hi! So I'm trying to run ./ doc --stage 1, and I'm getting this error:

error: couldn't load codegen backend "$path/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/": " cannot open shared object file: No such file or directory"
detrumi (Dec 25 2018 at 09:36, on Zulip):

Building stage 1 works fine, and AFAIK you should be able to get docs in stage 1, right?

nagisa (Dec 25 2018 at 10:44, on Zulip):

This seems more like a issue rather than a rustc/rustdoc one. I believe that behind the scenes sets the appropriate $LD_LIBRARY_PATH (which explains system where to look for dynamic libraries) and it might be neglecting to do so for rustdoc?

detrumi (Dec 25 2018 at 12:28, on Zulip):

Ah. Hmm, building stage 2 fixed the problem at least

nagisa (Dec 25 2018 at 12:51, on Zulip):

Quite possibly a dependency graph issue

Last update: May 24 2020 at 23:30UTC