From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1457 invoked by alias); 27 Nov 2011 21:19:05 -0000 Received: (qmail 1449 invoked by uid 22791); 27 Nov 2011 21:19:04 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Nov 2011 21:18:50 +0000 From: "dave.anglin at bell dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/51307] [4.7 Regression] s-taprop.adb:676:25: "CLOCK_RT_Ada" not declared in "OS_Constants" Date: Sun, 27 Nov 2011 21:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dave.anglin at bell dot net X-Bugzilla-Status: WAITING X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg02594.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51307 --- Comment #2 from dave.anglin at bell dot net 2011-11-27 21:18:46 UTC --- On 26-Nov-11, at 6:40 PM, ebotcazou at gcc dot gnu.org wrote: > Probably a missing CLOCK_REALTIME on the system (11.31 apparently > has it). You > need to add something to the Threads support section of s-oscons- > tmplt.c. System seems to have CLOCK_REALTIME. Even HP-UX 10.20 has it : typedef enum __clockid_t { CLOCK_INVALID = 0, CLOCK_REALTIME = 1, /* the system-wide "wall clock" */ CLOCK_VIRTUAL = 2, /* the per-process user execution clock */ CLOCK_PROFILE = 4, /* the per-process execution clock */ RTTIMER0 = 8, RTTIMER1 = 16 } clockid_t; -- John David Anglin dave.anglin@bell.net