From patchwork Fri Aug 7 23:38:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brett Neumeier X-Patchwork-Id: 505271 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 274F114027C for ; Sat, 8 Aug 2015 09:39:05 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=O3zr37Uf; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=lJAZ0Pb7bxUEoJl9MDlXB473GIAuk GjgGpcNDol0mUfSR+D+OePTvjP2A4FNhBVofYiez6wY6adCcg7vKYB3UMfA8GaKT T22yEziNdWWUMOq4eeUJ61P/dUaFakX06uFq2UUT/AEb9sHD5M03TIywMlOe9CpL WmaTURzIhgJ1TM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=If/F1tA5snmHAnHMheCStBgt5ao=; b=O3z r37UfgYobzP+y4q9Gbs1Hh3RBLrA1PJz5Wmhubf8mjkETc+WUoavjMSosSn38Tz2 Vu6MUoBC6xslJLjhOE6caWgxZTPCba44433L4pD6B1u+oXF/5445rMUIa4du+qcm dmEokqCknqbo5R8/Da+kRUS+RpL3nKtVDFIXeqWs= Received: (qmail 85787 invoked by alias); 7 Aug 2015 23:38:57 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 85777 invoked by uid 89); 7 Aug 2015 23:38:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f53.google.com MIME-Version: 1.0 X-Received: by 10.112.180.201 with SMTP id dq9mr10634129lbc.78.1438990732616; Fri, 07 Aug 2015 16:38:52 -0700 (PDT) Date: Fri, 7 Aug 2015 18:38:52 -0500 Message-ID: Subject: [PATCH] sparc32: fix sem_open.c compilation From: Brett Neumeier To: libc-alpha In 2.22 and master, when doing a x86_64-pc-linux-gnu to sparc-pc-linux-gnu cross-toolchain build, sem_open.c fails to compile because it can't find FUTEX_SHARED. It looks to me like an include directive got missed. The attached fixes it for me on 2.22. From 400f54abb2e891a144deda6e28954f3d6d5cc621 Mon Sep 17 00:00:00 2001 From: Brett Neumeier Date: Wed, 5 Aug 2015 22:12:49 -0500 Subject: [PATCH] Fix build on sparc32 --- sysdeps/sparc/sparc32/sem_open.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sysdeps/sparc/sparc32/sem_open.c b/sysdeps/sparc/sparc32/sem_open.c index 16cb9ad..59df2d7 100644 --- a/sysdeps/sparc/sparc32/sem_open.c +++ b/sysdeps/sparc/sparc32/sem_open.c @@ -29,6 +29,7 @@ #include #include #include "semaphoreP.h" +#include #include -- 2.4.5