1 |
Sorry about that, not sure happend re: cut and paste. Is 2.6.36-r7 masked, because it doesn't show up for me.# emerge -s hardened Searching... [ Results for search key : hardened ][ Applications found : 1 ]* sys-kernel/hardened-sources Latest version available: 2.6.36-r6 Latest version installed: 2.6.36-r6 Size of files: 69,468 kB Homepage: http://www.gentoo.org/proj/en/hardened/ Description: Hardened kernel sources (kernel series 2.6) License: GPL-2 !deblob? ( freedist )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 foundmake: 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.# emerge -s binutilsSearching... [ Results for search key : binutils ][ Applications found : 4 ]* sys-devel/binutils Latest version available: 2.20.1-r1 Latest version installed: 2.20.1-r1 Size of files: 17,105 kB Homepage: http://sources.redhat.com/binutils/ Description: Tools necessary to build programs License: || ( GPL-3 LGPL-3 )Thanks,Brian |
2 |
> Date: Fri, 7 Jan 2011 03:15:00 +0100 |
3 |
> From: franxisco1988@×××××.com |
4 |
> To: gentoo-hardened@l.g.o |
5 |
> Subject: Re: [gentoo-hardened] Kernel won't build, but binutils is up to date |
6 |
> |
7 |
> El 07/01/11 02:44, Brian Davis escribió: |
8 |
> > Hello, |
9 |
> > After switching profiles and trying to install the latest kernel, I get the following: |
10 |
> > |
11 |
> > # 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 foundmake: 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. |
12 |
> > # emerge --search binutilsSearching... [ Results for search key : binutils ][ Applications found : 4 ] |
13 |
> > * sys-devel/binutils Latest version available: 2.20.1-r1 Latest version installed: 2.20.1-r1 Size of files: 17,105 kB Homepage: http://sources.redhat.com/binutils/ Description: Tools necessary to build programs License: || ( GPL-3 LGPL-3 ) |
14 |
> > |
15 |
> > binutils is up to date. |
16 |
> > Do I need to emerge -e system or something similar? |
17 |
> > Thanks! |
18 |
> > |
19 |
> |
20 |
> Don't know what happened but your paste doesn't makes much sense, looks |
21 |
> like newlines where removed at random. |
22 |
> |
23 |
> For what it looks it may be that either somehow you are indicating |
24 |
> (probably via an environment variable but maybe via config) that make |
25 |
> should use ngcc instead of gcc to compile or just that the gcc binary in |
26 |
> /usr/bin is missing. Without a clearer paste I can bbe of more help. |
27 |
> |
28 |
> BTW the latest kernel is 2.6.36-r7 ;) |
29 |
> |