Error when compiling for Stellaris LM3S6965

Gedare Bloom gedare at rtems.org
Wed Jun 4 18:47:29 UTC 2014


Hi Martin,

On Wed, Jun 4, 2014 at 2:41 PM, Martin Galvan <omgalvan.86 at gmail.com> wrote:
> Hi everyone! I'm having a problem when trying to cross-compile RTEMS for a
> Stellaris LM3S6965 board. I checked out HEAD using
>
> git clone git://git.rtems.org/rtems.git
>
> and built the toolchain using the RTEMS Source Builder, after which I ran
> the bootstrap script and did the following:
>
> $../rtems/configure --target=arm-rtems4.11 --enable-rtemsbsp=lm3s6965
> --enable-tests=samples --enable-posix
> $ make
>
> However, after a while the compilation stops with the following error:
>
> /home/martin/tools/lib/gcc/arm-rtems4.11/4.8.2/../../../../arm-rtems4.11/bin/ld:
> pppd.exe section `.rodata' will not fit in region `ROM_INT'
> /home/martin/tools/lib/gcc/arm-rtems4.11/4.8.2/../../../../arm-rtems4.11/bin/ld:
> region `ROM_INT' overflowed by 45932 bytes
> collect2: error: ld returned 1 exit status
This error indicates that pppd is too big when compiled for it to fit
in the memory image of the board.

> make[6]: *** [pppd.exe] Error 1
> make[6]: Leaving directory
> `/home/martin/tools/stellaris/arm-rtems4.11/c/lm3s6965/testsuites/samples/pppd'
> make[5]: *** [all-local] Error 1
> make[5]: Leaving directory
> `/home/martin/tools/stellaris/arm-rtems4.11/c/lm3s6965/testsuites/samples'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory
> `/home/martin/tools/stellaris/arm-rtems4.11/c/lm3s6965/testsuites/samples'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/martin/tools/stellaris/arm-rtems4.11/c/lm3s6965/testsuites'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/martin/tools/stellaris/arm-rtems4.11/c/lm3s6965'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/martin/tools/stellaris/arm-rtems4.11/c'
> make: *** [all-recursive] Error 1
>
> Did anyone else have the same error? I don't recall tampering with anything
> so I don't know what could be causing it.
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>



More information about the users mailing list