i386/84010: Buildkernel is broken with 'options CPU_DISABLE_SSE' in kernel conf file

Sergey Gluschenko deen at freebsd.org.ua
Mon Jul 25 01:40:23 GMT 2005


The following reply was made to PR i386/84010; it has been noted by GNATS.

From: Sergey Gluschenko <deen at freebsd.org.ua>
To: FreeBSD-gnats-submit at FreeBSD.org, freebsd-i386 at FreeBSD.org
Cc: delphij at frontfree.net
Subject: Re: i386/84010: Buildkernel is broken with 'options
 CPU_DISABLE_SSE' in kernel conf file
Date: Mon, 25 Jul 2005 04:37:03 +0300

 According to this patch: 
 	http://freebsd.rambler.ru/bsdmail/freebsd-arch_2005/msg00626.html
 we need to clean up all CPU_ENABLE_SSE in kernel, as Ruslan said:
 	http://freebsd.rambler.ru/bsdmail/freebsd-arch_2005/msg00627.html
 But we need working "options CPU_DISABLE_SSE", so I decided to replace
 all "#ifdef CPU_ENABLE_SSE" to "#ifndef CPU_DISABLE_SSE" and
 all "#if defined(CPU_ENABLE_SSE)" to "#if !defined(CPU_DISABLE_SSE)"
 
 Also, #include "opt_cpu.h" was missing in sys/i386/i386/ptrace_machdep.c
 
 After all this changes the reported problem is gone.
 
 Here the patches:
 	http://xlab.users.sevsky.net/freebsd/sys_i386_i386_initcpu.c.diff
 	http://xlab.users.sevsky.net/freebsd/sys_i386_i386_machdep.c.diff
 	http://xlab.users.sevsky.net/freebsd/sys_i386_i386_pmap.c.diff
 	http://xlab.users.sevsky.net/freebsd/sys_i386_i386_ptrace_machdep.c.diff
 	http://xlab.users.sevsky.net/freebsd/sys_i386_isa_npx.c.diff
 	http://xlab.users.sevsky.net/freebsd/sys_i386_linux_linux_ptrace.c.diff (not tested!)
 	http://xlab.users.sevsky.net/freebsd/sys_pc98_pc98_machdep.c.diff (not tested!)
 
 
 --
 Sergey Gluschenko
 
 


More information about the freebsd-i386 mailing list