View previous topic :: View next topic |
Author |
Message |
Shelnutt2 Tux's lil' helper
Joined: 05 May 2007 Posts: 122
|
Posted: Sat Nov 13, 2010 7:14 am Post subject: Can't build a 64 bit kernel |
|
|
I'm reinstalling gentoo after a disk in my raid array failed. The problem I have is that the 2.6.36 and 2.6.35 kernels aren't building me a 64bit kernel. Infact in the arch/ directory there isn't even a x86_64 folder! I'm installing the. 34, .33 and 32 kernel's to try now. I double checked and I'm running the 64bit minimal CD, and here is my make.conf.
Code: | ACCEPT_KEYWORDS="~amd64"
FEATURES="mini-manifest parallel-fetch"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -02 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
|
_________________ E6300, Gigabyte P35-DS3R, 7800GT, 2x512 TeamGroup DDR2 (D9), Audigy 2 value |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Sat Nov 13, 2010 8:20 am Post subject: Re: Can't build a 64 bit kernel |
|
|
Shelnutt2 wrote: | the 2.6.36 and 2.6.35 kernels aren't building me a 64bit kernel. |
How do you know this ?
BTW, the bzImage you would get in the x86_64 directory is a symlink to the x86 directory bzImage.
Can you post the output of :
Code: | # file /usr/src/linux/arch/x86/kernel/traps.o |
(Or any other .o of this directory) |
|
Back to top |
|
|
sera Retired Dev
Joined: 29 Feb 2008 Posts: 1017 Location: CET
|
Posted: Sat Nov 13, 2010 8:43 am Post subject: |
|
|
/etc/make.conf is a portage configuration file and would ideally reside in /etc/portage/. It wont have an effect when compiling a kernel. |
|
Back to top |
|
|
TJNII l33t
Joined: 09 Nov 2003 Posts: 648 Location: for(;;);
|
Posted: Sat Nov 13, 2010 5:15 pm Post subject: |
|
|
Are you trying to cross compile? What kind of CPU are you performing this on? Is your environment build for 32bit or 64bit? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54802 Location: 56N 3W
|
Posted: Sat Nov 13, 2010 6:54 pm Post subject: |
|
|
Shelnutt2,
The trees for the i386 and x86_64 kernels were merged into x86 around 2.6.26 or so.
Since then i396 and x86_64 have been symlinks to x86
Whatever you have in x86 is a result of Code: | #
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.36-gentoo
# Wed Oct 27 19:19:00 2010
#
CONFIG_64BIT=y
# CONFIG_X86_32 is not set | at the top of the .config file _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|