From: Doug Goldstein Subject: Re: [PATCH 1/7] Remove hardcoded strict -Werror checking Date: Tue, 20 Dec 2016 11:02:15 -0600 Message-ID: <19e85205-06d2-1186-482f-8fd07a682387@cardoe.com> References: <1481928967-4130-1-git-send-email-alistair.francis@xilinx.com> <1481928967-4130-2-git-send-email-alistair.francis@xilinx.com> <20161217155135.GC2267@localhost.localdomain> <6bd7ad0b-f835-e2d8-a459-8ded9cb1c54f@cardoe.com> <20161220160542.GI10069@char.us.oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8726125836778091793==" Return-path: Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJNo0-0001W6-Ok for xen-devel@lists.xenproject.org; Tue, 20 Dec 2016 17:02:24 +0000 Received: by mail-io0-f196.google.com with SMTP id b194so23022353ioa.3 for ; Tue, 20 Dec 2016 09:02:22 -0800 (PST) In-Reply-To: <20161220160542.GI10069@char.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Konrad Rzeszutek Wilk Cc: wei.liu2@citrix.com, ian.jackson@eu.citrix.com, Alistair Francis , imhy.yang@gmail.com, xen-devel@lists.xenproject.org, rshriram@cs.ubc.ca, alistair23@gmail.com List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============8726125836778091793== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vi2oC2fh2GHpW5NEvltANWChCaOQKlkTw" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vi2oC2fh2GHpW5NEvltANWChCaOQKlkTw Content-Type: multipart/mixed; boundary="M6LFMmJkkHJUKUdMw8mcq6NiIgoQOV71l"; protected-headers="v1" From: Doug Goldstein To: Konrad Rzeszutek Wilk Cc: Alistair Francis , wei.liu2@citrix.com, ian.jackson@eu.citrix.com, imhy.yang@gmail.com, alistair23@gmail.com, rshriram@cs.ubc.ca, xen-devel@lists.xenproject.org Message-ID: <19e85205-06d2-1186-482f-8fd07a682387@cardoe.com> Subject: Re: [Xen-devel] [PATCH 1/7] Remove hardcoded strict -Werror checking References: <1481928967-4130-1-git-send-email-alistair.francis@xilinx.com> <1481928967-4130-2-git-send-email-alistair.francis@xilinx.com> <20161217155135.GC2267@localhost.localdomain> <6bd7ad0b-f835-e2d8-a459-8ded9cb1c54f@cardoe.com> <20161220160542.GI10069@char.us.oracle.com> In-Reply-To: <20161220160542.GI10069@char.us.oracle.com> --M6LFMmJkkHJUKUdMw8mcq6NiIgoQOV71l Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 12/20/16 10:05 AM, Konrad Rzeszutek Wilk wrote: > On Mon, Dec 19, 2016 at 09:53:02PM -0600, Doug Goldstein wrote: >> On 12/17/16 9:51 AM, Konrad Rzeszutek Wilk wrote: >>> On Fri, Dec 16, 2016 at 02:56:01PM -0800, Alistair Francis wrote: >>>> Signed-off-by: Alistair Francis >>> >>> >>> Why? >> >> *adjusts his distro maintainer hat* It's considered really bad form fo= r >> upstreams to push -Werror in their projects. However I know there's >> upstream interest to keep it. The compromise would probably be to get = my >> rear in gear and get a wider range of distros testing with Travis CI /= >> GitLab CI. >=20 > So.. why not do something like this: >=20 >=20 > diff --git a/config/StdGNU.mk b/config/StdGNU.mk > index 6be8233..fd2d5b9 100644 > --- a/config/StdGNU.mk > +++ b/config/StdGNU.mk > @@ -39,3 +39,5 @@ ifeq ($(lto),y) > CFLAGS +=3D -flto > LDFLAGS-$(clang) +=3D -plugin LLVMgold.so > endif > + > +CFLAGS +=3D $(EXTRA_CFLAGS) >=20 > And have the BuildRoot script do something like: >=20 >=20 > EXTRA_CFLAGS=3D$(CFLAGS) > unset CFLAGS >=20 > make -C xen >=20 > ? >=20 This was really to replace patch 3/7 right? Cause I think this would be an ok change. It'd certainly help me with Yocto where I have to pass in CFLAGS (need to pass in the sysroot of the target compiler). --=20 Doug Goldstein --M6LFMmJkkHJUKUdMw8mcq6NiIgoQOV71l-- --vi2oC2fh2GHpW5NEvltANWChCaOQKlkTw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0 iQJ8BAEBCgBmBQJYWWQaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvURcEP/3r7TshudrKs8NNqv8J6R42L xIUER9vh6jTkIp8tqWvi7TEOJUR+OKFKZII9+Apez7LbptssY6b3iciYxLcKGovv 1g1HsVoJvVOyjN1vosR60MjIcr7Iy/ltb84Q28DTK0akwYgp/Ato+5XTYur6/6Q1 /MiGDtGnp6F3c7l9EHQZ+uQk76ZRm7GP0ax/8clVl9BKeJ+b1bWYwB7EII03vJYs S0GWEHfXSKWI8AuHG0pSHx16aNVPDRRRTEgtz8RYPfCbciCP6ZJQTHBS4P74TQEz IuX7BDDprrpEsK3+P90VwH3HDK+tlEPzDvzqvc6ZJAFdEs3FfIXTTGbw8tDDNw/f Gn4rnCgShlOZ/z3qKo4yPm2w9PQpJY/GQkFnRgBjUy3WDpqOl68OLc5AMoEI9Y8/ +VQlom1qJwIfDw154hKFWg2B7R3jJaIsjInPU0OWyn+Um+qwPiYbyL8G1k7tPAv6 lRDN1mJkCLRwvAj1h5lIvVC+7gBT/t0hHOtmmY1x8o4Qg2uQzTtsxtGkMzepXZTw NGdkbquGZXW+kbTvchpe/dmfYFwia8LWUPAWkzf+0+6zL+L+vpaXgCkBB+9OfS6L n1tqNgqjcCSMRggS17Y4psBhwPPGIuVU9pNd6m+ctnXANR6lUo6Op4g5r7g9wblp gWTX6KgjgN46O/km6Z9K =02Z5 -----END PGP SIGNATURE----- --vi2oC2fh2GHpW5NEvltANWChCaOQKlkTw-- --===============8726125836778091793== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============8726125836778091793==--