From patchwork Tue Nov 17 17:16:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cesar Philippidis X-Patchwork-Id: 545678 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 8F6891413D5 for ; Wed, 18 Nov 2015 04:16:21 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=DPbevMoP; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:message-id:date:mime-version:content-type; q=dns; s= default; b=kdji6FydAuaqSQMPJZrQdWIGHS9LWTZzUAsCEHIjQDhbBADSwUkFr hOU8XOyofzam6SlumXs4GwsEz0DWxKOjnCZjaCORIBSX/jNDWPFV9jFzL4wIZ3Fl S147NvkGbywuh0K7zXdeP0oXbPhjebBLJpI4IyWQ+EFvR5jTgnpHrU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:message-id:date:mime-version:content-type; s= default; bh=vloOhrxSRdMfe5mxhCt6OV1WWjc=; b=DPbevMoPxKA9W1S+JueA eFTv678JZH+xr3KH8mNxwqJz7CCHgDoSe1NZGiLt6JjHn0mjBGA64rmgcgINNbo3 ak2a/CsQGjw9oLoZjAq69dWREcaO5wF/ACNtbJ3Ge3ObcuUYLRSYL2+wTFhsB1NE HPUKXUFHwBTqo/4+h9ojPYQ= Received: (qmail 64369 invoked by alias); 17 Nov 2015 17:16:11 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 64356 invoked by uid 89); 17 Nov 2015 17:16:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Nov 2015 17:16:09 +0000 Received: from svr-orw-fem-05.mgc.mentorg.com ([147.34.97.43]) by relay1.mentorg.com with esmtp id 1ZyjrS-0006RE-7u from Cesar_Philippidis@mentor.com ; Tue, 17 Nov 2015 09:16:06 -0800 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.3.224.2; Tue, 17 Nov 2015 09:16:05 -0800 From: Cesar Philippidis Subject: nvptx priority queues nonsupport in libgomp To: "gcc-patches@gcc.gnu.org" , Nathan Sidwell , Jakub Jelinek , Thomas Schwinge Message-ID: <564B60D5.8070101@codesourcery.com> Date: Tue, 17 Nov 2015 09:16:05 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 This patch adds an empty priority_queues.c in libgomp for nvptx targets. Nvptx targets don't have sufficient support for a complete libgomp library, so we're only building a subset of it. And without that empty file, I was seeing an error message that looked like this: libgomp/libgomp.h:122:17: fatal error: sem.h: No such file or directory #include "sem.h" I'm still running the entire testsuite, but it doesn't introduce any new regressions in libgomp.oacc-c. Is this OK for trunk, or am I missing something? Cesar 2015-11-17 Cesar Philippidis libgomp/ * config/nvptx/priority_queue.c: New empty file. diff --git a/libgomp/config/nvptx/priority_queue.c b/libgomp/config/nvptx/priority_queue.c new file mode 100644 index 0000000..e69de29