energia / tivac-core

7 stars 17 forks source link

Warning messages #2

Closed rei-vilo closed 8 years ago

rei-vilo commented 8 years ago

The link performed by Energia 18 against the Tiva C isn't as clean as it used to be. Many sections have warning messages warning: changing start of section .bss by 3 bytes

"/Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -nostartfiles -nostdlib -Os -Wl,--gc-sections "-T/Users/ReiVilo/Library/Energia15/packages/energia/hardware/tivac/1.0.1/variants/EK-TM4C123GXL/lm4fcpp_blizzard.ld" "-Wl,-Map,/var/folders/hz/wncgspfd5wxgzmly78yvzk_m0000gn/T/build9c570c49cdd7e4f5a3ebc3aba4163665.tmp/e_500_MSP430.ino.map" -o "/var/folders/hz/wncgspfd5wxgzmly78yvzk_m0000gn/T/build9c570c49cdd7e4f5a3ebc3aba4163665.tmp/e_500_MSP430.ino.elf" "-L/var/folders/hz/wncgspfd5wxgzmly78yvzk_m0000gn/T/build9c570c49cdd7e4f5a3ebc3aba4163665.tmp" -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=ResetISR -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -Wl,--start-group "/var/folders/hz/wncgspfd5wxgzmly78yvzk_m0000gn/T/build9c570c49cdd7e4f5a3ebc3aba4163665.tmp/sketch/LocalLibrary.cpp.o" "/var/folders/hz/wncgspfd5wxgzmly78yvzk_m0000gn/T/build9c570c49cdd7e4f5a3ebc3aba4163665.tmp/sketch/e_500_MSP430.ino.cpp.o" "/var/folders/hz/wncgspfd5wxgzmly78yvzk_m0000gn/T/build9c570c49cdd7e4f5a3ebc3aba4163665.tmp/libraries/Wire/Wire.cpp.o" "/var/folders/hz/wncgspfd5wxgzmly78yvzk_m0000gn/T/build9c570c49cdd7e4f5a3ebc3aba4163665.tmp/core/core.a" -Wl,--end-group /Users/ReiVilo/Library/Energia15/packages/energia/hardware/tivac/1.0.1/system/driverlib/libdriverlib.a -lm -lc -lgcc "/Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/arm-none-eabi-objcopy" -O binary "/var/folders/hz/wncgspfd5wxgzmly78yvzk_m0000gn/T/build9c570c49cdd7e4f5a3ebc3aba4163665.tmp/e_500_MSP430.ino.elf" "/var/folders/hz/wncgspfd5wxgzmly78yvzk_m0000gn/T/build9c570c49cdd7e4f5a3ebc3aba4163665.tmp/e_500_MSP430.ino.bin"

  • Warning messages

/Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: warning: changing start of section .igot.plt by 3 bytes /Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 3 bytes /Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: warning: changing start of section .igot.plt by 3 bytes /Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 3 bytes /Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: warning: changing start of section .igot.plt by 3 bytes /Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: warning: changing start of section .bss by 3 bytes

rei-vilo commented 8 years ago

The culprit seems to be the parameter -Wl,--warn-section-align.

Warning messages only concern the LM4F123 and TM4C129.