1 |
2016-07-20 17:37 GMT+08:00 Felix Janda <felix.janda@××××××.de>: |
2 |
> Lei Zhang wrote: |
3 |
>> Hi, |
4 |
>> |
5 |
>> I just built a stage4 from the vanilla musl stage3, with clang as the |
6 |
>> default compiler and all packages rebuilt with clang. |
7 |
>> |
8 |
>> Now I was trying to build Linux kernel in this stage4, but failed with |
9 |
>> certain errors. To name one of them: |
10 |
>> |
11 |
>> Documentation/misc-devices/mei/mei-amt-version.c:76:27: fatal error: |
12 |
>> bits/wordsize.h: No such file or directory |
13 |
> |
14 |
> https://bugs.gentoo.org/show_bug.cgi?id=588270 |
15 |
> |
16 |
> TL;DR just disable BUILD_DOCSRC. |
17 |
|
18 |
It works. Thanks! |
19 |
|
20 |
The kernel config even automatically picks gcc, so I don't need to |
21 |
worry about using clang as the system-wide default compiler :) |
22 |
|
23 |
|
24 |
Lei |