# ARM7 GCC 4.4.2 eh\_frame problem

**URL:** <https://forums.freertos.org/t/arm7-gcc-4-4-2-eh-frame-problem/3711>\
**Category:** Kernel\
**Created:** [March 10, 2010, 12:29pm UTC](https://forums.freertos.org/t/arm7-gcc-4-4-2-eh-frame-problem/3711 "2010-03-10T12:29:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 10, 2010, 12:29pm UTC](https://forums.freertos.org/t/arm7-gcc-4-4-2-eh-frame-problem/3711/1 "2010-03-10T12:29:20Z")

</div>

**[kiwied](https://sourceforge.net/u/kiwied/)** wrote on [Wednesday, March 10, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/a6287d40/#8fc5):

I have recently upgraded to OpenRTOS v6.0.3 and yagarto gcc 4.4.2 my previous project (ARM7\_AT91SAM7X256\_Eclipse) now works well. Now wishing to use lwip, I’ve chosen lwIP\_Demo\_Rowley\_ARM7. Problem is that on compiling I get these three errors:  
1) rtosdemo.elf section ‘.eh\_frame’ will not fit in region ram  
2) region ‘ram’ overflowed by 200 bytes.  
3)In function ‘\_sbrk\_r’  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; undefined reference to ‘\_sbrk’

When I decreased one of MY buffers to a smaller value the error for #1 became&nbsp; “region ‘ram’ overflowed by -150 bytes”, how can it overflow in the negative?  
Are errors #2 and #3 releated in any way?

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 10, 2010, 1:02pm UTC](https://forums.freertos.org/t/arm7-gcc-4-4-2-eh-frame-problem/3711/2 "2010-03-10T13:02:57Z")

</div>

**[davedoors](https://sourceforge.net/u/davedoors/)** wrote on [Wednesday, March 10, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/a6287d40/#3407):

The Yagarto home page contains details of how to fix these errors.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 10, 2010, 1:13pm UTC](https://forums.freertos.org/t/arm7-gcc-4-4-2-eh-frame-problem/3711/3 "2010-03-10T13:13:25Z")

</div>

**[kiwied](https://sourceforge.net/u/kiwied/)** wrote on [Wednesday, March 10, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/a6287d40/#4bbd):

Yes, I looked at that before posting, the .eh\_frame error is not that its missing -&nbsp; but that its overflowing!
