[RTEMS Project] #4117: lpc1768_mbed_ahb_ram_eth sp01 and others fail to link

RTEMS trac trac at rtems.org
Fri Oct 2 15:50:32 UTC 2020

#4117: lpc1768_mbed_ahb_ram_eth sp01 and others fail to link
  Reporter:  Joel Sherrill  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:  6.1
 Component:  arch/arm       |    Version:  6
  Severity:  normal         |   Keywords:
Blocked By:                 |   Blocking:
 This fails on both waf and autoconf. This is troubling because the test is
 sp01 which should build and link.

 Did not check if this also applies to 5 branch.

 ../rtems/configure --target=arm-rtems6 --enable-
 rtemsbsp=lpc1768_mbed_ahb_ram_eth --prefix=/home/joel/rtems-cron-6/tools/6
 /bsp-install --disable-networking --enable-posix --disable-smp --disable-
 multiprocessing --disable-rtems-debug --disable-profiling --enable-tests
 --enable-cxx --enable-maintainer-mode

 Fails with:

 arm-rtems6-gcc  -mthumb -mcpu=cortex-m3 -O2 -ggdb3 -ffunction-sections
 -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration
 -Wstrict-prototypes -Wnested-externs -B./../../lib/libbsp/arm/lpc176x
 -B/home/joel/rtems-cron-6/rtems/bsps/arm/lpc176x/start -specs bsp_specs
 -qrtems -L./../../cpukit -L/home/joel/rtems-
 cron-6/rtems/bsps/arm/shared/start -Wl,--wrap=printf -Wl,--wrap=puts -Wl,
 --wrap=putchar -Wl,--gc-sections -o sp01.exe sp01/sp01-init.o
 sp01/sp01-task1.o ./../../lib/libbsp/arm/lpc176x/librtemsbsp.a
 ./../../cpukit/librtemscpu.a ./../../cpukit/librtemstest.a
 rtems6/bin/ld: sp01.exe section `.bss' will not fit in region `RAM_AHB1'
 rtems6/bin/ld: region `RAM_AHB1' overflowed by 2324 bytes
 collect2: error: ld returned 1 exit status
 gmake[5]: *** [sp01.exe] Error 1


Ticket URL: <http://devel.rtems.org/ticket/4117>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list