Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 309691

Summary: sys-kernel/gentoo-sources-2.6.31-r10 fails to compile w/ CPU you selected does not support x86-64 instruction set
Product: Gentoo Linux Reporter: Scott S <mnemonic12>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://lkml.org/lkml/2010/3/24/41
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Kernel .config

Description Scott S 2010-03-16 04:17:47 UTC
Unable to build the kernel when attempting to downgrade from ~amd64 (gentoo-sources-2.6.33) to amd64
Using gcc-4.4.3 (x86_64-pc-linux-gnu-4.4.3)

Final snippet of make output in /usr/src/linux:

  CC      arch/x86/kernel/trampoline.o
  CC      arch/x86/kernel/process.o
  CC      arch/x86/kernel/i387.o
  CC      arch/x86/kernel/xsave.o
  CC      arch/x86/kernel/ptrace.o
  CC      arch/x86/kernel/tls.o
  CC      arch/x86/kernel/step.o
  CC      arch/x86/kernel/stacktrace.o
  CC      arch/x86/kernel/acpi/boot.o
  CC      arch/x86/kernel/acpi/sleep.o
  LDS     arch/x86/kernel/acpi/realmode/wakeup.lds
  AS      arch/x86/kernel/acpi/realmode/wakeup.o
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: error: CPU you selected does not support x86-64 instruction set
cc1: warning: -mregparm is ignored in 64-bit mode
make[4]: *** [arch/x86/kernel/acpi/realmode/wakeup.o] Error 1
make[3]: *** [arch/x86/kernel/acpi/realmode/wakeup.bin] Error 2
make[2]: *** [arch/x86/kernel/acpi] Error 2
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2

After a make clean, same thing happens


Reproducible: Always
Comment 1 Scott S 2010-03-16 04:18:24 UTC
Created attachment 223845 [details]
Kernel .config
Comment 2 Scott S 2010-03-16 04:29:07 UTC
Seems fine with gcc-4.3.4, no hurry to fix