Skip to content

engimusing EFM32WG fail to compile in sloeber but succeed in Arduino IDE #1152

Open
@jantje

Description

@jantje

Boards Engimusing EFM32WG840 EFM32WG842 efm32wg842F64 fail in Sloeber.
The other boards of the package work fine

From first investigation I do not see a difference in the files used as part of the build.
The link command seems the same to me

Things I can think of
Differences in C, C++ S file compilation command
Difference in order of adding to the archive

It would be great if someone of engimusing could take a look because the undefined symbol __Vectors' referenced in expression may give a hint where to look

'Start de samenvoeger'
"C:\eclipse\arduinoPlugin\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-gcc"  "-LL:\DefaultInoOnAllBoards\00241_engimusing_efm32wg840\Release" -Os -Wl,--gc-sections -save-temps  "-TC:\eclipse\/arduinoPlugin/packages/engimusing/hardware/efm32/1.0.4/cores/efm32/efm_lib/Device/EFM32WG/Source/efm32wg.ld" "-Wl,-Map,L:\DefaultInoOnAllBoards\00241_engimusing_efm32wg840\Release/00241_engimusing_efm32wg840.map" --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m4 -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o "L:\DefaultInoOnAllBoards\00241_engimusing_efm32wg840\Release/00241_engimusing_efm32wg840.elf"    .\sketch.cpp.o  .\core\variant\pins_arduino.c.o .\core\variant\variant.cpp.o   -Wl,--start-group -lm  L:\DefaultInoOnAllBoards\00241_engimusing_efm32wg840\Release/arduino.ar  -Wl,--end-group
c:/eclipse/arduinoplugin/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
c:/eclipse/arduinoplugin/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
c:/eclipse/arduinoplugin/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: warning: changing start of section .stack_dummy by 4 bytes
C:\eclipse\/arduinoPlugin/packages/engimusing/hardware/efm32/1.0.4/cores/efm32/efm_lib/Device/EFM32WG/Source/efm32wg.ld:58: undefined symbol `__Vectors' referenced in expression
collect2.exe: error: ld returned 1 exit status
makefile:87: recipe for target '00241_engimusing_efm32wg840.elf' failed
make: *** [00241_engimusing_efm32wg840.elf] Error 1
"C:/eclipse/arduinoPlugin/tools/make/make -j4 all" terminated with exit code 2. Build might be incomplete.

full sloeber build log:
engimusing_efmwg840.log

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions