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

Linking issue #194

Open
davepruitt opened this issue Nov 8, 2022 · 1 comment
Open

Linking issue #194

davepruitt opened this issue Nov 8, 2022 · 1 comment

Comments

@davepruitt
Copy link

I am running Ubuntu on Windows Subsystem for Linux. When I try to build the zero bootloader, it successfully compiles all the files, but fails at the linking step.

Here is the error I am receiving:

/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: section .binfo LMA [0000000000001ff0,0000000000001fff] overlaps section .relocate LMA [0000000000001ef8,00000000000020c7]
collect2: error: ld returned 1 exit status
make: *** [Makefile:161: build/zero/bootloader-zero-v3.14.0-5-g779ccde-dirty.bin] Error 1

Any suggestions on how to fix this?

Note: I am actually able to successfully build this on Windows, but when I try building on Ubuntu it gives me this linking error.

@dhalbert
Copy link

dhalbert commented Nov 8, 2022

We normally build with arm-none-eabi-gcc 10.2.1, the same toolchain we use for CircuitPython. See https://learn.adafruit.com/building-circuitpython for how to install the toolchain. Could you try with that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants