1 |
On 01/07/2011 04:39 PM, Brian Davis wrote: |
2 |
> Here's what happens when I try to build 2.6.36-r6: |
3 |
> |
4 |
> # make && make modules_install |
5 |
> /usr/src/linux-2.6.36-hardened-r6/scripts/gcc-version.sh: line 25: ngcc: |
6 |
> command not found |
7 |
> /usr/src/linux-2.6.36-hardened-r6/scripts/gcc-version.sh: line 26: ngcc: |
8 |
> command not found |
9 |
> make: ngcc: Command not found |
10 |
> CHK include/linux/version.h |
11 |
> CHK include/generated/utsrelease.h |
12 |
> /usr/src/linux-2.6.36-hardened-r6/arch/x86/Makefile:202: *** |
13 |
> *** 2.6 PaX kernels no longer build correctly with old versions of binutils. |
14 |
> *** Please upgrade your binutils to 2.18 or newer. Stop. |
15 |
|
16 |
Hm, try first fixing the ngcc thing. I had the same ngcc issue when |
17 |
moving my office desktop from gentoo-sources 2.6.35 to 2.6.36 using make |
18 |
oldconfig. |
19 |
|
20 |
You might have a CONFIG_CROSS_COMPILE="n" in your .config. |
21 |
This setting was not used by 2.6.35 and previous versions. |
22 |
Since 2.6.36 this is the prefix for the cross compiler, so its value is |
23 |
prepended before 'gcc' during make. |
24 |
|
25 |
Setting it to CONFIG_CROSS_COMPILE="" should solve that issue. |