[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug ada/68169] New: s-osinte-rtems.ads is out of synch with type definitions of current newlib
From:       "soja-lists at aries dot uberspace.de" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2015-10-31 15:24:08
Message-ID: bug-68169-4 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68169

            Bug ID: 68169
           Summary: s-osinte-rtems.ads is out of synch with type
                    definitions of current newlib
           Product: gcc
           Version: 4.9.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: soja-lists at aries dot uberspace.de
  Target Milestone: ---

For rtems the type definition of phtread_attr_t in s-osinte-rtems.ads and the
corresponding one of current newlib are not equivalent.

Thus not enough memory is reserved by ada for this type and the call to the
initializer will cause a stack corruption at least for arm-rtems4.11-targets.

I have tested the problem with the gcc4_9-branch and will provide a patch.
The rtems-developers are aware of the problem.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic