Gentoo Archives: gentoo-user

From: Miles Malone <m.malone@××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] "No rule to make target" gcc 9.3.0 error
Date: Tue, 19 Oct 2021 01:53:46
Message-Id: CAM8Dd_21x-d9qgH0-ZDtyHB5Fqrp6aodXasgdbu47K+hQc+vKA@mail.gmail.com
In Reply to: [gentoo-user] "No rule to make target" gcc 9.3.0 error by Walter Dnes
1 Select a version of gcc you do have, using gcc-config. Then rebuild
2 libtool, and continue. GCC 9.3.0 doesnt exist because it's been
3 replaced in the gcc9 branch by GCC 9.4.0. You could choose to stick
4 to GCC9, or move to 10 or 11.
5
6 On Tue, 19 Oct 2021 at 11:48, Walter Dnes <waltdnes@××××××××.org> wrote:
7 >
8 > Rebuilding the kernel...
9 >
10 > [thimk2][root][/usr/src/linux] ../makeover
11 > HOSTCC scripts/kconfig/conf.o
12 > HOSTLD scripts/kconfig/conf
13 > scripts/kconfig/conf --syncconfig Kconfig
14 > HOSTCC arch/x86/tools/relocs_32.o
15 > HOSTCC arch/x86/tools/relocs_64.o
16 > HOSTCC arch/x86/tools/relocs_common.o
17 > HOSTLD arch/x86/tools/relocs
18 > HOSTCC scripts/kallsyms
19 > HOSTCC scripts/conmakehash
20 > HOSTCC scripts/sortextable
21 > HOSTCC scripts/asn1_compiler
22 > HOSTCC scripts/extract-cert
23 > CC scripts/mod/empty.o
24 > HOSTCC scripts/mod/mk_elfconfig
25 > MKELF scripts/mod/elfconfig.h
26 > HOSTCC scripts/mod/modpost.o
27 > CC scripts/mod/devicetable-offsets.s
28 > HOSTCC scripts/mod/file2alias.o
29 > HOSTCC scripts/mod/sumversion.o
30 > HOSTLD scripts/mod/modpost
31 > CC kernel/bounds.s
32 > CC arch/x86/kernel/asm-offsets.s
33 > CALL scripts/checksyscalls.sh
34 > CALL scripts/atomic/check-atomics.sh
35 > DESCEND objtool
36 > make[4]: *** No rule to make target '/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/stddef.h', needed by '/usr/src/linux-5.4.97-gentoo/tools/objtool/fixdep.o'. Stop.
37 > make[3]: *** [Makefile:39: /usr/src/linux-5.4.97-gentoo/tools/objtool/fixdep-in.o] Error 2
38 > make[2]: *** [/usr/src/linux-5.4.97-gentoo/tools/build/Makefile.include:5: fixdep] Error 2
39 > make[1]: *** [Makefile:67: objtool] Error 2
40 > make: *** [Makefile:1830: tools/objtool] Error 2
41 >
42 > gcc-9.3.0 is nowhere to be found. It's not in the tree, so I can't
43 > pull it in. Now What?
44 >
45 > --
46 > Walter Dnes <waltdnes@××××××××.org>
47 > I don't run "desktop environments"; I run useful applications
48 >

Replies

Subject Author
Re: [gentoo-user] "No rule to make target" gcc 9.3.0 error Walter Dnes <waltdnes@××××××××.org>