From owner-freebsd-current@freebsd.org Mon Feb 13 22:14:41 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2CB9CCDEBD8 for ; Mon, 13 Feb 2017 22:14:41 +0000 (UTC) (envelope-from rionda@gmail.com) Received: from mail-qt0-x230.google.com (mail-qt0-x230.google.com [IPv6:2607:f8b0:400d:c0d::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D6C98EEF; Mon, 13 Feb 2017 22:14:40 +0000 (UTC) (envelope-from rionda@gmail.com) Received: by mail-qt0-x230.google.com with SMTP id x49so96134765qtc.2; Mon, 13 Feb 2017 14:14:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=8H8LLxHoNWL9Fx+8AUyXGyN9uW5B2hM0FDqLji3QF40=; b=U6ywW2ivBBVf0AmCDCvDGLoxZZdw1jRKKmcOXTStixLh2eLh0egAcWYffEggl/ZzkP 7Q5cUXXkSmfSTxzt87AFi0nC2oI18seTlZtTCANszDRD2y/qd8edHijFpJxX/xai5TUx y9OWgFrOIfpHB3Kzk4MZ3u+2AD/VfoGGCtm/1tgVWENLMHh8T38xrrAMd9exgHmsnHrO M7Ii6ce1oe/STt444sE/7upq5K23KnXqzVdd+LE/z+Gy6uMXuS2GKairg0PYxjdWYG7n wDo3YbDpcbQ2/u39Gx+e6o7BuRVd+BaG5or681aiCC4MaxvIBMvT7ItxpGWcoHnk6zIe EjMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=8H8LLxHoNWL9Fx+8AUyXGyN9uW5B2hM0FDqLji3QF40=; b=sbZaKl2Q9wodshBoVfjBv63o8c/hizhY5hQw0ip+H4jnYKEeUjAjk0JGDHcowkt2yu UtuvBJvuURcGAVz+DP9OSjvuoT3+Fb7yaL22RAaVqnwX6LH1jXAzKkyeVNmsekYESerj KodQtTGef+UK8VlA6cEvdXrPUl8PXvHImwn4jP6iy+LJP0Nyq6ldBNy3iQvuKR/7oeip cKNDjeDFeUkT/SPkNUx1Q/4HwmWv/YewsGJ08P7SFJJnTLhGp5kEohpWIcCZY/6IJkJW B2ERunPtVRxOuHqH3meEqCZIi22xEBe481kLILoCzdJ3+alCcZNtihKpw++6LOeJLL0H WVbw== X-Gm-Message-State: AMke39kD5+7eIxzkZ3UvMuD+LKsDBEkuoXLpkTRDqKeSi1YMmltK7CGwJagy0xqupwfAAA== X-Received: by 10.200.34.146 with SMTP id f18mr25656930qta.39.1487024079701; Mon, 13 Feb 2017 14:14:39 -0800 (PST) Received: from [172.31.30.181] (gzac12-mdf2-1.aoa.twosigma.com. [208.77.215.155]) by smtp.gmail.com with ESMTPSA id y189sm8360356qky.39.2017.02.13.14.14.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Feb 2017 14:14:38 -0800 (PST) Sender: Matteo Riondato From: Matteo Riondato Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_C6D479AC-EA73-4B51-B865-37F9489F3D5B"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: build with WITHOUT_GPL_DTC=y broken? Date: Mon, 13 Feb 2017 17:14:37 -0500 In-Reply-To: <71CFCEB9-6ED9-4278-A465-2BCB359A390A@FreeBSD.org> Cc: FreeBSD Current To: Dimitry Andric References: <065D64EE-D742-4E09-A3C0-658FE7020DC6@FreeBSD.org> <6515122C-B831-4EC5-9B59-F258C41E87A9@FreeBSD.org> <140BB2A6-31CD-4847-89B0-D83BB3B4CB27@FreeBSD.org> <71CFCEB9-6ED9-4278-A465-2BCB359A390A@FreeBSD.org> X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2017 22:14:41 -0000 --Apple-Mail=_C6D479AC-EA73-4B51-B865-37F9489F3D5B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Feb 13, 2017, at 3:57 PM, Dimitry Andric wrote: >=20 > On 13 Feb 2017, at 20:27, Matteo Riondato wrote: >>=20 >>> On Feb 13, 2017, at 1:58 PM, Dimitry Andric wrote: >>> On 13 Feb 2017, at 16:53, Matteo Riondato = wrote: >>>>=20 >>>> When I build world with WITHOUT_GPL_DTC=3Dy in src.conf (complete = file after the error) I get the following error in stage 1.2: bootstrap = tools. This is not a recent breakage, I=E2=80=99ve experienced it for a = while. >>>>=20 >>>> =3D=3D=3D> usr.bin/dtc (obj,all,install) >>>> /usr/obj/usr/src/tmp/usr/src/usr.bin/dtc created for = /usr/src/usr.bin/dtc >>>> echo dtc: /usr/lib/libc.a = /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend >>>> echo dtc: /usr/lib/libc++.a >> .depend >>>> c++ -O2 -pipe -DNDEBUG -MD -MF.depend.dtc.o -MTdtc.o = -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 = -fno-rtti -fno-exceptions -Wno-c++11-extensions -c = /usr/src/usr.bin/dtc/dtc.cc -o dtc.o >>>> c++ -O2 -pipe -DNDEBUG -MD -MF.depend.input_buffer.o = -MTinput_buffer.o -Qunused-arguments = -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3Dc++11 -fno-rtti = -fno-exceptions -Wno-c++11-extensions -c = /usr/src/usr.bin/dtc/input_buffer.cc -o input_buffer.o >>>> /usr/src/usr.bin/dtc/input_buffer.cc:547:53: error: type = 'dtc::(anonymous namespace)::expression' is not a direct or virtual base = of 'binary_operator' >>>> binary_operator(source_location l, const char *) : = expression(l) {} >>>> ^~~~~~~~~~ >>>=20 >>> Which FreeBSD version are you running on the host? I've just tried >>> building head/usr.bin/dtc on 12-CURRENT, 11-STABLE and 10-STABLE, = but it >>> all works just fine for me. >>=20 >> Very interesting. I=E2=80=99m using 12.0-CURRENT #2 r313159. >>=20 >> I even did two 'make cleandir' in /usr/src and removed /usr/obj/ , = and still it does not compile. >=20 > I see now, this is because you are using WITHOUT_ASSERT_DEBUG. This > adds -DNDEBUG to CFLAGS, and apparently you are the first person to = hit > this NDEBUG-only code. :) >=20 > I committed a fix in r313709. Thank you! Matteo --Apple-Mail=_C6D479AC-EA73-4B51-B865-37F9489F3D5B 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----- iQIcBAEBCAAGBQJYoi/NAAoJEJ/Xw+PLA1GfEOwP/R/RFT9S0n8amV6dRWttK5vW UH+DZMYEXhd9nX+9Oe/uZn0IFdg26idfhCKcMUM4qRe6vjb0/tPnyFCHcoKbF0NY jcUx/XhJBA3t8rHuu61bJvS7Z30qdOtF0sJcc2KcEOsSufgV5a6assYGS64s6fJg HWqjJlE677Ua1M9BRW6809xIZgIiTA6PTUnEY897YcsBcBaptXSFhLkaLPU+LM+/ TSONDesSe6VabIh+EnSuX2eiaeBbhD87EYKeyxR8GiyEal0fXn21Yh2sP4gWOR1w cALefFPGkM+78SfsURFv3xW4UK5Wi+76L1fUNa95ynDTd9xRZbL2yeO9GbEsFc4Z Uj+AqEBpzYVeEMAxKxJDe2uuG/ttFEIHSuRJ7058+DJSPDBELv8HNoG10XjFtV2U uhC3YyEjq40gFKhZBSUfL4ZZSY9W1PYrgDoPmkNaI4tpv+G7ExARYcvJDeZ7bVwz 0633ENmJe18foMU58KiHFNEf1ndomg4S92dLfdQ1uI+IvvkEA5BpHUREj41CAgom qAiS7s7B71T0lLMeMp0QI5D9UpIjRYVi+enX5v/BVCjkjFV/C+l31mEpSCJfvI1t idTAp4d9E14y15od3RxoNiTAnMGjIzqAreeOz6oQz6oSG3EjwcZYNWObNXBbN4C2 2xG8ZINhP1N7XRoOf2oq =Q8E+ -----END PGP SIGNATURE----- --Apple-Mail=_C6D479AC-EA73-4B51-B865-37F9489F3D5B--