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

From: Trond Endrestøl <Trond.Endrestol_at_fagskolen.gjovik.no>
Date: Sun, 18 May 2014 21:22:25 +0200 (CEST)
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.      |
+-------------------------------+------------------------------------+
Received on Sun May 18 2014 - 17:22:32 UTC

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