1 |
On May 30, 2017 12:56:18 PM GMT+02:00, Mick <michaelkintzios@×××××.com> wrote: |
2 |
>I tried to change the kernel config file and then rebuild the kernel, |
3 |
>but it |
4 |
>fails like this on two up to date stable systems: |
5 |
> |
6 |
># make && make modules_install && make firmware_install |
7 |
> HOSTCC scripts/kconfig/conf.o |
8 |
> HOSTLD scripts/kconfig/conf |
9 |
>scripts/kconfig/conf --silentoldconfig Kconfig |
10 |
> HOSTCC arch/x86/tools/relocs_32.o |
11 |
> HOSTCC arch/x86/tools/relocs_64.o |
12 |
> HOSTCC arch/x86/tools/relocs_common.o |
13 |
> HOSTLD arch/x86/tools/relocs |
14 |
> CHK include/config/kernel.release |
15 |
> CHK include/generated/uapi/linux/version.h |
16 |
> CHK include/generated/utsrelease.h |
17 |
> CC arch/x86/purgatory/purgatory.o |
18 |
> AS arch/x86/purgatory/stack.o |
19 |
> AS arch/x86/purgatory/setup-x86_64.o |
20 |
> CC arch/x86/purgatory/sha256.o |
21 |
> AS arch/x86/purgatory/entry64.o |
22 |
> CC arch/x86/purgatory/string.o |
23 |
> LD arch/x86/purgatory/purgatory.ro |
24 |
> BIN2C arch/x86/purgatory/kexec-purgatory.c |
25 |
> CC kernel/bounds.s |
26 |
> CHK include/generated/bounds.h |
27 |
> CHK include/generated/timeconst.h |
28 |
> CC arch/x86/kernel/asm-offsets.s |
29 |
> CHK include/generated/asm-offsets.h |
30 |
> CALL scripts/checksyscalls.sh |
31 |
> DESCEND objtool |
32 |
>make[4]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux- |
33 |
>gnu/4.9.4/include/stddef.h', needed by '/usr/src/linux-4.9.16- |
34 |
>gentoo/tools/objtool/fixdep.o'. Stop. |
35 |
>make[3]: *** [Makefile:42: |
36 |
>/usr/src/linux-4.9.16-gentoo/tools/objtool/fixdep- |
37 |
>in.o] Error 2 |
38 |
>make[2]: *** |
39 |
>[/usr/src/linux-4.9.16-gentoo/tools/build/Makefile.include:4: |
40 |
>fixdep] Error 2 |
41 |
>make[1]: *** [Makefile:60: objtool] Error 2 |
42 |
>make: *** [Makefile:1614: tools/objtool] Error 2 |
43 |
> |
44 |
> |
45 |
># gcc-config -l |
46 |
> [1] x86_64-pc-linux-gnu-5.4.0 * |
47 |
> |
48 |
> |
49 |
>Why is this happening and how can I fix it? Running fix_libtool.sh on |
50 |
>4.9.4 |
51 |
>doesn't change anything. :-/ |
52 |
> |
53 |
>Am I supposed to emerge a later version gentoo-sources to be able to |
54 |
>build a |
55 |
>kernel with gcc-5.4.0? |
56 |
|
57 |
After gcc-config, make sure you run: |
58 |
# env-update |
59 |
# source /etc/profile |
60 |
|
61 |
It looks like something still points to your old compiler. |
62 |
|
63 |
-- |
64 |
Joost |
65 |
-- |
66 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |