View previous topic :: View next topic |
Author |
Message |
Duncan Mac Leod Guru
Joined: 02 May 2004 Posts: 312 Location: Germany
|
Posted: Sat Jan 20, 2018 4:33 pm Post subject: CONFIG_64BIT question [SOLVED] |
|
|
I have used gentoo-sources-3.10.107 in the past on a 32bit system.
Today I decided to switch to gentoo-sources-4.4.112.
Running genkernel I noticed that the default values set CONFIG_64BIT to enabled. On a 32bit system? Is there something wrong or should I go with CONFIG_64BIT enabled on a 32bit system?
Last edited by Duncan Mac Leod on Sat Jan 20, 2018 7:00 pm; edited 1 time in total |
|
Back to top |
|
|
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Sat Jan 20, 2018 6:01 pm Post subject: |
|
|
I am NOT a kernel pro, but I wouldn't. That builds a 64bit kernel, which a 32bit CPU won't be able to boot. Are you SURE you have a 32bit CPU? You may have a 64bit CPU, since they've been around since 2003 or so. Itanium stuff was even before then. So what CPU do you have? _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
Duncan Mac Leod Guru
Joined: 02 May 2004 Posts: 312 Location: Germany
|
Posted: Sat Jan 20, 2018 6:41 pm Post subject: |
|
|
The_Great_Sephiroth wrote: | I am NOT a kernel pro, but I wouldn't. That builds a 64bit kernel, which a 32bit CPU won't be able to boot. Are you SURE you have a 32bit CPU? You may have a 64bit CPU, since they've been around since 2003 or so. Itanium stuff was even before then. So what CPU do you have? |
I have a 64-bit CPU, but I've a 32-bit Gentoo System. Just wondering WHY genkernel sets this flag. I always had a 32bit system, but now genkernel suggests to compile the kernel with this flag enabled.
I am using profile default/linux/x86/17.0/desktop/plasma |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Jan 20, 2018 6:48 pm Post subject: |
|
|
Genkernel probably detects it from /proc/cpuinfo (cpuflags: lm). If the CPU's 64-bit then it's safe to have a 64-bit kernel even if your userland isn't. |
|
Back to top |
|
|
Duncan Mac Leod Guru
Joined: 02 May 2004 Posts: 312 Location: Germany
|
Posted: Sat Jan 20, 2018 7:00 pm Post subject: |
|
|
Ant P. wrote: | If the CPU's 64-bit then it's safe to have a 64-bit kernel even if your userland isn't. |
Just the info I wanted to know ...
I was not sure whether it is possible to have a 64bit kernel on a 32bit compiled system. Thank you. |
|
Back to top |
|
|
|