<div dir="ltr">Hi<div><br></div><div>Many ARM BSPs fail to link flashdisk01, sptimecounter02, sptimecounter03,</div><div>and dl06. I wonder if this is a minor bug in the shared linker script which</div><div>is manifesting itself in slightly different ways.</div><div><br></div><div><div>gmake[1]: Entering directory `/data/home/joel/rtems-work/rtems-testing/rtems/build-arm-raspberrypi-rtems/arm-rtems5/c/raspberrypi/testsuites/tmtests'</div><div>arm-rtems5-gcc  -mcpu=arm1176jzf-s -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -B/home/joel/rtems-work/rtems-testing/rtems/build-arm-raspberrypi-rtems/arm-rtems5/c/raspberrypi/lib/libbsp/arm/raspberrypi -B/home/joel/rtems-work/rtems-testing/rtems/rtems/bsps/arm/raspberrypi/start -specs bsp_specs -qrtems -L./../../../../raspberrypi/lib -L/home/joel/rtems-work/rtems-testing/rtems/rtems/bsps/arm/shared/start -Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar -Wl,--gc-sections -o tmcontext01.exe tmcontext01/tmcontext01-init.o  </div><div>/data/home/joel/rtems-work/tools/5/bin/../lib/gcc/arm-rtems5/7.3.0/../../../../arm-rtems5/bin/ld: tmcontext01.exe section `.rtemsstack' will not fit in region `VECTOR_RAM'</div><div>/data/home/joel/rtems-work/tools/5/bin/../lib/gcc/arm-rtems5/7.3.0/../../../../arm-rtems5/bin/ld: section .start VMA [0000000000008000,0000000000008457] overlaps section .rtemsstack VMA [0000000000000040,000000000002003f]</div><div>/data/home/joel/rtems-work/tools/5/bin/../lib/gcc/arm-rtems5/7.3.0/../../../../arm-rtems5/bin/ld: region `VECTOR_RAM' overflowed by 114752 bytes</div><div>collect2: error: ld returned 1 exit status</div><div>gmake[1]: *** [tmcontext01.exe] Error 1</div></div><div><br></div><div>The lpc40xx_ea_ram fails for the same tests with a different message:</div><div><br></div><div><div>arm-rtems5-gcc  -mthumb -march=armv7-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mtune=cortex-m4 -O2 -g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -B/home/joel/rtems-work/rtems-testing/rtems/build-arm-lpc40xx_ea_ram-rtems/arm-rtems5/c/lpc40xx_ea_ram/lib/libbsp/arm/lpc24xx -B/home/joel/rtems-work/rtems-testing/rtems/rtems/bsps/arm/lpc24xx/start -specs bsp_specs -qrtems -L./../../../../lpc40xx_ea_ram/lib -L/home/joel/rtems-work/rtems-testing/rtems/rtems/bsps/arm/shared/start -Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar -Wl,--gc-sections -o sptimecounter02.exe sptimecounter02/sptimecounter02-init.o ../support/src/sptimecounter02-spin.o  </div><div>/data/home/joel/rtems-work/tools/5/bin/../lib/gcc/arm-rtems5/7.3.0/../../../../arm-rtems5/bin/ld:linkcmds.base:358 cannot move location counter backwards (from 0000000010020100 to 0000000010010000)</div><div>collect2: error: ld returned 1 exit status</div></div><div><br></div><div>Thanks.</div><div><br></div><div>-joel</div></div>