[Users] Kernel 2.6.27-037test001 available

Dariush Pietrzak ml-openvz-eyck at kuszelas.eu
Fri Jan 23 02:57:39 EST 2009


Hi, 
 when trying to build amd64 version, I encountered this:
 	CALL    scripts/checksyscalls.sh
 	CHK     include/linux/compile.h
 	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

 this can be fixed by adding -m32 to gcc parameters, for example in
 makefile:
# How to compile the 16-bit code.  Note we always compile for -march=i386,
# that way we can complain to the user if the CPU is insufficient.
# Compile with _SETUP since this is similar to the boot-time setup code.
+cflags-$(CONFIG_X86_32):=-m32
+cflags-$(CONFIG_X86_64):=-m32
KBUILD_CFLAGS   := $(LINUXINCLUDE) -g -Os -D_SETUP -D_WAKEUP -D__KERNEL__

I'm not sure if this was caused by some git commit, because I tried moving
back in time ( I did successfully build git's 2.6.27 on Jan 15, this would
suggest that going to:
	commit 2f64851ae1d7cee7ea69a5d8ec788f1a90d0ca9f
	Author: Pavel Emelyanov <xemul at openvz.org>
	Date:   Wed Jan 14 18:22:14 2009 +0300

would fix this, but it doesn't, I can't put a finger on it, were there some
changes in gcc? (4.3.2-2)

-- 
Key fingerprint = 40D0 9FFB 9939 7320 8294  05E0 BCC7 02C4 75CC 50D9
 Total Existance Failure


More information about the Users mailing list