Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2014 21:22:25 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: r266298: make buildworld fail: fatal error: 'llvm/ADT/APFloat.h' file not found #include "llvm/ADT/APFloat.h"
Message-ID:  <alpine.BSF.2.00.1405182117590.27459@mail.fig.ol.no>
In-Reply-To: <20140517101139.4ed104ef.ohartman@zedat.fu-berlin.de>
References:  <20140517101139.4ed104ef.ohartman@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <owner-freebsd-current@FreeBSD.ORG>
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 <freebsd-current@freebsd.org>; 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 <freebsd-current@freebsd.org>; 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 <ohartman@zedat.fu-berlin.de>)
 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 <ohartman@zedat.fu-berlin.de>)
 id <1Wm7NR-002ALI-S0>; Sun, 18 May 2014 22:08:10 +0200
Date: Sun, 18 May 2014 22:08:01 +0200
From: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To: Trond =?ISO-8859-1?Q?Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
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: <alpine.BSF.2.00.1405182117590.27459@mail.fig.ol.no>
References: <20140517101139.4ed104ef.ohartman@zedat.fu-berlin.de>
 <alpine.BSF.2.00.1405182117590.27459@mail.fig.ol.no>
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 <freebsd-current@freebsd.org>
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
 <mailto:freebsd-current-request@freebsd.org?subject=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 <Trond.Endrestol@fagskolen.gjovik.no> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1405182117590.27459>