Excellent, that worked, thanks!

----------------------------------------
> Date: Fri, 7 Jan 2011 21:09:12 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [gentoo-hardened] Kernel won't build, but binutils is up to date
>
> On 01/07/2011 04:39 PM, Brian Davis wrote:
> > Here's what happens when I try to build 2.6.36-r6:
> >
> > # make && make modules_install
> > /usr/src/linux-2.6.36-hardened-r6/scripts/gcc-version.sh: line 25: ngcc:
> > command not found
> > /usr/src/linux-2.6.36-hardened-r6/scripts/gcc-version.sh: line 26: ngcc:
> > command not found
> > make: ngcc: Command not found
> > CHK include/linux/version.h
> > CHK include/generated/utsrelease.h
> > /usr/src/linux-2.6.36-hardened-r6/arch/x86/Makefile:202: ***
> > *** 2.6 PaX kernels no longer build correctly with old versions of binutils.
> > *** Please upgrade your binutils to 2.18 or newer. Stop.
>
> Hm, try first fixing the ngcc thing. I had the same ngcc issue when
> moving my office desktop from gentoo-sources 2.6.35 to 2.6.36 using make
> oldconfig.
>
> You might have a CONFIG_CROSS_COMPILE="n" in your .config.
> This setting was not used by 2.6.35 and previous versions.
> Since 2.6.36 this is the prefix for the cross compiler, so its value is
> prepended before 'gcc' during make.
>
> Setting it to CONFIG_CROSS_COMPILE="" should solve that issue.
>
                                          

Reply via email to