-
Notifications
You must be signed in to change notification settings - Fork 325
Description
Hi there!
Building any of the SAMD21G18A boards fails with the following error:
arm-none-eabi-gcc -Lbuild/zero -mthumb -mcpu=cortex-m0plus -Os -g -DSAMD21 -Wall -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -save-temps -nostartfiles --specs=nano.specs --specs=nosys.specs
-Tscripts/samd21j18a.ld
-Wl,-Map,build/zero/bootloader-zero-3.4.0-0.a3395d5-guix.map -o build/zero/bootloader-zero-3.4.0-0.a3395d5-guix.elf build/zero/flash_samd21.o build/zero/init_samd21.o build/zero/startup_samd21.o build/zero/usart_sam_ba.o build/zero/screen.o build/zero/images.o build/zero/utils.o build/zero/cdc_enumerate.o build/zero/fat.o build/zero/main.o build/zero/msc.o build/zero/sam_ba_monitor.o build/zero/uart_driver.o build/zero/hid.o
arm-none-eabi-ld: section .binfo LMA [00001ff0,00001fff] overlaps section .relocate LMA [00001ee4,000020b3]
collect2: error: ld returned 1 exit status
make: *** [Makefile:156: build/zero/bootloader-zero-3.4.0-0.a3395d5-guix.bin] Error 1
Any ideas on how to resolve this?
I am running make BOARD=zero from commit a3395d5. My build tools are best described with the following guix manifest:
(use-modules (gnu packages base)
(gnu packages embedded)
(gnu packages fpga)
(gnu packages python)
(gnu packages virtualization)
(guix profiles))
(define arm-toolchain (make-arm-none-eabi-toolchain-12.3.rel1))
(define arm-newlib (make-newlib-nano-arm-none-eabi-12.3.rel1))
(packages->manifest
(list arm-toolchain arm-newlib
binutils
gnu-make
python
python-2))