X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=P7qD4zAprtsyhVZA9V4cuEuTXiGaUgqGgY87f0l6RAxm9IINVDWeV QxVb0DXt4En+gzW72eyh6sXd8jzy0ZAxZEl2E9QBDKvpd8A5TGGQVCULyWEJ7cVv jeq6ViOPSUiCiYm5m8i3mhJSlySsMBhJYFhOM68msZtxjzC11jXxd8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=JZjT3Y12ouuBMJwR/YXx1T5XNH0=; b=ZLj/SiFMMEKX7MVBWGafYNp/NN5x f5SJcTt+OkCgXDIkIXHaRU2sCtaoDnqlN7qvZmG48fcbsrbru+KwaLa1f4Ho0unp Q+XcEJYp7FVLqy07DszN0NXZU5e83YLKupFkVPd/X8anr+8T6zvsQEkUAURBS9mp m1hKNs66D6D8P2Q= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Tue, 30 Oct 2018 21:32:04 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT 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 AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <143b033e-1d26-16f2-988c-2634a2b1e06e AT gmail DOT com> <276362f8-7162-21f7-00a1-3f5896a7ac75 AT gmail DOT com> <530490cf-a77a-c22c-b327-d6001c9486f5 AT gmail DOT 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) --xQR6quUbZ63TTuTU Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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" -----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--