-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error running create_most_targets.py
(last rust-mos
installation step)
#2
Comments
From @mrk-its:
Indeed, you are really close. This latest step creates separate sub-targets for each supported platform. It does by modifying a bit target spec json for 'mos-unknown-none' - that's why it needs to be retrieved with
It is really strange, it looks like for some reason it verifies returned json and it doesn't like llvm-args there: It is possible that rust-mos stopped working with the latest version of llvm-mos (I see upstream llvm changes were merged recently). I'll try to rebuild it and let you know. But I just checked clang still sets this arg: Ok, I'll try to reproduce it locally and let you know |
For @mrk-its or others who may read this in the future, @mrk-its' hint of changes in Through some trial and error, building (Note no other commit of |
Even with the most recent commits (more recent than this issue), I am also getting this. |
I tried again this evening with clean, latest source code builds of ▶ export RUST_TARGET_PATH=/usr/local/rust-mos-targets/
▶ export TARGET_ARCH=x86_64-apple-darwin #for MacOS
▶ cp config.toml.example config.toml Note
I'm still stuck on this. Any thoughts on how to move forward? P.S. During the build process, I also ran into an issue with
which I don't think is legal TOML? This line gave a build error, so I temporarily hard-coded this to |
Transferred from email thread:
Hi, @mrk-its,
I was delighted to see your rust-mos crate.
I followed the installation instructions and am getting a failure on the very last line. (So close!)
I am wondering if you recognize the issue and can give me a clue on how to resolve it.
First, I did the following:
llvm-mos
(Note the change to
-DLIBXML2_LIBRARY
, as I am on Mac OS X.) Build succeeded:llvm-mos-sdk
(No changes to your instructions.) Build succeeded:
rust-mos
(Build succeeded, but
create_mos_targets.py
step is failing, with both default and custom$RUST_TARGET_PATH
):gives:
Examining create_mos_targets.py shows that l.15 shells out to
rustup
. Running that line directly gives:--target
mos-unknown-none
seems to be the culprit, even though the target does exist:The
rustup
mos
toolchain is present:and mos links to the stage1
llvm-mos
build:The target triple is also listed:
Have you seen anything like the errors I am encountering before? Any educated guesses on where I might want to dig?
Thanks so much for your efforts with this crate!
All the best,
U007D
The text was updated successfully, but these errors were encountered: