-
Notifications
You must be signed in to change notification settings - Fork 22
Incorrect version? #10
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi. @MabezDev ! Thank you for information. The xtensa_release_9.x branch is based on llvm-project master branch with latest commit llvm@0f30960#diff-b7c61103e5b04a057783630466888503 . So, on 30 September release_9.x was just published and release_10.x was only in plans. Do you have principal restrictions to use exactly release_9.x(not release_10.x) in Rust fork? |
When building the compiler, it uses the output from Rust has recently landed the changes required for the llvm 10 upgrade in rust-lang/rust#67900 but like you said this fork is based of a commit in master after the 9 release. This means the fork doesn't have all the required upstream changes for use with the Rust compiler (and I suspect any compiler looking to use LTO, as this API has changed a bit). Perhaps we should rebase this fork from the 10.x release? Great to see the fork is coming along nicely though! Is there a list of features it currently supports? I.e Can it do codegen now or does it still rely on an external assembler? |
@MabezDev Is this critical for you to work with |
The xtensa_release_9.x can generate object files, it uses binutils assembler only for *.S input files. Also added base support of disassembler and corrected some reported issues with atomic operations, indirect branches and other code improvements. |
No, in fact I'd much rather it was LLVM 9 actually. Forking from the stable 9.x release branch sounds like the best approach.
Awesome! I think this will solve a number of issues on my end, will report back once I get it working.
Excellent, I've had a few users reporting similiar issues |
@andreisfr FYI, locally I rebased onto the 9.x release and it works brilliantly. I now have full debug info in Rust! I can step through, set breakpoints, inspect variables etc Which will finally close #6 🎉 To clarify, is the plan to rebase this fork onto 9.0.1 stable release? |
@MabezDev , good news, thanks)
Yes, we now rebase this fork to 9.0.1 |
The default branch of this repository is now based on release/9.x (9.0.1) |
I've built the xtensa_release_9.x branch but when I run
--version
on any binaries they report10.0.0svn
, this breaks the build for my rust fork as the compiler interacts with llvm differently depending on the version see PassWrapper.cpp.Full output from
llc --version
The text was updated successfully, but these errors were encountered: