Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Genkernel Not Compiling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fleet street
n00b
n00b


Joined: 19 Jul 2013
Posts: 4

PostPosted: Sat Aug 03, 2013 12:59 pm    Post subject: Genkernel Not Compiling Reply with quote

Hello!

After running the command "genkernel all" on the System Restore CD, I have found that it will not compile. Help with this would be appreciated. Below is my log:
* -- Grepping log... --
*
* SHIPPED scripts/kconfig/zconf.lex.c
* SHIPPED scripts/kconfig/zconf.hash.c
* HOSTCC scripts/kconfig/zconf.tab.o
* HOSTLD scripts/kconfig/conf
*scripts/kconfig/conf --oldconfig Kconfig
*.config:2863:warning: symbol value 'm' invalid for RTC_LIB
*--
*Sparse Memory virtual memmap (SPARSEMEM_VMEMMAP) [Y/n/?] y
*Allow for memory hot-add (MEMORY_HOTPLUG) [N/y] n
*Allow for memory compaction (COMPACTION) [Y/n/?] (NEW) Page migration (MIGRATION) [Y/?] (NEW) y
*Enable KSM for page merging (KSM) [N/y/?] n
*Low address space to protect from user allocation (DEFAULT_MMAP_MIN_ADDR) [4096] 4096
*Enable recovery from hardware memory errors (MEMORY_FAILURE) [N/y/?] n
*--
* Thermal Zone (ACPI_THERMAL) [M/n/?] m
* ACPI tables override via initrd (ACPI_INITRD_TABLE_OVERRIDE) [N/y/?] (NEW) Debug Statements (ACPI_DEBUG) [N/y/?] n
* PCI slot detection driver (ACPI_PCI_SLOT) [N/m/y/?] n
* Container and Module Devices (EXPERIMENTAL) (ACPI_CONTAINER) [M/y/?] m
* Smart Battery System (ACPI_SBS) [N/m/y/?] n
* Hardware Error Device (ACPI_HED) [N/m/y/?] n
* Boottime Graphics Resource Table support (ACPI_BGRT) [N/y/?] (NEW) ACPI Platform Error Interface (APEI) (ACPI_APEI) [N/y/?] n
*--
* Bus options (PCI etc.)
*
*PCI support (PCI) [Y/n/?] y
* Support mmconfig PCI config space access (PCI_MMCONFIG) [Y/n] y
* PCI Express support (PCIEPORTBUS) [Y/n/?] y
* Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] y
* PCI Express ECRC settings control (PCIE_ECRC) [N/y/?] n
* PCIe AER error injector support (PCIEAER_INJECT) [N/m/y/?] n
*--
* Wireless
*
*Wireless (WIRELESS) [Y] y
* cfg80211 - wireless configuration API (CFG80211) [M/n/?] m
* nl80211 testmode command (NL80211_TESTMODE) [N/y/?] n
* enable developer warnings (CFG80211_DEVELOPER_WARNINGS) [N/y/?] n
*--
* * Wireless
* *
* Wireless (WIRELESS) [Y] y
* cfg80211 - wireless configuration API (CFG80211) [M/n/?] m
* nl80211 testmode command (NL80211_TESTMODE) [N/y/?] n
* enable developer warnings (CFG80211_DEVELOPER_WARNINGS) [N/y/?] n
*--
* Symbios 53c500 PCMCIA support (PCMCIA_SYM53C500) [M/n/?] m
*
* Serial ATA and Parallel ATA drivers
*
*Serial ATA and Parallel ATA drivers (ATA) [M/n/y/?] m
* Verbose ATA error reporting (ATA_VERBOSE_ERROR) [Y/n/?] y
*--
*NILFS2 file system support (EXPERIMENTAL) (NILFS2_FS) [N/m/y/?] n
*Dnotify support (DNOTIFY) [Y/n/?] y
*Inotify support for userspace (INOTIFY_USER) [Y/n/?] y
*Filesystem wide access notification (FANOTIFY) [N/y/?] (NEW) Quota support (QUOTA) [Y/?] y
*Report quota messages through netlink interface (QUOTA_NETLINK_INTERFACE) [N/y/?] n
*Print quota warnings to console (OBSOLETE) (PRINT_QUOTA_WARNING) [Y/n/?] y
*--
*RCU CPU stall timeout in seconds (RCU_CPU_STALL_TIMEOUT) [21] (NEW) Print additional diagnostics on RCU CPU stall (RCU_CPU_STALL_INFO) [N/y/?] (NEW) Enable tracing for RCU (RCU_TRACE) [N/y/?] n
*Self test for the backtrace code (BACKTRACE_SELF_TEST) [N/m/y/?] n
*Force extended block device numbers and spread them (DEBUG_BLOCK_EXT_DEVT) [N/y/?] n
*Force weak per-cpu definitions (DEBUG_FORCE_WEAK_PER_CPU) [N/y/?] n
*Debug access to per_cpu maps (DEBUG_PER_CPU_MAPS) [N/y/?] n
*Notifier error injection (NOTIFIER_ERROR_INJECTION) [N/m/y/?] (NEW) Fault-injection framework (FAULT_INJECTION) [N/y/?] n
*--
* SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_64.h
* CHK include/generated/utsrelease.h
* UPD include/generated/utsrelease.h
* HOSTCC arch/x86/tools/relocs
* CC kernel/bounds.s
*kernel/bounds.c:1:0: error: CPU you selected does not support x86-64 instruction set
*make[1]: *** [kernel/bounds.s] Error 1
*make: *** [prepare0] Error 2
*--
* Running with options: all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
*
* ERROR: Failed to compile the "prepare" target...
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Sat Aug 03, 2013 1:14 pm    Post subject: Reply with quote

From your message

CPU you selected does not support x86-64 instruction set

Seems to be the killer. It reads as though it is trying to build a 64 bit kernel for a 32 bit CPU.
Back to top
View user's profile Send private message
fleet street
n00b
n00b


Joined: 19 Jul 2013
Posts: 4

PostPosted: Fri Aug 09, 2013 12:26 pm    Post subject: Reply with quote

Sorry for taking so long to reply, but after reading your message I have been able to get Genkernel to compile by running the System Restore CD in 32 bit mode. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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