Bug 32640 - [Ada] [4.2 Regression] Binding for pthread_sigmask not same as other ports
Summary: [Ada] [4.2 Regression] Binding for pthread_sigmask not same as other ports
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: ada (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: wrong-code
Depends on:
Blocks:
 
Reported: 2007-07-05 18:28 UTC by Joel Sherrill
Modified: 2007-07-08 14:22 UTC (History)
4 users (show)

See Also:
Host: any
Target: *-*-*rtems*
Build: any
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Patch to make this file compile (288 bytes, patch)
2007-07-05 18:30 UTC, Joel Sherrill
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Sherrill 2007-07-05 18:28:24 UTC
The Ada run-time has changed its expectation for the prototype of pthread_sigmask.  The RTEMS specific file does not compile.  This small patch fixes it.

2007-07-05  Joel Sherrill <joel.sherrill@oarcorp.com>

        * s-osinte-rtems.ads: Correct prototype of pthread_sigmask.
Comment 1 Joel Sherrill 2007-07-05 18:30:04 UTC
Created attachment 13853 [details]
Patch to make this file compile

With this patch, I have been able to successfully compile GNAT for 7 target architectures supported by RTEMS, run the ACATS on two of them and an Ada hello world on most of them.

Could someone please apply this to the head and 4.2 branch before 4.2.1 freezes?
Comment 2 Laurent GUERBY 2007-07-05 20:36:13 UTC
This was working with 4.1
Comment 3 Laurent GUERBY 2007-07-08 14:22:58 UTC
Tested by Joel, privately approved by Geert, commited on 4.2 (okayed by
Mark) and trunk.

Laurent