Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tuxonice-sources-4.5.4 genkernel fails [SOLVED]
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
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6313
Location: /usr/lib64/lv2

PostPosted: Sat Jun 11, 2016 7:44 pm    Post subject: Tuxonice-sources-4.5.4 genkernel fails [SOLVED] Reply with quote

Trying to genkernel tuxonice-sources. Fails with:

Code:

* ERROR: Failed to compile the "bzImage" target...
*
* -- Grepping log... --
*
*  SHIPPED scripts/kconfig/zconf.hash.c
*  SHIPPED scripts/kconfig/zconf.tab.c
*  HOSTCC  scripts/kconfig/zconf.tab.o
*  HOSTLD  scripts/kconfig/conf
*scripts/kconfig/conf  --oldconfig Kconfig
*.config:76:warning: override: reassigning to symbol UV_MMTIMER
*.config:125:warning: symbol value 'm' invalid for X86_INTEL_PSTATE
*.config:2390:warning: override: FB_MB862XX_LIME changes choice state
*.config:2811:warning: symbol value 'm' invalid for AB3100_CORE
*.config:2820:warning: symbol value 'm' invalid for MFD_WM8400
*.config:2821:warning: symbol value 'm' invalid for MFD_WM8350_I2C
*.config:2822:warning: symbol value 'm' invalid for MFD_WM8350
*.config:2823:warning: symbol value 'm' invalid for MFD_WM831X
*.config:3460:warning: symbol value 'm' invalid for POWER_SUPPLY
*--
*Allow for memory compaction (COMPACTION) [Y/n/?] y
*  Page migration (MIGRATION) [Y/?] y
*Enable bounce buffers (BOUNCE) [Y/n/?] (NEW)
*Enable KSM for page merging (KSM) [Y/n/?] y
*Low address space to protect from user allocation (DEFAULT_MMAP_MIN_ADDR) [4096] 4096
*Enable recovery from hardware memory errors (MEMORY_FAILURE) [Y/n/?] y
*--
*  Debug Statements (ACPI_DEBUG) [N/y/?] (NEW)
*  PCI slot detection driver (ACPI_PCI_SLOT) [Y/n/?] y
*  Container and Module Devices (ACPI_CONTAINER) [Y/?] (NEW) y
*  Memory Hotplug (ACPI_HOTPLUG_MEMORY) [Y/n/?] y
*  Smart Battery System (ACPI_SBS) [N/m/y/?] (NEW)
*  Hardware Error Device (ACPI_HED) [Y/?] y
*  Allow ACPI methods to be inserted/replaced at run time (ACPI_CUSTOM_METHOD) [N/m/y/?] (NEW)
*  Boottime Graphics Resource Table support (ACPI_BGRT) [N/y/?] (NEW)
*  ACPI NVDIMM Firmware Interface Table (NFIT) (ACPI_NFIT) [N/m/y/?] (NEW)
*  ACPI Platform Error Interface (APEI) (ACPI_APEI) [Y/n/?] y
*    APEI Generic Hardware Error Source (ACPI_APEI_GHES) [Y/n/?] y
*    APEI PCIe AER logging/recovering support (ACPI_APEI_PCIEAER) [Y/n/?] y
*    APEI memory error recovering support (ACPI_APEI_MEMORY_FAILURE) [Y/n/?] y
*    APEI Error INJection (EINJ) (ACPI_APEI_EINJ) [M/n/y/?] m
*    APEI Error Record Serialization Table (ERST) Debug Support (ACPI_APEI_ERST_DEBUG) [M/n/y/?] m
*  Extended Error Log support (ACPI_EXTLOG) [N/m/y/?] (NEW)
*--
* Bus options (PCI etc.)
*
*PCI support (PCI) [Y/n/?] y
*  Support mmconfig PCI config space access (PCI_MMCONFIG) [N/y] (NEW)
*  PCI Express Port Bus support (PCIEPORTBUS) [Y/n/?] y
*    Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] y
*      PCI Express ECRC settings control (PCIE_ECRC) [Y/n/?] y
*      PCIe AER error injector support (PCIEAER_INJECT) [M/n/y/?] m
*--
*      *
*      round-robin scheduling (IP_VS_RR) [M/n/?] m
*      weighted round-robin scheduling (IP_VS_WRR) [M/n/?] m
*      least-connection scheduling (IP_VS_LC) [M/n/?] m
*      weighted least-connection scheduling (IP_VS_WLC) [M/n/?] m
*      weighted failover scheduling (IP_VS_FO) [N/m/?] (NEW)
*--
*  * 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
*--
*SCSI CDROM support (BLK_DEV_SR) [M/n/y/?] m
*  Enable vendor-specific extensions (for SCSI CDROM) (BLK_DEV_SR_VENDOR) [Y/n/?] y
*SCSI generic support (CHR_DEV_SG) [M/n/y/?] m
*SCSI media changer support (CHR_DEV_SCH) [M/n/y/?] m
*SCSI Enclosure Support (SCSI_ENCLOSURE) [M/n/?] m
*Verbose SCSI error reporting (kernel size +=75K) (SCSI_CONSTANTS) [Y/n/?] y
*--
*  Compile All OSD modules with lots of DEBUG prints (SCSI_OSD_DEBUG) [N/y/?] n
*
* Serial ATA and Parallel ATA drivers (libata)
*
*Serial ATA and Parallel ATA drivers (libata) (ATA) [Y/n/m/?] y
*  Verbose ATA error reporting (ATA_VERBOSE_ERROR) [Y/n/?] y
*--
*      IP-over-InfiniBand data path debugging (INFINIBAND_IPOIB_DEBUG_DATA) [N/y/?] n
*  InfiniBand SCSI RDMA Protocol (INFINIBAND_SRP) [M/n/?] m
*  InfiniBand SCSI RDMA Protocol target support (INFINIBAND_SRPT) [N/m/?] (NEW)
*  iSCSI Extensions for RDMA (iSER) (INFINIBAND_ISER) [M/n/?] m
*
* EDAC (Error Detection And Correction) reporting
*
*EDAC (Error Detection And Correction) reporting (EDAC) [Y/n/?] y
*  EDAC legacy sysfs (EDAC_LEGACY_SYSFS) [Y/n/?] y
*  Debugging (EDAC_DEBUG) [N/y/?] n
*  Decode MCEs in human-readable form (only on AMD for now) (EDAC_DECODE_MCE) [M/n/y/?] m
*  Main Memory EDAC (Error Detection And Correction) reporting (EDAC_MM_EDAC) [M/n/y/?] m
*    AMD64 (Opteron, Athlon64) (EDAC_AMD64) [M/n/?] m
*      Sysfs HW Error injection facilities (EDAC_AMD64_ERROR_INJECTION) [Y/n/?] y
*--
*  JFS statistics (JFS_STATISTICS) [N/y/?] n
*XFS filesystem support (XFS_FS) [M/n/y/?] m
*  XFS Quota support (XFS_QUOTA) [Y/n/?] y
*  XFS POSIX ACL support (XFS_POSIX_ACL) [Y/n/?] y
*  XFS Realtime subvolume support (XFS_RT) [N/y/?] n
*  XFS Verbose Warnings (XFS_WARN) [N/y/?] (NEW)
*--
*Inotify support for userspace (INOTIFY_USER) [Y/n/?] y
*Filesystem wide access notification (FANOTIFY) [Y/n/?] y
*  fanotify permissions checking (FANOTIFY_ACCESS_PERMISSIONS) [N/y/?] (NEW)
*Quota support (QUOTA) [Y/n/?] y
*Report quota messages through netlink interface (QUOTA_NETLINK_INTERFACE) [Y/n/?] y
*Print quota warnings to console (OBSOLETE) (PRINT_QUOTA_WARNING) [Y/n/?] y
*--
*RCU CPU stall timeout in seconds (RCU_CPU_STALL_TIMEOUT) [21] (NEW)
*Enable tracing for RCU (RCU_TRACE) [N/y/?] n
*Provide debugging asserts for adding NO_HZ support to an arch (RCU_EQS_DEBUG) [N/y/?] (NEW)
*Force round-robin CPU selection for unbound work items (DEBUG_WQ_FORCE_RR_CPU) [N/y/?] (NEW)
*Force extended block device numbers and spread them (DEBUG_BLOCK_EXT_DEVT) [N/y/?] n
*Notifier error injection (NOTIFIER_ERROR_INJECTION) [N/m/y/?] (NEW)
*--
*  CC      arch/x86/kernel/apic/hw_nmi.o
*  CC      kernel/irq/autoprobe.o
*  CC      arch/x86/kernel/apic/io_apic.o
*In file included from kernel/power/tuxonice_io.c:32:0:
*kernel/power/tuxonice_io.c: In function 'worker_rw_loop':
*kernel/power/tuxonice_ui.h:90:17: warning: 'thread_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
*--
*  CC      arch/x86/kernel/cpu/mcheck/mce_intel.o
*  CC      kernel/time/timer.o
*  CC      arch/x86/kernel/cpu/mcheck/mce_amd.o
*  CC      arch/x86/kernel/cpu/microcode/intel.o
*arch/x86/kernel/cpu/microcode/intel.c: In function 'save_mc_for_early':
*arch/x86/kernel/cpu/microcode/intel.c:516:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
* }
* ^
*  CC      arch/x86/kernel/cpu/mcheck/threshold.o
*arch/x86/kernel/cpu/microcode/intel.c: In function 'get_matching_model_microcode.isra.1.constprop':
*arch/x86/kernel/cpu/microcode/intel.c:348:1: warning: the frame size of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=]
*--
*  CC      fs/kernfs/dir.o
*  CC      fs/kernfs/file.o
*  CC      mm/vmpressure.o
*  CC      fs/kernfs/symlink.o
*  CC      mm/swap_cgroup.o
*  CC      mm/memory-failure.o
*--
*In file included from /usr/include/stdio.h:936:0,
*                 from Documentation/mic/mpssd/mpssd.h:23,
*                 from Documentation/mic/mpssd/mpssd.c:41:
*In function 'snprintf',
*    inlined from 'set_cmdline' at Documentation/mic/mpssd/mpssd.c:1541:9:
*/usr/include/bits/stdio2.h:64:3: warning: call to __builtin___snprintf_chk will always overflow destination buffer
*--
*  HOSTCC  Documentation/vDSO/vdso_standalone_test_x86.o
*  HOSTCC  Documentation/vDSO/parse_vdso.o
*  HOSTLD  Documentation/vDSO/vdso_standalone_test_x86
*  LD      Documentation/video4linux/built-in.o
*Documentation/vDSO/parse_vdso.o: In function `elf_hash':
*parse_vdso.c:(.text+0xa4): undefined reference to `__stack_chk_fail'
*Documentation/vDSO/parse_vdso.o: In function `vdso_init_from_sysinfo_ehdr':
*parse_vdso.c:(.text+0x445): undefined reference to `__stack_chk_fail'
*Documentation/vDSO/parse_vdso.o: In function `vdso_match_version':
*parse_vdso.c:(.text+0x545): undefined reference to `__stack_chk_fail'
*Documentation/vDSO/parse_vdso.o: In function `vdso_sym':
*parse_vdso.c:(.text+0x6fa): undefined reference to `__stack_chk_fail'
*Documentation/vDSO/parse_vdso.o: In function `vdso_init_from_auxv':
*parse_vdso.c:(.text+0x7b5): undefined reference to `__stack_chk_fail'
*collect2: error: ld returned 1 exit status
*scripts/Makefile.host:100: recipe for target 'Documentation/vDSO/vdso_standalone_test_x86' failed
*make[2]: *** [Documentation/vDSO/vdso_standalone_test_x86] Error 1
*scripts/Makefile.build:407: recipe for target 'Documentation/vDSO' failed
*make[1]: *** [Documentation/vDSO] Error 2
*make[1]: *** Waiting for unfinished jobs....
*  HOSTLD  Documentation/mic/mpssd/mpssd
*Makefile:925: recipe for target 'vmlinux' failed
*make: *** [vmlinux] Error 2
*--
* Running with options: --install --clean 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 "bzImage" target...
*
* -- End log... --


EDIT:

Finally found a similar post. The solution is to use the --menuconfig option and disable CONFIG_BUILD_DOCSRC.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
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