From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 86021 invoked by alias); 28 Feb 2019 19:06:59 -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 86012 invoked by uid 89); 28 Feb 2019 19:06:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-lf1-f52.google.com Received: from mail-lf1-f52.google.com (HELO mail-lf1-f52.google.com) (209.85.167.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Feb 2019 19:06:57 +0000 Received: by mail-lf1-f52.google.com with SMTP id z23so4067530lfe.0 for ; Thu, 28 Feb 2019 11:06:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to; bh=OPqoTjX/O6CIT+dYCeGcBojDx+PjHgIABU0bX3r7onc=; b=UJNBJRAS4SVpPwc9SoIIiWC/CpvqvLVnosKoisknMk7L9KyV14QvWn7ek4EEa2/Nqb c9H98smGPhuL/K4fqI9YDLIwH+KMmNiJvUCYvo9zDcf2m/CdwD5wpH4Zr6gsiCmRLkV/ c/W0mlthT2mdkZooVPZSjKYCg5yEkdKMIemg/p3d49cZ4kOJEEknLJXvNtvIUGjUAn4N P+UZDt6aPoLm4f0feTBOs0xp/hoReJ7tm2gbxRKD7G/8RzM7fDAB0vVqYSRYozhNQJIj YAvJ1aCpPpuVqCzAr6tH4dHzjKpmdDS0bUmpCuqej/Wx3eOMjqp+0F5EvMuu0obalnud Zc/g== Return-Path: Received: from [192.168.4.39] (broadband-95-84-200-6.ip.moscow.rt.ru. [95.84.200.6]) by smtp.gmail.com with ESMTPSA id m6sm1708948lfa.36.2019.02.28.11.06.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 11:06:52 -0800 (PST) Subject: Re: MinGW build of GDB 8.2.90 To: gdb-patches@sourceware.org References: <20190227055112.4A5E782D7B@joel.gnat.com> <837edjkbp4.fsf@gnu.org> <87pnrbivz4.fsf@redhat.com> From: LRN Message-ID: <3b64f3f2-8974-6158-4cf2-970c277c4b36@gmail.com> Date: Thu, 28 Feb 2019 19:06:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <87pnrbivz4.fsf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dglgFwCVIWr13HBTGOEKn8xhIggcz649H" X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00572.txt.bz2 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dglgFwCVIWr13HBTGOEKn8xhIggcz649H Content-Type: multipart/mixed; boundary="A3M8tqyDCDgnUxee75xlZTdprAYi9oXBF"; protected-headers="v1" From: LRN To: gdb-patches@sourceware.org Message-ID: <3b64f3f2-8974-6158-4cf2-970c277c4b36@gmail.com> Subject: Re: MinGW build of GDB 8.2.90 --A3M8tqyDCDgnUxee75xlZTdprAYi9oXBF Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Content-length: 1511 On 28.02.2019 21:55, Sergio Durigan Junior wrote: > On Thursday, February 28 2019, Eli Zaretskii wrote: >> On Wed, 27 Feb 2019 09:51:12 +0400 (+04) Joel Brobecker wrote: >>> >>> I have just finished creating the gdb-8.2.90 pre-release. >>> It is available for download at the following location: >>> >>> ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-8.2.90.tar.xz >> >> Thanks, I've built this with mingw.org's MinGW and bumped into a few >> problems. >> >> First, the recent changes to support IPv6 caused compilation errors in >> several files. The problem is with several fragments such as this >> one: >> >> #ifdef USE_WIN32API >> #include >> #include >> #else >> ... >> >> mingw.org's MinGW doesn't have wspiapi.h. Moreover, the Microsoft >> documentation indicates that to get prototypes of getaddrinfo, >> freeaddrinfo, etc. one needs to include ws2tcpip.h (and not include >> winsock2.h separately) > However, and more importantly, I remember testing the whole patch by > compiling it using a mingw32 compiler on Fedora, and it was working > correctly. In fact, we even have a mingw32 builder on our BuildBot > (running on Fedora), and it is still compiling GDB without problems: >=20 > https://gdb-build.sergiodj.net/builders/Fedora-x86_64-w64-mingw32 >=20 > So apparently this error is only triggered when you use mingw on > Windows...? I don't know. >=20 Obviously, Fedora cross-compiler is mingw-w64, not mingw.org. Big differenc= e, feature-wise. --A3M8tqyDCDgnUxee75xlZTdprAYi9oXBF-- --dglgFwCVIWr13HBTGOEKn8xhIggcz649H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE4MWzR43wYaAzEA49ja3pJ2dZunQFAlx4MUcACgkQja3pJ2dZ unRuaw/8ChptUtcBn6z/t7VE5tidNZTd3VtIJdK5d/0k18Flpt0T2jlAAPULvRnU 3gLCcttOs1d4KP+aPVTGuFitecaTF4c6z3I99Sx6lx3DxM7mrG0BuPEhAU8KGpHH ye+ORfzXXuw6oAjv457+jnFxTP/h3Ew8GzBfiC7seROnzowRa4HAs/IH8MgxJXrs DCND87lqq3UqE/CD5e5VB1EdVQaKXiR7m9tcBhdkaUor7FSGarVh4iUabWWL+Zfa Ht7lU3B0rgg33Tc498j+DCUjmuZ8vSEsQWBk/v0HQD5O0Zg38OUDwzE27XkqE0GF B5Hxh+wPYjt8E1PopjQXGUTgiBo9E/Ecyh3iOy7EVZzygZp8fhCC4fnna5RogIek BYp0m6kRxUGK/N0UNRahyrKWggMhF2yDfvTwH/3wG4b8qYHnizrkfY/RmZs6Njb6 ffkgkcXHuaq957fCBVqkLDrsDdM5vGijkWXv3BTM41eNo7vqQ0is0gL06vshawJl sFfVAczmpRdwSa/MYdOpu1yFp9s017IF0RqYm4jcEvn0g/83vVKL52HbHFu+UUSi XvKjvPqUXfaydmAQWSI3eQyvAuJOYa5eGZ9zD0ZgQDCr3dmUBXCYlP03mrQn8mWU f6ZODUzE+lbep7HKZ1PbcPbSf9fF7ccuBimV3PfNfEgsp0qTgis= =bBT+ -----END PGP SIGNATURE----- --dglgFwCVIWr13HBTGOEKn8xhIggcz649H--