Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel compiling searches for gcc 9.2.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
TomaLars
n00b
n00b


Joined: 30 Jul 2019
Posts: 22

PostPosted: Sat Apr 25, 2020 3:32 pm    Post subject: Kernel compiling searches for gcc 9.2.0 Reply with quote

Hi Gentoonians,

I have done some updates to my kernel 5.4.28 and when I run make I get the following error and the compling process stops.
Code:
make[4]: ***  Nessuna regola per generare l'obiettivo "/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/stddef.h", necessario per "/usr/src/linux-5.4.28-gentoo/tools/objtool/fixdep.o".  Arresto.
make[3]: *** [Makefile:43: /usr/src/linux-5.4.28-gentoo/tools/objtool/fixdep-in.o] Error 2
make[2]: *** [/usr/src/linux-5.4.28-gentoo/tools/build/Makefile.include:5: fixdep] Error 2
make[1]: *** [Makefile:67: objtool] Error 2
make: *** [Makefile:1795: tools/objtool] Error 2
make: *** Attesa per i processi non terminati....

Basically it doesn't find gcc 9.2.0.
This is why I have updated the system and now I have gcc 9.3.0 installed and, as explained in Upgrading GCC, I have unmerged gcc 9.2.0.

I am sure there is some flag or similar to set but I don't find any guide online.
Can somebody give me a suggestion?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24067
Location: here

PostPosted: Sat Apr 25, 2020 4:09 pm    Post subject: Reply with quote

You tried with a make clean?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5452

PostPosted: Sat Apr 25, 2020 4:47 pm    Post subject: Reply with quote

Greetings,

what is the output of
Code:
gcc-config -l

?
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Back to top
View user's profile Send private message
TomaLars
n00b
n00b


Joined: 30 Jul 2019
Posts: 22

PostPosted: Sat Apr 25, 2020 7:44 pm    Post subject: Reply with quote

Hi fedeliallalinea and DaggyStyle,

before to post my message I did a check regarding gcc and the output is only
Code:
tomalars@DellXPS /usr/src/linux $ gcc-config -l
 [1] x86_64-pc-linux-gnu-9.3.0 *

No version 9.2 listed because I have unmerged it.

Anyhow as fedeliallalinea suggested I run make clean and after make install everything went smooth.
Kernel compiled!

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum