From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18426 invoked by alias); 2 Aug 2011 17:31:01 -0000 Received: (qmail 18413 invoked by uid 22791); 2 Aug 2011 17:31:00 -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; Tue, 02 Aug 2011 17:30:46 +0000 From: "ludovic@ludovic-brenta.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/49944] [4.5/4.6/4.7 regression] Bootstrapping on x86_64-pc-kfreebsd-gnu fails with "s-taprop.adb:856:10: "pthread_attr_setaffinity_np" is undefined (more references follow)" 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: ludovic@ludovic-brenta.org X-Bugzilla-Status: UNCONFIRMED 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 Date: Tue, 02 Aug 2011 17:31:00 -0000 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-08/txt/msg00238.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49944 --- Comment #3 from Ludovic Brenta 2011-08-02 17:30:43 UTC --- I would not be so assertive as Arno. It seems to me (but I may be wrong) that s-taprop-linux.adb really only calls glibc and libpthread, not the kernel, and therefore should be called s-taprop-glibc.adb. It looks like the kernel-specific calls are all in s-osinte-{linux,freebsd,kfreebsd-gnu}.ads, which have the proper names. GNU/kFreeBSD uses the GNU glibc instead of FreeBSD's libc, so I think s-taprop-linux.adb is appropriate there.