r266298: make buildworld fail: fatal error: 'llvm/ADT/APFloat.h' file not found #include "llvm/ADT/APFloat.h"
O. Hartmann
ohartman at zedat.fu-berlin.de
Sun May 18 20:08:12 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140518/3b49f931/attachment.sig>
More information about the freebsd-current
mailing list