1 |
I tried to change the kernel config file and then rebuild the kernel, but it |
2 |
fails like this on two up to date stable systems: |
3 |
|
4 |
# make && make modules_install && make firmware_install |
5 |
HOSTCC scripts/kconfig/conf.o |
6 |
HOSTLD scripts/kconfig/conf |
7 |
scripts/kconfig/conf --silentoldconfig Kconfig |
8 |
HOSTCC arch/x86/tools/relocs_32.o |
9 |
HOSTCC arch/x86/tools/relocs_64.o |
10 |
HOSTCC arch/x86/tools/relocs_common.o |
11 |
HOSTLD arch/x86/tools/relocs |
12 |
CHK include/config/kernel.release |
13 |
CHK include/generated/uapi/linux/version.h |
14 |
CHK include/generated/utsrelease.h |
15 |
CC arch/x86/purgatory/purgatory.o |
16 |
AS arch/x86/purgatory/stack.o |
17 |
AS arch/x86/purgatory/setup-x86_64.o |
18 |
CC arch/x86/purgatory/sha256.o |
19 |
AS arch/x86/purgatory/entry64.o |
20 |
CC arch/x86/purgatory/string.o |
21 |
LD arch/x86/purgatory/purgatory.ro |
22 |
BIN2C arch/x86/purgatory/kexec-purgatory.c |
23 |
CC kernel/bounds.s |
24 |
CHK include/generated/bounds.h |
25 |
CHK include/generated/timeconst.h |
26 |
CC arch/x86/kernel/asm-offsets.s |
27 |
CHK include/generated/asm-offsets.h |
28 |
CALL scripts/checksyscalls.sh |
29 |
DESCEND objtool |
30 |
make[4]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux- |
31 |
gnu/4.9.4/include/stddef.h', needed by '/usr/src/linux-4.9.16- |
32 |
gentoo/tools/objtool/fixdep.o'. Stop. |
33 |
make[3]: *** [Makefile:42: /usr/src/linux-4.9.16-gentoo/tools/objtool/fixdep- |
34 |
in.o] Error 2 |
35 |
make[2]: *** [/usr/src/linux-4.9.16-gentoo/tools/build/Makefile.include:4: |
36 |
fixdep] Error 2 |
37 |
make[1]: *** [Makefile:60: objtool] Error 2 |
38 |
make: *** [Makefile:1614: tools/objtool] Error 2 |
39 |
|
40 |
|
41 |
# gcc-config -l |
42 |
[1] x86_64-pc-linux-gnu-5.4.0 * |
43 |
|
44 |
|
45 |
Why is this happening and how can I fix it? Running fix_libtool.sh on 4.9.4 |
46 |
doesn't change anything. :-/ |
47 |
|
48 |
Am I supposed to emerge a later version gentoo-sources to be able to build a |
49 |
kernel with gcc-5.4.0? |
50 |
-- |
51 |
Regards, |
52 |
Mick |