#3774 closed defect (fixed)

RPi2 SMP does not build

Reported by: Chris Johns Owned by: Sebastian Huber <sebastian.huber@…>
Priority: high Milestone: 5.1
Component: arch/arm Version: 5
Severity: major Keywords:
Cc: Blocked By:
Blocking:

Description

arm-rtems5-gcc  -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a7 -O1 -g -ffunction-sections -fdata-sections -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -B./../../lib/libbsp/arm/raspberrypi -B/opt/work/chris/rtems/kernel/rtems.git/bsps/arm/raspberrypi/start -specs bsp_specs -qrtems -L./../../cpukit -L/opt/work/chris/rtems/kernel/rtems.git/bsps/arm/shared/start -Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar -Wl,--gc-sections -o calloc.norun.exe POSIX/calloc.o ./../../cpukit/librtemsdefaultconfig.a ./../../lib/libbsp/arm/raspberrypi/librtemsbsp.a ./../../cpukit/librtemscpu.a ./../../cpukit/librtemstest.a                                                                                                       
/opt/work/rtems/5/lib/gcc/arm-rtems5/7.4.0/../../../../arm-rtems5/bin/ld: calloc.norun.exe section `.rtemsstack' will not fit in region `VECTOR_RAM'                                                                                                                              
/opt/work/rtems/5/lib/gcc/arm-rtems5/7.4.0/../../../../arm-rtems5/bin/ld: section .start VMA [0000000000008000,00000000000085ff] overlaps section .rtemsstack VMA [0000000000000040,000000000002003f]                                                                             
/opt/work/rtems/5/lib/gcc/arm-rtems5/7.4.0/../../../../arm-rtems5/bin/ld: region `VECTOR_RAM' overflowed by 114752 bytes

Configured with ...

/opt/work/chris/rtems/kernel/rtems.git/configure --target=arm-rtems5 --prefix=/opt/work/chris/rtems/kernel/5 --disable-networking --enable-maintainer-mode --enable-rtems-debug --enable-tests --enable-rtemsbsp=raspberrypi2 --enable-smp

Change History (1)

comment:1 Changed on Jul 30, 2019 at 9:03:30 AM by Sebastian Huber <sebastian.huber@…>

Owner: set to Sebastian Huber <sebastian.huber@…>
Resolution: fixed
Status: newclosed

In c5fd79cd/rtems:

arm/raspberrypi: Fix linker map

Add NULL-pointer protection. Make MMU table read-only. Move vector
table to start section.

Close #3774.

Note: See TracTickets for help on using tickets.