You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indeed, this looks like a compiler bug of some sort...
IIRC the AVR target is still fairly new, so it's not too surprising to have run into something like this.
Two follow ups:
If you're feeling generous, consider sending a minimal repro of this behavior upstream to the Rust project to see if someone can dig a little deeper into why LLVM is getting angry here.
You can try futzing around with the gdbstub code that's triggering this issue, since you might be able to "massage" the code into a form that doesn't crash the compiler, which would unblock your particular use-case
I'll leave this open for a bit, though I suspect that I'll end up closing it after some period of inactivity, since unless you end up digging into (2) and finding some easy way to unblock this, it's unlikely there's much I'd be able to do from the gdbstub side of things to fix this.
I was experimenting with implementing a tool similar to https://github.com/jdolinay/avr_debug/tree/master but using this crate. However, I ran into the following error from LLVM:
This is probably outside the scope of this project, but thought I would document it if anyone else tries to use it on a microcontroller.
The text was updated successfully, but these errors were encountered: