Many ARM Test Build Failures
Joel Sherrill
joel at rtems.org
Fri Jul 27 18:10:47 UTC 2018
Hi
Many ARM BSPs fail to link flashdisk01, sptimecounter02, sptimecounter03,
and dl06. I wonder if this is a minor bug in the shared linker script which
is manifesting itself in slightly different ways.
gmake[1]: Entering directory
`/data/home/joel/rtems-work/rtems-testing/rtems/build-arm-raspberrypi-rtems/arm-rtems5/c/raspberrypi/testsuites/tmtests'
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
/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'
/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]
/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
collect2: error: ld returned 1 exit status
gmake[1]: *** [tmcontext01.exe] Error 1
The lpc40xx_ea_ram fails for the same tests with a different message:
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
/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)
collect2: error: ld returned 1 exit status
Thanks.
-joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180727/1a5b8abd/attachment.html>
More information about the devel
mailing list