From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13556 invoked by alias); 21 May 2017 15:32:22 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 13523 invoked by uid 89); 21 May 2017 15:32:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,KAM_ASCII_DIVIDERS,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:xnwp9cg, H*MI:sk:xnwp9cg X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 21 May 2017 15:32:13 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCSq4-0007yJ-4p for gdb-patches@sourceware.org; Sun, 21 May 2017 11:32:15 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCSq4-0007yF-1q; Sun, 21 May 2017 11:32:12 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3718 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dCSq3-0006lM-4R; Sun, 21 May 2017 11:32:11 -0400 Date: Sun, 21 May 2017 15:32:00 -0000 Message-Id: <83wp9ans43.fsf@gnu.org> From: Eli Zaretskii To: DJ Delorie CC: gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org In-reply-to: (message from DJ Delorie on Fri, 19 May 2017 21:28:25 -0400) Subject: Re: MinGW compilation warnings in libiberty's waitpid.c Reply-to: Eli Zaretskii References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00483.txt.bz2 > From: DJ Delorie > Cc: gcc-patches@gcc.gnu.org, gdb-patches@sourceware.org > Date: Fri, 19 May 2017 21:28:25 -0400 > > > 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 > Hmm... no, this doesn't solve the problem. The expansion of AC_LIBOBJ for waitpid is gone from the configure script, but the value of LIBOBJS in libiberty/Makefile still includes waitpid.o. What else is related to this? One caveat: I needed to hack config/override.m4 to allow me to run autoconf 2.69 I have installed, because otherwise it insists on autoconf 2.64 which I don't have. I hope this isn't the reason for the incomplete solution.