On 10/19/2021 7:32 AM, Walter Dnes wrote:
On Tue, Oct 19, 2021 at 11:53:28AM +1000, Miles Malone wrote
Select a version of gcc you do have, using gcc-config.  Then rebuild
libtool, and continue.  GCC 9.3.0 doesnt exist because it's been
replaced in the gcc9 branch by GCC 9.4.0.  You could choose to stick
to GCC9, or move to 10 or 11.
   Re-emerging sys-devel/libtool doesn't work.  I've only got gcc 10 and
11.  9 isn't in the tree.  After rebuilding libtool I still get...

[thimk2][root][/usr/src/linux] ../makeover
   CALL    scripts/checksyscalls.sh
   CALL    scripts/atomic/check-atomics.sh
   DESCEND  objtool
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.
make[3]: *** [Makefile:39: 
/usr/src/linux-5.4.97-gentoo/tools/objtool/fixdep-in.o] Error 2
make[2]: *** [/usr/src/linux-5.4.97-gentoo/tools/build/Makefile.include:5: 
fixdep] Error 2
make[1]: *** [Makefile:67: objtool] Error 2
make: *** [Makefile:1830: tools/objtool] Error 2

   Is there a way to pull an old gcc ebuild into my tree?


This may be overkill but:

1.  Copy your .config out of /usr/src/linux

2. make mrproper

3. Copy back your .config

4. make oldconfig


Reply via email to