Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kernel upgrade
Date: Tue, 15 Feb 2011 01:06:34
Message-Id: 4D59C5DA.70603@gmail.com
In Reply to: [gentoo-user] Kernel upgrade by Fzinc
1 Fzinc wrote:
2 > Hi.
3 >
4 > Im trying to upgrade the kernel from 2.6.35-gentoo-r12 to
5 > linux-2.6.36-gentoo-r5 just copied the .config from the old one and
6 > did a make oldconfig as i usually do
7 > but when i tried to compile it got this message:
8 >
9 > ----------------------------------------------------------
10 >
11 > localhost linux # make && make modules_install
12 > scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
13 > /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc:
14 > command not found
15 > /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 26: Ygcc:
16 > command not found
17 > /usr/src/linux-2.6.36-gentoo-r5/arch/x86/Makefile:81: stack protector
18 > enabled but no compiler support
19 > make: Ygcc: Command not found
20 > CHK include/linux/version.h
21 > UPD include/linux/version.h
22 > CHK include/generated/utsrelease.h
23 > UPD include/generated/utsrelease.h
24 > CC kernel/bounds.s
25 > /bin/sh: Ygcc: command not found
26 > make[1]: *** [kernel/bounds.s] Error 127
27 > make: *** [prepare0] Error 2
28 >
29 > ---------------------------------------------------------
30 >
31 > I have no idea what the heck is the Ygcc and why it is looking for it.
32 >
33 > Any help?
34 >
35 >
36
37 Did a bit of googling here. You may want to try copying the new .config
38 to a safe place, /root maybe, then run make distclean, or make mrproper,
39 then copying the .config back and trying again. That is what worked for
40 some of the folks that ran into this.
41
42 If that don't work, post back. Hope that fixes it tho.
43
44 Dale
45
46 :-) :-)