Skip to main content
Topic: Building my own kernel, sched_smt_present error (Read 172 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Building my own kernel, sched_smt_present error

Code: [Select]
  CC [M]  drivers/scsi/scsi_debug.o
  CC [M]  drivers/staging/rtlwifi/phydm/rtl8822b/phydm_hal_api8822b.o
  CC [M]  drivers/staging/rtlwifi/phydm/rtl8822b/phydm_iqk_8822b.o
  CC [M]  drivers/staging/rtlwifi/phydm/rtl8822b/phydm_regconfig8822b.o
  CC [M]  drivers/staging/rtlwifi/phydm/rtl8822b/phydm_rtl8822b.o
  AR      drivers/scsi/built-in.a
  LD [M]  drivers/scsi/scsi_mod.o
  CC [M]  drivers/staging/rtlwifi/phydm/rtl_phydm.o
  LD [M]  drivers/scsi/hv_storvsc.o
  LD [M]  drivers/scsi/sr_mod.o
  AR      drivers/usb/built-in.a
  LD [M]  drivers/scsi/sd_mod.o
  LD [M]  drivers/staging/rtlwifi/r8822be.o
  AR      drivers/staging/built-in.a
  AR      drivers/built-in.a
  GEN     .version
  CHK     include/generated/compile.h
  AR      built-in.a
  LD      vmlinux.o
  MODPOST vmlinux.o
ld: arch/x86/kernel/cpu/bugs.o:(__jump_table+0x28): undefined reference to `sched_smt_present'
ld: arch/x86/kernel/cpu/bugs.o:(__jump_table+0x40): undefined reference to `sched_smt_present'
ld: arch/x86/kernel/cpu/bugs.o:(__jump_table+0x58): undefined reference to `sched_smt_present'
ld: arch/x86/kernel/cpu/bugs.o:(__jump_table+0x70): undefined reference to `sched_smt_present'
make: *** [Makefile:1032: vmlinux] Error 1
==> ERROR: A failure occurred in build().

Hey everybody. I've been learning how to compile my own kernel lately, and things were going well til now. I have no idea what is causing this... I am making changes to the configuration of the kernel, so maybe its something I changed, but I'm really not sure what exactly it could be. Any ideas what might be the culprit behind this error?

I'm using the archlinux default config with linux-xanmod on the AUR, enabling things like F2FS, XFS, deadline as default, adding drivers like r8169, btusb, usbhid, k10temp, fam15h, nvidia_fb, ahci, xhci, ohci, ehci, enabling some AMD-specific stuff, etc.

Also, what are the best advantages I can get out of building my own kernel? What are some good do's and do-not's?