Help Request: Linker errors on gdbarmsim

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Nov 18 02:15:10 CST 2010


Hi,

I guess the linker command file is broken.  It works for me with my EABI tool
chain.  I modified the BSPs to use one base linker command file which was
derived from a recent LD standard file.

On 11/17/2010 08:14 PM, Joel Sherrill wrote:
> Hi,
> 
> It is giving out of memory errors linking hello world
> on all variants.
> 
> I don't see any changes or anything wrong with the linkcmds.
> Does anyonesee anything wrong?
> 
> arm-rtems4.11-gcc -B../../../../../arm1136jfs/lib/ -specs bsp_specs
> -qrtems -mcpu=arm1136jf-s -O2 -g -Wall -Wimplicit-function-declaration
> -Wstrict-prototypes -Wnested-externs    -mcpu=arm1136jf-s   -o hello.exe
> init.o ../../../../../arm1136jfs/lib/no-barrier.rel
> ../../../../../arm1136jfs/lib/no-dpmem.rel
> ../../../../../arm1136jfs/lib/no-event.rel
> ../../../../../arm1136jfs/lib/no-msg.rel
> ../../../../../arm1136jfs/lib/no-mp.rel
> ../../../../../arm1136jfs/lib/no-part.rel
> ../../../../../arm1136jfs/lib/no-region.rel
> ../../../../../arm1136jfs/lib/no-signal.rel
> ../../../../../arm1136jfs/lib/no-timer.rel
> ../../../../../arm1136jfs/lib/no-rtmon.rel
> ../../../../../arm1136jfs/lib/no-ext.rel
> /opt/rtems-4.11/lib/gcc/arm-rtems4.11/4.5.1/../../../../arm-rtems4.11/bin/ld:
> hello.exe section `.bss' will not fit in region `sdram'
> /opt/rtems-4.11/lib/gcc/arm-rtems4.11/4.5.1/../../../../arm-rtems4.11/bin/ld:
> region `sdram' overflowed by 90847 bytes
> collect2: ld returned 1 exit status
> gmake[5]: *** [hello.exe] Error 1
> gmake[5]: Leaving directory
> `/home2/work/joel/rtems-4.11-work/build/build-arm-arm1136jfs-rtems/arm-rtems4.11/c/arm1136jfs/testsuites/samples/hello
> 
> 


-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the rtems-users mailing list