-
Notifications
You must be signed in to change notification settings - Fork 93
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
Failed to compile libunwind #281
Comments
libstd has an unconditional dependency on libunwind. But building libunwind seems to fail because you don't have aarch64-linux-musl-gcc which it requires for cross-building. You seem to have aarch64-openwrt-linux-musl-gcc, but well, that's not the same thing. I'm afraid I have no experience cross-building for such platforms, so that is about all I can tell you... |
Oops, I ended up pasting the wrong error (one where the linker was not in PATH) while trying to prepare a minimal setup. Here is the error that I'm getting:
It seems that path
This is what led me to believe that it's not a problem related to the compiler.
Any idea what I should investigate next? I did manage to compile in the same manner some months ago, so it might be something that changed in Rust or Xargo since then. |
The rustc Looking at the libunwind build script, LLVM libunwind is always used for Linux musl targets. That behavior got introduced by rust-lang/rust#63173, so I would guess that PR broke xargo for such targets. |
That said, it looks like before it relied on |
It probably comes from |
Then this is mostly a problem of the |
Well... either |
For now I was able to progress by cloning |
|
Ok, unless you want to (as you have more experience with the process), I will report this issue in |
The issue should go to You know all the actual details of what you want to do so it is probably better if you report it. Feel free to reference the discussion here. EDIT: Ah, you already did. |
Right, I was under the impression that the list is actually maintained by |
They moved the issue without my intervention, but anyway it is in the right place now. ;) |
Hello!
With the following config:
This in $PATH:
With the directory containing:
Cargo.toml:
Xargo.toml:
This command fails:
Anyone has any idea? I can't figure it out where the problem comes from.
The text was updated successfully, but these errors were encountered: