From patchwork Sat May 20 01:28:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: DJ Delorie X-Patchwork-Id: 764933 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 3wV6ky4DSlz9sN6 for ; Sat, 20 May 2017 11:28:42 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="uKio1CLw"; 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 :to:cc:subject:in-reply-to:date:message-id:mime-version :content-type; q=dns; s=default; b=uF+4oZ0Zc+xXlWMgd+SP4GyilcgA6 7wxFGgfGzpT6Oqtr7T3i+0ZqDNwZtXpJFvPsXoGgpXhfoBp1e0vPVlsaSiIGiMdH jYYmWRcQ7XF0EOvJdcHvRRkWfKWlYJq8FBxspB1rs1MRnxp0hRr3LtgN3VOqrUvB Z0tjieU+Ge0dSs= 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 :to:cc:subject:in-reply-to:date:message-id:mime-version :content-type; s=default; bh=f28xDctQH9h+m7vTZR6eIiAu5/U=; b=uKi o1CLwgeaVaglOkfooPi7IZ0s39HQXCXZ4td5DCSCZmwsrqDpKd8coyVwkTE/92YR 3/BuJs9pKw6wXz3d5bhfinRN2NH4SMtvZyL0DryvFeJTRJ0dxmSC6K1lrA1TzWzQ vIxG52FxbMn+NUWcn/kGs8N3TPuPVbirtqP0WtnA= Received: (qmail 14562 invoked by alias); 20 May 2017 01:28:26 -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 14540 invoked by uid 89); 20 May 2017 01:28:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.1 required=5.0 tests=BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:835 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 20 May 2017 01:28:24 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3086E83F43; Sat, 20 May 2017 01:28:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3086E83F43 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=dj@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 3086E83F43 Received: from greed.delorie.com (ovpn-120-43.rdu2.redhat.com [10.10.120.43]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F01D653C60; Sat, 20 May 2017 01:28:25 +0000 (UTC) Received: from greed.delorie.com.redhat.com (localhost [127.0.0.1]) by greed.delorie.com (8.14.7/8.14.7) with ESMTP id v4K1SPZh026408; Fri, 19 May 2017 21:28:25 -0400 From: DJ Delorie To: Eli Zaretskii Cc: gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org Subject: Re: MinGW compilation warnings in libiberty's waitpid.c In-Reply-To: <83inlbcqsp.fsf@gnu.org> (message from Eli Zaretskii on Mon, 08 May 2017 18:27:18 +0300) Date: Fri, 19 May 2017 21:28:25 -0400 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Please try this patch, since my mingw environment is old: Index: libiberty/ChangeLog =================================================================== --- libiberty/ChangeLog (revision 248307) +++ libiberty/ChangeLog (working copy) @@ -1,3 +1,7 @@ +2017-05-19 Eli Zaretskii + + * configure.ac (*-*-mingw*): Don't build waitpid.c. + 2017-05-02 Iain Buclaw * d-demangle.c (dlang_hexdigit): New function. Index: libiberty/configure.ac =================================================================== --- libiberty/configure.ac (revision 248307) +++ libiberty/configure.ac (working copy) @@ -493,7 +493,6 @@ AC_LIBOBJ([strnlen]) AC_LIBOBJ([strverscmp]) AC_LIBOBJ([vasprintf]) - AC_LIBOBJ([waitpid]) for f in $funcs; do case "$f" in