[RTEMS Project] #1432: GCC 4.4 and .eh_frame

RTEMS trac trac at rtems.org
Sat Nov 22 12:05:10 UTC 2014


#1432: GCC 4.4 and .eh_frame
-----------------------------+-----------------------------
 Reporter:  sebastian.huber  |       Owner:  ralf.corsepius
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:  4.11
Component:  GCC              |     Version:  4.11
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |
-----------------------------+-----------------------------
Changes (by gedare):

 * version:  unspecified => 4.11
 * milestone:   => 4.11


Old description:

> GCC generates .eh_frame when debug is enabled (-g).  This is rather bad
> for targets with small memory sizes.
>
> See also:
>
> http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg258041.html
> http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-02/msg10299.html
>
> It seems there is a workaround:
>
> Add -fno-dwarf2-cfi-asm option to CFLAGS.

New description:

 GCC generates .eh_frame when debug is enabled (-g).  This is rather bad
 for targets with small memory sizes.

 See also:

 http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg258041.html
 http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-02/msg10299.html

 It seems there is a workaround:

 Add -fno-dwarf2-cfi-asm option to CFLAGS.

--

--
Ticket URL: <http://devel.rtems.org/ticket/1432#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list