Gentoo Archives: gentoo-user

From: Todd Goodman <tsg@×××××××××.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 11:47:12
Message-Id: 6d03af6b-73c0-c985-297c-39519019ba2d@bonedaddy.net
In Reply to: Re: [gentoo-user] "No rule to make target" gcc 9.3.0 error by Walter Dnes
1 On 10/19/2021 7:32 AM, Walter Dnes wrote:
2 > On Tue, Oct 19, 2021 at 11:53:28AM +1000, Miles Malone wrote
3 >> Select a version of gcc you do have, using gcc-config. Then rebuild
4 >> libtool, and continue. GCC 9.3.0 doesnt exist because it's been
5 >> replaced in the gcc9 branch by GCC 9.4.0. You could choose to stick
6 >> to GCC9, or move to 10 or 11.
7 > Re-emerging sys-devel/libtool doesn't work. I've only got gcc 10 and
8 > 11. 9 isn't in the tree. After rebuilding libtool I still get...
9 >
10 > [thimk2][root][/usr/src/linux] ../makeover
11 > CALL scripts/checksyscalls.sh
12 > CALL scripts/atomic/check-atomics.sh
13 > DESCEND objtool
14 > 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.
15 > make[3]: *** [Makefile:39: /usr/src/linux-5.4.97-gentoo/tools/objtool/fixdep-in.o] Error 2
16 > make[2]: *** [/usr/src/linux-5.4.97-gentoo/tools/build/Makefile.include:5: fixdep] Error 2
17 > make[1]: *** [Makefile:67: objtool] Error 2
18 > make: *** [Makefile:1830: tools/objtool] Error 2
19 >
20 > Is there a way to pull an old gcc ebuild into my tree?
21
22
23 This may be overkill but:
24
25 1.  Copy your .config out of /usr/src/linux
26
27 2. make mrproper
28
29 3. Copy back your .config
30
31 4. make oldconfig

Replies

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