From owner-freebsd-current@freebsd.org Sun Mar 12 01:46:45 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 0DDE5D0673D for ; Sun, 12 Mar 2017 01:46:45 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C266F1043; Sun, 12 Mar 2017 01:46:44 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id msanc4TKJsa1kmsaocJd4y; Sat, 11 Mar 2017 18:46:42 -0700 X-Authority-Analysis: v=2.2 cv=W+NIbVek c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=kj9zAlcOel0A:10 a=6Iz7jQTuP9IA:10 a=6I5d2MoRAAAA:8 a=pGLkceISAAAA:8 a=YxBL1-UpAAAA:8 a=blgQG4KcO5sFK1PDQnoA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=6kGIvZw6iX1k4Y-7sg4_:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 36555377; Sat, 11 Mar 2017 17:46:41 -0800 (PST) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id v2C1keSL088648; Sat, 11 Mar 2017 17:46:40 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201703120146.v2C1keSL088648@slippy.cwsent.com> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Dimitry Andric cc: Roberto Rodriguez Jr , Cy Schubert , FreeBSD Current Subject: Re: buildworld error In-Reply-To: Message from Dimitry Andric of "Sun, 12 Mar 2017 02:04:14 +0100." <5CB065B0-5A7D-4A50-A722-8EA579A67188@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 11 Mar 2017 17:46:40 -0800 X-CMAE-Envelope: MS4wfG3D+JpaJeRn3/gy0aLDTRNMF3SNLj/jxnSZHk1fI0uz5SbMKQl5v3qrFezd5jil3u7er35HrqUclrBgirLVoeJBxEyFzRZveJXPyu2bdD4/MeNdQTR+ zk3HntajCzktTs1ldgNv4rVeJb29Am8EmvpMNwC9JVZAtkuyBvIg86CIj6NJkriEyZEWCBx43bTqML913GdZFMX5pJbp0g0KiTl166CSlHf3NHCA8FirXImi NOElSfxuw2N4GZ6pFDDoww== 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: Sun, 12 Mar 2017 01:46:45 -0000 In message <5CB065B0-5A7D-4A50-A722-8EA579A67188@FreeBSD.org>, Dimitry Andric w rites: > > > --Apple-Mail=_A0AD1F4B-1279-4DA7-85F9-FB9846A878D7 > Content-Transfer-Encoding: quoted-printable > Content-Type: text/plain; > charset=us-ascii > > On 12 Mar 2017, at 01:55, Roberto Rodriguez Jr = > wrote: > >=20 > > Now... > > make buildworld > ... > > In file included from /usr/src/contrib/llvm/lib/Support/APInt.cpp:15: > > In file included from = > /usr/src/contrib/llvm/include/llvm/ADT/APInt.h:20: > > In file included from > > /usr/src/contrib/llvm/include/llvm/Support/MathExtras.h:19: > > In file included from /usr/include/c++/v1/algorithm:634: > > In file included from /usr/include/c++/v1/memory:604: > > /usr/include/c++/v1/new:73:10: fatal error: '__undef___deallocate' = > file not > > found > > #include <__undef___deallocate> > > ^ > > Yes, this is because of the bad advice to run "make delete-old" before > you had run "make installworld". You had an older version of libc++ in > /usr/include/c++, but that still required the __undef___deallocate > header, which has now been deleted by "make delete-old". > > Your best chance is to build and install libc++ first, if possible, by > doing: > > cd /usr/src/lib/libc++ > make obj > make depend > make > make install > > Then retry building world. If this actually fixes it, it (the build) is wrong. You shouldn't have to build and install src in order to build another part of src. The procedure has always been documented as make installworld first then make delete-old. Failing to do so will on rare occasions bite you when building a port. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.