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.