From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63642 invoked by alias); 30 Oct 2018 20:32:09 -0000 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 Received: (qmail 63023 invoked by uid 89); 30 Oct 2018 20:32:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-101.2 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*i:sk:530490c, H*f:sk:530490c, H*MI:sk:530490c X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 Oct 2018 20:32:07 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MQPVR-1fvuw01QOX-00MJcw for ; Tue, 30 Oct 2018 21:32:05 +0100 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MQPVR-1fvuw01QOX-00MJcw for ; Tue, 30 Oct 2018 21:32:05 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id E1D71A81F05; Tue, 30 Oct 2018 21:32:04 +0100 (CET) Date: Tue, 30 Oct 2018 20:32:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Cross build of newlib-cygwin release tag cygwin-2_11_1-release. Message-ID: <20181030203204.GB3310@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <143b033e-1d26-16f2-988c-2634a2b1e06e@gmail.com> <276362f8-7162-21f7-00a1-3f5896a7ac75@gmail.com> <530490cf-a77a-c22c-b327-d6001c9486f5@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xQR6quUbZ63TTuTU" Content-Disposition: inline In-Reply-To: <530490cf-a77a-c22c-b327-d6001c9486f5@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-SW-Source: 2018-10/txt/msg00267.txt.bz2 --xQR6quUbZ63TTuTU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2045 On Oct 30 16:01, Earnest Boyd wrote: > On 10/30/2018 3:31 PM, cyg Simple wrote: > > On 10/30/2018 11:03 AM, cyg Simple wrote: > >> PING... Does no one have an idea? > >> > >> On 10/29/2018 12:09 PM, cyg Simple wrote: > >>> I'm trying to cross build the Cygwin source on a VirtualBox Arch Linux > >>> with GCC-7.3.0 and Binutils 2.31. The process I am using clones the > >>> master repository and then does a checkout of the release tag. Here = is > >>> the configure command from the head of the config.log. > >>> > >>> ``` > >>> $ head /home/cygsimple/src/sf/build/newlib-cygwin/build/config.log | > >>> grep newlib-cygwin-2.11.1/configure > >>> $ > >>> /home/cygsimple/src/sf/build/newlib-cygwin/src/newlib-cygwin-2.11.1/c= onfigure > >>> --prefix=3D/usr --host=3Dx86_64-pc-cygwin --build=3Dx86_64-pc-linux-g= nu > >>> --target=3Dx86_64-pc-cygwin --sysconfdir=3D/etc --sharedstatedir=3D/v= ar > >>> --localstatedir=3D/var > >>> ``` > >>> > >=20 > > I tried this on the master Cygwin and get the same error. > >=20 > > ``` > > $ head config.log | grep newlib-cygwin > > $ > > /usr/local/src/cygsimple/sf/build/newlib-cygwin/src/newlib-cygwin-2.11.= 1/configure > > --prefix=3D/usr --host=3Dx86_64-pc-cygwin --build=3Dx86_64-pc-cygwin > > --target=3Dx86_64-pc-cygwin --sysconfdir=3D/etc --sharedstatedir=3D/var > > --localstatedir=3D/var > > ``` > >=20 > > What configuration item should I add to avoid this? > >=20 >=20 > Patching winsup/cygwin/Makefile.in to remove -Werror allows this to > build though the warnings continue. But how does Corinna do this? No special settings. But this: > >>> c++wrap -pedantic -fomit-frame-pointer -m64 -O2 -g -fno-rtti ^^^^^^^^^ ^^^^ Looks weird. We don't use neither pedantic nor m64 and from the above it seems you didn't specify them explicitely either. So where are they coming from? "pedantic" may explain the error. What linux-cygwin cross gcc are you using? Looks like you're not using the right one. Corinna --=20 Corinna Vinschen Cygwin Maintainer --xQR6quUbZ63TTuTU Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlvYv8QACgkQ9TYGna5E T6ApXA//eJJkIdWcmYpnOq+jkffaeEq3rh/JALC9rOES6fTQ49Pt5jejtLb6FNAP vlqKh902/WH43aCkqIId/54qW3+mYHsje4BTGBWX3WgkkAKNAs2hRLwPBWdSUFHu U1IUOAgTJzcbvm21eA4/DZL91MQuTaWugsqbAC97PRaLizF4MySnL9ZkCqB1y2F8 RbJTQHSqxohmSy+OqYPTXyGCMEBGT5qP+KQOqYqCuuRLuDeuwM3hdPQzJnJlwS/l t8Ho7h+bURcYo3wSCq5SUDlhotE5KYenQZ541RKnuON+i9GrPcDLcHX0OZr8uMdI XHBYrFV63CkHLgLCW0GVdfdmJwdoTEJQd5kEJMdgCD0WdxUdN2PQs98OqeeZn6+c y2Z8voy8hr74qSSbL9znqvZ90/ZSdtRyVke7W8jm6E6NxVFXK6eLO9rvfPsSKfaw +nEY1RfDKLoAX2liq+RHTlllDuTrixcbXkDA1klyFS3dGJetOtGXS1ZEXtvu8egF h9RtOI4JuZMpT4MwqYBVLuZhiwnak2Cb2T6cnWzVd9iebmcl32N4cp4Kzvx2IjvP 0vrv+mXj7sZzEZ8dXro/78+OeEbk4ogpIG4qluTKTIwPwxhrVmxRqGj3vfEwhlBB 55O4isxlquCWCHRzJ/2i5Ghf7SWlLfpTCtqZk/cLtIN1h+H0Lrk= =BWC5 -----END PGP SIGNATURE----- --xQR6quUbZ63TTuTU--