* [gentoo-user] Kernel upgrade
@ 2011-02-15 0:03 Fzinc
2011-02-15 0:16 ` Dale
2011-02-15 0:43 ` [gentoo-user] " walt
0 siblings, 2 replies; 4+ messages in thread
From: Fzinc @ 2011-02-15 0:03 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]
Hi.
Im trying to upgrade the kernel from 2.6.35-gentoo-r12 to
linux-2.6.36-gentoo-r5 just copied the .config from the old one and did a
make oldconfig as i usually do
but when i tried to compile it got this message:
----------------------------------------------------------
localhost linux # make && make modules_install
scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
/usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc:
command not found
/usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 26: Ygcc:
command not found
/usr/src/linux-2.6.36-gentoo-r5/arch/x86/Makefile:81: stack protector
enabled but no compiler support
make: Ygcc: Command not found
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC kernel/bounds.s
/bin/sh: Ygcc: command not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
---------------------------------------------------------
I have no idea what the heck is the Ygcc and why it is looking for it.
Any help?
[-- Attachment #2: Type: text/html, Size: 1221 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Kernel upgrade
2011-02-15 0:03 [gentoo-user] Kernel upgrade Fzinc
@ 2011-02-15 0:16 ` Dale
2011-02-15 0:43 ` [gentoo-user] " walt
1 sibling, 0 replies; 4+ messages in thread
From: Dale @ 2011-02-15 0:16 UTC (permalink / raw
To: gentoo-user
Fzinc wrote:
> Hi.
>
> Im trying to upgrade the kernel from 2.6.35-gentoo-r12 to
> linux-2.6.36-gentoo-r5 just copied the .config from the old one and
> did a make oldconfig as i usually do
> but when i tried to compile it got this message:
>
> ----------------------------------------------------------
>
> localhost linux # make && make modules_install
> scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
> /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc:
> command not found
> /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 26: Ygcc:
> command not found
> /usr/src/linux-2.6.36-gentoo-r5/arch/x86/Makefile:81: stack protector
> enabled but no compiler support
> make: Ygcc: Command not found
> CHK include/linux/version.h
> UPD include/linux/version.h
> CHK include/generated/utsrelease.h
> UPD include/generated/utsrelease.h
> CC kernel/bounds.s
> /bin/sh: Ygcc: command not found
> make[1]: *** [kernel/bounds.s] Error 127
> make: *** [prepare0] Error 2
>
> ---------------------------------------------------------
>
> I have no idea what the heck is the Ygcc and why it is looking for it.
>
> Any help?
>
>
Did a bit of googling here. You may want to try copying the new .config
to a safe place, /root maybe, then run make distclean, or make mrproper,
then copying the .config back and trying again. That is what worked for
some of the folks that ran into this.
If that don't work, post back. Hope that fixes it tho.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: Kernel upgrade
2011-02-15 0:03 [gentoo-user] Kernel upgrade Fzinc
2011-02-15 0:16 ` Dale
@ 2011-02-15 0:43 ` walt
2011-02-15 1:13 ` Mike Edenfield
1 sibling, 1 reply; 4+ messages in thread
From: walt @ 2011-02-15 0:43 UTC (permalink / raw
To: gentoo-user
On 02/14/2011 04:03 PM, Fzinc wrote:
> Hi.
>
> Im trying to upgrade the kernel from 2.6.35-gentoo-r12 to linux-2.6.36-gentoo-r5 just copied the .config from the old one and did a make oldconfig as i usually do
> but when i tried to compile it got this message:
>
> ----------------------------------------------------------
>
> localhost linux # make && make modules_install
> scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
> /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc: command not found
That's a strange error. That script is supposed to produce a 4-digit number:
# sh /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh gcc-4.5.2
0405
What do you see if you give it the gcc-4.x.x that you are using?
Did you use gcc-config to change the active version of gcc, maybe?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Re: Kernel upgrade
2011-02-15 0:43 ` [gentoo-user] " walt
@ 2011-02-15 1:13 ` Mike Edenfield
0 siblings, 0 replies; 4+ messages in thread
From: Mike Edenfield @ 2011-02-15 1:13 UTC (permalink / raw
To: gentoo-user
On 02/14/2011 04:03 PM, Fzinc wrote:
> Hi.
>
> Im trying to upgrade the kernel from 2.6.35-gentoo-r12 to linux-2.6.36-gentoo-r5 just copied the .config from the old one and did a make oldconfig as i usually do
> but when i tried to compile it got this message:
>
> ----------------------------------------------------------
>
> localhost linux # make && make modules_install
> scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig
> /usr/src/linux-2.6.36-gentoo-r5/scripts/gcc-version.sh: line 25: Ygcc: command not found
My guess: somehow the CROSS_COMPILE configuration option got set to Y.
This is the second option in menuconfig under General Setup. This value
gets prepended to $CC during a build -- it's meant to hold a cross
prefix, like "i686-pc-linux-gnu-", for cases where you're building a
kernel for a different architecture.
You almost certainly don't want this set to anything, since it sounds
like you're building a kernel for the same machine. Go clear it out and
try again.
--K
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-02-15 1:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-15 0:03 [gentoo-user] Kernel upgrade Fzinc
2011-02-15 0:16 ` Dale
2011-02-15 0:43 ` [gentoo-user] " walt
2011-02-15 1:13 ` Mike Edenfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox