From owner-freebsd-toolchain@freebsd.org Tue Jun 5 13:03:35 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3C71FD045F for ; Tue, 5 Jun 2018 13:03:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-13.consmr.mail.bf2.yahoo.com (sonic315-13.consmr.mail.bf2.yahoo.com [74.6.134.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 328BA76992 for ; Tue, 5 Jun 2018 13:03:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: LtnHWGQVM1nHX6CJowtCRTy6finFHq6faSYOH.Ct7LhMUVbdgSrluP0WHQcXdcG FzCwTUPUgWqu0gwjyplqMP1uAiZXj75NxXOWsXl7mKMKz5SX.46HMlU7aOOb0bXQYQxkQqmwryPm Qb.HhfDtsbYgCmESQ8tMn0hrzi3Zun3BBiloPZud0HY3qmusxIp3Kl5vbnauXHJJp5jIjWH.Svu5 ifx27Kgm2i8qKYr45yCTYK1Ai9LoL5XCVWt8um2xDwaGngsseCe_cZFh1dehnYUXTXz43UW85zPq VHRFwVMWZY62tIpBTzaSFe8EfF0sX2OVn7kB6UYJ0OT1cuepkS7.grKe4xlsw4oD9Et5rLbWew2S yWpXczeuDk.XUnZmjzZW3RxAnW6RB0q29cQQDQpe4lx_IRp9a_Sq7vpOFmx_GbGsXRkopaljMFI1 kQ8.lAxOinGmzoRiIwyZB2pwDLHix7ImmboF_.mYkrJfjSa95wqNZAUn_60frO.FB0padPQta17y T3ejYYlOF3TnXsqhe1nHKsMUK5fSlkOpcD94yWvZFCq6KqTxUbDPQMwC2GrCGDPqzrh62xDoGq5r VPS0PGBzLS_Bj_XzxMuPplQ37DTUueuIwskQ4BO1uCk2QwKfkk9aejlusEIdOv.8rfk.FbPvLM79 nd3ZAuDCp4WDzdX6Znv7d9oWZ_oeh5drPLKftrQDjCZi.VIrTo_B79XKJBMqUnix5QxaTspsQQA5 iJbSvV8JQLMhc7hAAak3xUjUzbXNXlGLnx1FAFXLzZ.zk2uh2vZ3MseXbmu60AxAHPpm9E4WV4yk kJhVKsSohCwtgEj68CFLsQCI.RfW5jYK6b4EplLyHynTJDwqjj5yHxV5WryRrrf3QGGBH8NdR_We RJDjXpBQ87AJ2eHV0hpKqskVvMksHFpQwXx5gvvkHygOJlQ8KPeYs1PfS_RkhMC7QDX6wOAy0Qio - Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Tue, 5 Jun 2018 13:03:28 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.109]) ([70.189.131.151]) by smtp428.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 4665a50153fda4a205eb0a1965971aa6; Tue, 05 Jun 2018 13:03:24 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: svn commit: r334647 - in head: . . . [this broke ci.freebsd.org's FreeBSD-head-amd64-gcc build but via an include/c++/v1/ problem] Message-Id: <5D1C2920-2206-4602-BD2D-D1298E5D62EE@yahoo.com> Date: Tue, 5 Jun 2018 06:03:22 -0700 Cc: mmacy@FreeBSD.org To: svn-src-head@freebsd.org, freebsd-toolchain@freebsd.org X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 13:03:35 -0000 https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/5974/consoleText = shows: --- all_subdir_usr.sbin/pmc --- In file included from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ios:216:0,= from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/iostream:3= 8, from /workspace/src/usr.sbin/pmc/cmd_pmc_filter.cc:71: = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale: = At global scope: = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale:1= 237:40: error: redundant redeclaration of 'void = std::__1::__throw_runtime_error(const char*)' in same scope = [-Werror=3Dredundant-decls] _LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_runtime_error(const = char*); ^~~~~~~~~~~~~~~~~~~~~ In file included from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/memory:663= :0, from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/algorithm:= 643, from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__string:5= 6, from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/string_vie= w:176, from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/string:477= , from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale:1= 5, from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ios:216, from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/iostream:3= 8, from /workspace/src/usr.sbin/pmc/cmd_pmc_filter.cc:71: = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/stdexcept:= 186:40: note: previous declaration of 'void = std::__1::__throw_runtime_error(const char*)' _LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_runtime_error(const = char*); ^~~~~~~~~~~~~~~~~~~~~ It looks like the new #include of iostream brings in code that gcc = rejected above: --- head/usr.sbin/pmc/cmd_pmc_filter.c Mon Jun 4 23:17:18 2018 = (r334645, copy source) +++ head/usr.sbin/pmc/cmd_pmc_filter.cc Tue Jun 5 04:26:40 2018 = (r334647) @@ -68,11 +68,22 @@ __FBSDID("$FreeBSD$"); #include #include "cmd_pmc.h" =20 +#include . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Tue Jun 5 17:49:37 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA4A6FE97C0; Tue, 5 Jun 2018 17:49:37 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5AD5687226; Tue, 5 Jun 2018 17:49:37 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [10.10.154.196] (unknown [185.93.6.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id ECE2D43E44; Tue, 5 Jun 2018 19:49:35 +0200 (CEST) From: Dimitry Andric Message-Id: <39385E73-A75B-4E61-91D3-4CA86252AEDA@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_53FC7137-D105-48D6-AB2F-F42056CA88D3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: svn commit: r334647 - in head: . . . [this broke ci.freebsd.org's FreeBSD-head-amd64-gcc build but via an include/c++/v1/ problem] Date: Tue, 5 Jun 2018 19:49:31 +0200 In-Reply-To: <5D1C2920-2206-4602-BD2D-D1298E5D62EE@yahoo.com> Cc: svn-src-head@freebsd.org, freebsd-toolchain@freebsd.org, mmacy@FreeBSD.org To: Mark Millard References: <5D1C2920-2206-4602-BD2D-D1298E5D62EE@yahoo.com> X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 17:49:38 -0000 --Apple-Mail=_53FC7137-D105-48D6-AB2F-F42056CA88D3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 5 Jun 2018, at 15:03, Mark Millard via freebsd-toolchain = wrote: >=20 > https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/5974/consoleText = shows: >=20 > --- all_subdir_usr.sbin/pmc --- > In file included from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ios:216:0,= > from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/iostream:3= 8, > from /workspace/src/usr.sbin/pmc/cmd_pmc_filter.cc:71: > = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale: = At global scope: > = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale:1= 237:40: error: redundant redeclaration of 'void = std::__1::__throw_runtime_error(const char*)' in same scope = [-Werror=3Dredundant-decls] > _LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_runtime_error(const = char*); > ^~~~~~~~~~~~~~~~~~~~~ > In file included from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/memory:663= :0, > from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/algorithm:= 643, > from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__string:5= 6, > from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/string_vie= w:176, > from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/string:477= , > from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale:1= 5, > from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ios:216, > from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/iostream:3= 8, > from /workspace/src/usr.sbin/pmc/cmd_pmc_filter.cc:71: > = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/stdexcept:= 186:40: note: previous declaration of 'void = std::__1::__throw_runtime_error(const char*)' > _LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_runtime_error(const = char*); > ^~~~~~~~~~~~~~~~~~~~~ >=20 >=20 > It looks like the new #include of iostream brings in code that gcc = rejected above: >=20 > --- head/usr.sbin/pmc/cmd_pmc_filter.c Mon Jun 4 23:17:18 2018 = (r334645, copy source) > +++ head/usr.sbin/pmc/cmd_pmc_filter.cc Tue Jun 5 04:26:40 2018 = (r334647) > @@ -68,11 +68,22 @@ __FBSDID("$FreeBSD$"); > #include > #include "cmd_pmc.h" >=20 > +#include > . . . I don't think anybody has yet tested building libc++ headers with the combination of recent gcc, -Wsystem-headers, and -Werror. :) For now, try disabling -Wredundant-decls. -Dimitry --Apple-Mail=_53FC7137-D105-48D6-AB2F-F42056CA88D3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWxbNKwAKCRCwXqMKLiCW o4H2AKDqCHPXYzdhSl1mwKRaofQ1jHb64ACfSzBkig7ze8tWy/sRWBt8hkL1B88= =qbEF -----END PGP SIGNATURE----- --Apple-Mail=_53FC7137-D105-48D6-AB2F-F42056CA88D3-- From owner-freebsd-toolchain@freebsd.org Tue Jun 5 19:22:34 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D877FF3489 for ; Tue, 5 Jun 2018 19:22:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-23.consmr.mail.gq1.yahoo.com (sonic304-23.consmr.mail.gq1.yahoo.com [98.137.68.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1EA9C6DA5A for ; Tue, 5 Jun 2018 19:22:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: NIPrG.0VM1kIdGAKOFinYYiUZnPIlS42DrskxScFRq3hNMp8T0ELy5hzYDmAyO3 h4JtjfnhsAvqJvNqQwRFL2O65RkDaliHfjbkNU9Km6JHnAuQslkhBujf6qvZ4H7TGDQhlt_vU1Xl I1bhz53AY0.zfO77HoL5egPKarDEgvl0Eb9D1S9ZuPaXLuWZL2tyrQRYmUNOXTTnAvyCYWKwgMJD Nq_kE.5.9mOAwgBtBbnOoNWFdQe16c0ljNoxOHi6BrV_41mrB0G908oCX1SYESfN.Vfd_1KbGq_K mFGnS5GFVEw05YUWANdg0Kd_vCpSzKtOG_6sgcUXk1QCCoii.b8qzq7uuBmeGazmp6_aFsza3DhE fMn6uqbXUv3ZwVBIIKCcBCt9iYVcJ0UmvydwN5wZP8jEfmt0BtjhCZoFLZyPFyrsrW6i3yXwwD9Y 4JzheZrhiJ5KkLQ4Yje8Pco_4iR3RlQwKgYhpXLU1UWwTX.TNwxD0UcYizKCXpwr9vky7B.anbUW 5Z0ncN7OQR1A41nDy_Qg4bxYRs.Y23YpzEnIWEEJkJ2m8r.dWeTVGJBMNrmpzP5P_cYqx_SsUnSB imB4fZyFF0wqR_nj25JBnfQ_dsT5ld0htduZ_mg_V_CngsZqBHxb8SqqH0Q9CnVyygQ26Ye2oKUX sCbTHA2deTIvuoDYT_PJQ1CQT.XDdB93Fwx6kghpq2p4UJjcNPq4SsKSRTwsdACLJFcmcj8j8nuw O9ggyJKc7Bht04wNpvZXTtmKJurQ49xtc5gR1M0AYK7530oJttEn9DFcdPplh2hjSmBdH5jSNsWA vK15ofTjO4gvBI3ISgt2uGNZP4lLMPePLb7X17mmTDl8Dp1ZN1C0M39NBfCzuP9tFyjvib4D5lxJ N1Tyl.iBuDM5u9Td7nsnATq.vCIoub7rSdJuMIdr0lVieBKd26DLIYqCvi6GTHoZ0UqkZ9VWm8XG 6QJY- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Tue, 5 Jun 2018 19:22:27 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.109]) ([70.189.131.151]) by smtp410.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 2d247965ef310013e7a4fd69125e4972; Tue, 05 Jun 2018 19:22:22 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: svn commit: r334647 - in head: . . . [this broke ci.freebsd.org's FreeBSD-head-amd64-gcc build but via an include/c++/v1/ problem] From: Mark Millard In-Reply-To: <39385E73-A75B-4E61-91D3-4CA86252AEDA@FreeBSD.org> Date: Tue, 5 Jun 2018 12:22:21 -0700 Cc: svn-src-head@freebsd.org, freebsd-toolchain@freebsd.org, mmacy@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <317A4775-F397-4C54-9DE4-2FCD5E53D5B2@yahoo.com> References: <5D1C2920-2206-4602-BD2D-D1298E5D62EE@yahoo.com> <39385E73-A75B-4E61-91D3-4CA86252AEDA@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 19:22:34 -0000 On 2018-Jun-5, at 10:49 AM, Dimitry Andric wrote: > On 5 Jun 2018, at 15:03, Mark Millard via freebsd-toolchain = wrote: >>=20 >> https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/5974/consoleText = shows: >>=20 >> --- all_subdir_usr.sbin/pmc --- >> In file included from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ios:216:0,= >> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/iostream:3= 8, >> from /workspace/src/usr.sbin/pmc/cmd_pmc_filter.cc:71: >> = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale: = At global scope: >> = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale:1= 237:40: error: redundant redeclaration of 'void = std::__1::__throw_runtime_error(const char*)' in same scope = [-Werror=3Dredundant-decls] >> _LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_runtime_error(const = char*); >> ^~~~~~~~~~~~~~~~~~~~~ >> In file included from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/memory:663= :0, >> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/algorithm:= 643, >> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__string:5= 6, >> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/string_vie= w:176, >> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/string:477= , >> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale:1= 5, >> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ios:216, >> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/iostream:3= 8, >> from /workspace/src/usr.sbin/pmc/cmd_pmc_filter.cc:71: >> = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/stdexcept:= 186:40: note: previous declaration of 'void = std::__1::__throw_runtime_error(const char*)' >> _LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_runtime_error(const = char*); >> ^~~~~~~~~~~~~~~~~~~~~ >>=20 >>=20 >> It looks like the new #include of iostream brings in code that gcc = rejected above: >>=20 >> --- head/usr.sbin/pmc/cmd_pmc_filter.c Mon Jun 4 23:17:18 2018 = (r334645, copy source) >> +++ head/usr.sbin/pmc/cmd_pmc_filter.cc Tue Jun 5 04:26:40 2018 = (r334647) >> @@ -68,11 +68,22 @@ __FBSDID("$FreeBSD$"); >> #include >> #include "cmd_pmc.h" >>=20 >> +#include >> . . . >=20 > I don't think anybody has yet tested building libc++ headers with the > combination of recent gcc, -Wsystem-headers, and -Werror. :) >=20 > For now, try disabling -Wredundant-decls. >=20 ci.freebsd.org 's FreeBSD-head-amd64-gcc #5973 ( -r334645 ) is the last build that worked. #5973 ( -r334647 ) is the first that failed. Maybe pmc forces -Werror and/or -Wredundant-decls since its new use of include is what seems to matter for the failure. But, prior to that additional include, FreeBSD-head-amd64-gcc was building fine on ci.freebsd.org . (I have no control over ci.freebsd.org builds, which is the context I reported the problem for.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-toolchain@freebsd.org Tue Jun 5 19:29:42 2018 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A648FF38BF for ; Tue, 5 Jun 2018 19:29:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-4.consmr.mail.bf2.yahoo.com (sonic301-4.consmr.mail.bf2.yahoo.com [74.6.129.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 29E7D6E095 for ; Tue, 5 Jun 2018 19:29:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: iq2Z5BIVM1mZTHjZlc7nJmXqYkpCG1B9XtJF5XSeRytlNheUFrYDpLxmMRH_HLV iE_3pppNpEMxIW4vtIABnMIrz.DXd88ROHzC3OXaA7RDMrM6sMP.zq_JeE.I56KzWh449ORtRINH Ja9GdlulCW9AfUOjdfYkl3AvBDR12icuXhVft0jUs2QmHSC_aTDN4O8SkHDyx7adwb6XcfWIvG.O _0mc__A.no6M72jzYz0uRkO3awFT6ka7X_evwqqP9R851seGDjVADWn7m9vTJOZjaOHhhVhEflO_ QsuBAJZ8McNKPWMvwsBjBqfi3q.VXNCKcbwVS5nY1_ob8sAtKlO3VoaIucL9L7JjG4.ULccQ3k3x p.7vzh40Lv.LUDrA_zOZj9WhdU1lNDfUVFD6UzSf.UaFLzhCQ6fGLQYpeqIyMfUmBqlKRnofThmq 47u7mQjnUVkPH9j7YL6BhInFmpC.c1G1SUuNwqx.Wi0yAGVk5OPo1LcQIXNb0Z8aDukGHjtCnnXQ sF28ouqnklDhVb3dXqY3F1xmqI1Mxpv7cCKT.959aBk5w5F04sPyCNFmyeUfmWVRVmMnDC0OJSfQ WQvtfFvZO3HLOffsxKMEbkzhyT5o8_moI.S79_uEe5P6aE5Mwc7q8FY3.8GjFyYF0VmcAd0Fdjj0 KcLcvxEoWeBjlhU6fvXJ.rAGnVlY5mpNzuhQ6R4IKmy.OdlMI_64tdidFvVzB2yYWZMj048ygfIu 3VeTlIQ45SNo4mRnvabONbnJ3ntYZWMGy_gIIRSAEx5dZg0OeHvjBzOrHNsNqi85zzxImrnZafll oMTAr7BO5FgQyA0vEIxs5f60ZgozzFTP5KPWdaanLB_5PkgSm3XZmL158zYXtPZhT.1VQ5vBLuB1 3ovMBBHADzQvd9Bldj6ZGuo7dJ2LtoKe_Ao1eZjuHFcO_s_0VA9anVcepkKcdrxW_ti8mE6gSkex xmes- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Tue, 5 Jun 2018 19:29:36 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.109]) ([70.189.131.151]) by smtp429.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 18a102f98ad2ecbe943be09bf0f7dd00; Tue, 05 Jun 2018 19:29:35 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Subject: Re: svn commit: r334647 - in head: . . . [this broke ci.freebsd.org's FreeBSD-head-amd64-gcc build but via an include/c++/v1/ problem] From: Mark Millard In-Reply-To: <317A4775-F397-4C54-9DE4-2FCD5E53D5B2@yahoo.com> Date: Tue, 5 Jun 2018 12:29:24 -0700 Cc: svn-src-head@freebsd.org, freebsd-toolchain@freebsd.org, mmacy@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: <8BFF241F-84C2-4C1F-86DC-3F9118A1ED7B@yahoo.com> References: <5D1C2920-2206-4602-BD2D-D1298E5D62EE@yahoo.com> <39385E73-A75B-4E61-91D3-4CA86252AEDA@FreeBSD.org> <317A4775-F397-4C54-9DE4-2FCD5E53D5B2@yahoo.com> To: Dimitry Andric X-Mailer: Apple Mail (2.3445.8.2) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jun 2018 19:29:42 -0000 [Just fixing a dumb typo in a build number.] On 2018-Jun-5, at 12:22 PM, Mark Millard wrote: > On 2018-Jun-5, at 10:49 AM, Dimitry Andric wrote: >=20 >> On 5 Jun 2018, at 15:03, Mark Millard via freebsd-toolchain = wrote: >>>=20 >>> https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/5974/consoleText = shows: >>>=20 >>> --- all_subdir_usr.sbin/pmc --- >>> In file included from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ios:216:0,= >>> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/iostream:3= 8, >>> from /workspace/src/usr.sbin/pmc/cmd_pmc_filter.cc:71: >>> = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale: = At global scope: >>> = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale:1= 237:40: error: redundant redeclaration of 'void = std::__1::__throw_runtime_error(const char*)' in same scope = [-Werror=3Dredundant-decls] >>> _LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_runtime_error(const = char*); >>> ^~~~~~~~~~~~~~~~~~~~~ >>> In file included from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/memory:663= :0, >>> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/algorithm:= 643, >>> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__string:5= 6, >>> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/string_vie= w:176, >>> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/string:477= , >>> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/__locale:1= 5, >>> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/ios:216, >>> from = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/iostream:3= 8, >>> from /workspace/src/usr.sbin/pmc/cmd_pmc_filter.cc:71: >>> = /workspace/obj/workspace/src/amd64.amd64/tmp/usr/include/c++/v1/stdexcept:= 186:40: note: previous declaration of 'void = std::__1::__throw_runtime_error(const char*)' >>> _LIBCPP_NORETURN _LIBCPP_FUNC_VIS void __throw_runtime_error(const = char*); >>> ^~~~~~~~~~~~~~~~~~~~~ >>>=20 >>>=20 >>> It looks like the new #include of iostream brings in code that gcc = rejected above: >>>=20 >>> --- head/usr.sbin/pmc/cmd_pmc_filter.c Mon Jun 4 23:17:18 2018 = (r334645, copy source) >>> +++ head/usr.sbin/pmc/cmd_pmc_filter.cc Tue Jun 5 04:26:40 2018 = (r334647) >>> @@ -68,11 +68,22 @@ __FBSDID("$FreeBSD$"); >>> #include >>> #include "cmd_pmc.h" >>>=20 >>> +#include >>> . . . >>=20 >> I don't think anybody has yet tested building libc++ headers with the >> combination of recent gcc, -Wsystem-headers, and -Werror. :) >>=20 >> For now, try disabling -Wredundant-decls. >>=20 >=20 > ci.freebsd.org 's FreeBSD-head-amd64-gcc #5973 ( -r334645 ) is > the last build that worked. #5973 ( -r334647 ) is the first that > failed. Fixing the repeated build number (the 2nd should have been #5974 ) . . . #5973 ( -r334645 ) and a bunch before worked #5974 ( -r334647 ) and later failed (so far) > Maybe pmc forces -Werror and/or -Wredundant-decls since its new > use of include is what seems to matter for the failure. >=20 > But, prior to that additional include, FreeBSD-head-amd64-gcc was > building fine on ci.freebsd.org . >=20 >=20 > (I have no control over ci.freebsd.org builds, which is the > context I reported the problem for.) >=20 >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)