From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25012 invoked by alias); 24 May 2011 18:48:03 -0000 Received: (qmail 24989 invoked by uid 22791); 24 May 2011 18:48:03 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 May 2011 18:47:44 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4OIlh4C026803 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 24 May 2011 14:47:44 -0400 Received: from [10.3.113.143] (ovpn-113-143.phx2.redhat.com [10.3.113.143]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p4OIlhXL004095 for ; Tue, 24 May 2011 14:47:43 -0400 Message-ID: <4DDBFD4F.1010907@redhat.com> Date: Tue, 24 May 2011 18:48:00 -0000 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Error building run2 from source package in win7 References: <20110523171750.GB16755@jethro.local.lan> <4DDA97CC.1090404@redhat.com> <4DDAA894.5090802@cwilson.fastmail.fm> <20110524183824.GA11571@jethro.local.lan> In-Reply-To: <20110524183824.GA11571@jethro.local.lan> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig9E6C7B5A75B5DAF0CC16AC8C" X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00349.txt.bz2 --------------enig9E6C7B5A75B5DAF0CC16AC8C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 1067 On 05/24/2011 12:38 PM, David Sastre wrote: > From the config.log: >=20 > configure:12737: checking for an ANSI C-conforming const > configure:12802: gcc -c -Wall -Werror conftest.c >&5 There's your problem. Autoconf-generated configure scripts do _NOT_ support -Werror; it is too problematic to ever guarantee that all possible warnings from all possible gcc versions will always be silenced. It is permissible to configure without -Werror, and add it later via 'make CFLAGS=3D"-Werror ..."', once configure has found correct results. But by injecting -Werror too soon into the process, you've made configure guess a wrong result: > cc1: warnings being treated as errors > conftest.c: In function 'main': > conftest.c:69:10: error: 't' is used uninitialized in this function > conftest.c:85:23: error: 'b' may be used uninitialized in this function ... > configure:12809: result: no with disastrous consequences on the rest of the project compilation. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig9E6C7B5A75B5DAF0CC16AC8C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 619 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJN2/1PAAoJEKeha0olJ0Nq2GMH/00Vz+tfiXdnetRW9hjqpLxk CwYB0uYLpVukD3cb3e0YWDWJnzIHfthIRNAL2e3/0TYkuS167JJZAL+212T7lxnB OwB5IWZ9Se3ra2B9Tx7A3d3PxVy3Iv8oQEJuEZMo8EAz+g5ifU/lFTSOpb8wRuNR Z1zng/9xtzBez9b2ek2+nyjjjZee6XawcKR2Ikou9qWEH2G6xgToP3qOCgLQvWyv o7gza3WMla2F7MDliaDHdgd1wKbZuKPuXuadQTcMrgWEwWbXGmQqmw4ghh5YgKjD eboqq9BfKElouNpNJJqDGQFfM3MUIWX8UvD9C0TalIDKHwWvA8I89/kN59iCiGg= =IYUB -----END PGP SIGNATURE----- --------------enig9E6C7B5A75B5DAF0CC16AC8C--