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
Hello, I am new to using atsamd-rs and I am getting the following error when running cargo build: LLVM ERROR: Global variable '__INTERRUPTS' has an invalid section specifier '.vector_table.interrupts': mach-o section specifier requires a segment and section separated by a comma.
I have looked through the existing and old issues and don't see something that talks about it and I'm wondering how I can get this working.
Command that is having issues: cargo build --release --example blinky_basic
I've done some further digging and found that the following happens.
Running ./build-all.py from the root of the repo successfully builds all the examples
Running cargo build --release --example blinky_basic within the example folder inside of the repository (after running ./build-all.py) also works.
Running cargo build --release --example blinky_basic within the example folder inside of the repository (without running ./build-all.py) also works.
Building the example outside of the repository (copy all the files and folders into a different folder not in the branch of the directory structure) does not work and results in the same error.
Error: LLVM ERROR: Global variable '__INTERRUPTS' has an invalid section specifier '.vector_table.interrupts': mach-o section specifier requires a segment and section separated by a comma.
Hello, I am new to using atsamd-rs and I am getting the following error when running cargo build:
LLVM ERROR: Global variable '__INTERRUPTS' has an invalid section specifier '.vector_table.interrupts': mach-o section specifier requires a segment and section separated by a comma.
I have looked through the existing and old issues and don't see something that talks about it and I'm wondering how I can get this working.
Command that is having issues:
cargo build --release --example blinky_basic
Code: I have essentially copied the blinky-basic example from here: https://github.com/atsamd-rs/atsamd/tree/master/boards/arduino_nano33iot
Mac OS X: 14.0(23A344)
Architecture: M1
Cargo Version: 1.75.0-nightly
Rustup Show:
arm-none-eabi-gcc version: 12.3.Rel1 (Build arm-12.35)) 12.3.1 20230626
bossac version: 1.7.0
arduino-cli version: 0.32.2 Commit: 963c1a76 Date: 2023-09-11T09:50:44Z
arduino:samd version: 1.8.13
The text was updated successfully, but these errors were encountered: