Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't build a 64 bit kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Shelnutt2
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2007
Posts: 122

PostPosted: Sat Nov 13, 2010 7:14 am    Post subject: Can't build a 64 bit kernel Reply with quote

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
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Sat Nov 13, 2010 8:20 am    Post subject: Re: Can't build a 64 bit kernel Reply with quote

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
View user's profile Send private message
sera
Retired Dev
Retired Dev


Joined: 29 Feb 2008
Posts: 1017
Location: CET

PostPosted: Sat Nov 13, 2010 8:43 am    Post subject: Reply with quote

/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
View user's profile Send private message
TJNII
l33t
l33t


Joined: 09 Nov 2003
Posts: 648
Location: for(;;);

PostPosted: Sat Nov 13, 2010 5:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54802
Location: 56N 3W

PostPosted: Sat Nov 13, 2010 6:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum