From owner-freebsd-current@FreeBSD.ORG Sun May 18 19:22:32 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC046FF0 for ; Sun, 18 May 2014 19:22:32 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BEA0243C for ; Sun, 18 May 2014 19:22:31 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.8/8.14.8) with ESMTP id s4IJMQpB093353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 May 2014 21:22:26 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.8/8.14.8/Submit) with ESMTP id s4IJMPeF093350; Sun, 18 May 2014 21:22:25 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Sun, 18 May 2014 21:22:25 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: "O. Hartmann" Subject: Re: r266298: make buildworld fail: fatal error: 'llvm/ADT/APFloat.h' file not found #include "llvm/ADT/APFloat.h" In-Reply-To: <20140517101139.4ed104ef.ohartman@zedat.fu-berlin.de> Message-ID: References: <20140517101139.4ed104ef.ohartman@zedat.fu-berlin.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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, 18 May 2014 19:22:32 -0000 On Sat, 17 May 2014 10:11+0200, O. Hartmann wrote: > With 11.0-CURRENT's sources (r266298) buildworld fails: > > [...] > /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APFloat.cpp:15:10: > fatal error: 'llvm/ADT/APFloat.h' file not found #include "llvm/ADT/APFloat.h" > ^ > 1 error generated. > /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APInt.cpp:16:10: > fatal error: 'llvm/ADT/APInt.h' file not found #include "llvm/ADT/APInt.h" When I upgraded from r265775 to r266393 earlier today, I had to empty /usr/obj and recompile world+kernel on my three base/head VMs. It's worth a try, although it robs you of precious time. I believe the introduction of clang 3.4.1 is the culprit. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-current@FreeBSD.ORG Sun May 18 20:08:12 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C0538A83 for ; Sun, 18 May 2014 20:08:12 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A33427A9 for ; Sun, 18 May 2014 20:08:12 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1Wm7NS-002BZK-3I>; Sun, 18 May 2014 22:08:10 +0200 Received: from g231190095.adsl.alicedsl.de ([92.231.190.95] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1Wm7NR-002ALI-S0>; Sun, 18 May 2014 22:08:10 +0200 Date: Sun, 18 May 2014 22:08:01 +0200 From: "O. Hartmann" To: Trond =?ISO-8859-1?Q?Endrest=F8l?= Subject: Re: r266298: make buildworld fail: fatal error: 'llvm/ADT/APFloat.h' file not found #include "llvm/ADT/APFloat.h" Message-ID: <20140518220801.7bc20aa0.ohartman@zedat.fu-berlin.de> In-Reply-To: References: <20140517101139.4ed104ef.ohartman@zedat.fu-berlin.de> Organization: FU Berlin X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/ierSXfCr+B8mitidpDtkaFf"; protocol="application/pgp-signature" X-Originating-IP: 92.231.190.95 X-ZEDAT-Hint: A Cc: FreeBSD CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 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, 18 May 2014 20:08:12 -0000 --Sig_/ierSXfCr+B8mitidpDtkaFf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am Sun, 18 May 2014 21:22:25 +0200 (CEST) Trond Endrest=F8l schrieb: > On Sat, 17 May 2014 10:11+0200, O. Hartmann wrote: >=20 > > With 11.0-CURRENT's sources (r266298) buildworld fails: > >=20 > > [...] > > /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/APF= loat.cpp:15:10: > > fatal error: 'llvm/ADT/APFloat.h' file not found #include "llvm/ADT/APF= loat.h" > > ^ > > 1 error generated. > > /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/API= nt.cpp:16:10: > > fatal error: 'llvm/ADT/APInt.h' file not found #include "llvm/ADT/APInt= .h" >=20 > When I upgraded from r265775 to r266393 earlier today, I had to empty=20 > /usr/obj and recompile world+kernel on my three base/head VMs. >=20 > It's worth a try, although it robs you of precious time. > I believe the introduction of clang 3.4.1 is the culprit. >=20 Hello. When I do a buildworld, the first step I do is to delete /usr/obj. So I sta= rt with a clean folder. The culprit wasn't clang 3.4.1, it was CXXFLAGS+=3D in /etc/src.conf and it= s setting wasn't done as expected due to a problem in local.sys.mk, if I understood Warner L= osh correct. Regards, Oliver --Sig_/ierSXfCr+B8mitidpDtkaFf Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTeRMoAAoJEOgBcD7A/5N8C/gH/RyC+pd6/oBLeSL4w36L3PL7 JRe0P9ZlmrdUIByD9BahDnxfwVgkftjqbQTIwvx8L5V1ylrtA7qK6yp9qia5su0F MjMroGGNaBWpz0ZtHOom/Hx3zCUFe8y2RSjEFEDOIdVJOXD9iSUiy3/MWa7DHn3r 9m+5pn2NnnZsvjE3x1XXfGJ/Y4vmIIkP/TZtwiXncG/ukSQKHkOIWeBds013mKlU wB6/avSTZOvplQknCbaaNHsHceKMKJLZPdEnUIF5LTCuqPHJA1w5Zf5srjYsO9/4 ZXFJIJic86ztv8Vsi1HqxbFuTeej5+ACY+ax5HNaomjYv2kZIFYBNAlDVgXSRvg= =viZS -----END PGP SIGNATURE----- --Sig_/ierSXfCr+B8mitidpDtkaFf--