Skip to content
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

Can't link examples due to Acconeer libraries being built with GCC < 10.0 #81

Open
nerwalt opened this issue Jul 11, 2024 · 1 comment
Labels
wontfix This will not be worked on

Comments

@nerwalt
Copy link

nerwalt commented Jul 11, 2024

GCC 9.3.1 was used to build the Acconeer libraries. This specific version is from 2020, and GCC 9 went EOL in May 2022. The examples use the system arm-none-eabi-gcc, which I suspect is >= GCC 10.0 for most people. When running the examples, I get the following error: '...liba121_sys-0fb701def0e08057.rlib' generated with GCC compiler older than 10.0. The fix is to download a suitable version of GCC 9, such as 9.3.1 and set it as the linker in .cargo/cargo. toml in the examples.

@Ragarnoy
Copy link
Owner

iirc the BUILDINFO for the library built with gcc specifies the version they used (and require you to use basically)

Compiler version:
arm-none-eabi-gcc (GNU Arm Embedded Toolchain 9-2020-q2-update) 9.3.1 20200408 (release)

@Ragarnoy Ragarnoy added the wontfix This will not be worked on label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants