Re: r266298: make buildworld fail: fatal error: 'llvm/ADT/APFloat.h' file not found #include "llvm/ADT/APFloat.h"

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Sun, 18 May 2014 22:08:01 +0200
Am Sun, 18 May 2014 21:22:25 +0200 (CEST)
Trond Endrestøl <Trond.Endrestol_at_fagskolen.gjovik.no> schrieb:

> 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.
> 

Hello.

When I do a buildworld, the first step I do is to delete /usr/obj. So I start with a
clean folder.

The culprit wasn't clang 3.4.1, it was CXXFLAGS+= in /etc/src.conf and its setting wasn't
done as expected due to a problem in local.sys.mk, if I understood Warner Losh correct.

Regards,

Oliver

Received on Sun May 18 2014 - 18:08:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:49 UTC