Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2005 01:40:22 GMT
From:      Sergey Gluschenko <deen@freebsd.org.ua>
To:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/84010: Buildkernel is broken with 'options CPU_DISABLE_SSE' in kernel conf file
Message-ID:  <200507250140.j6P1eMFt019110@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

From: Sergey Gluschenko <deen@freebsd.org.ua>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-i386@FreeBSD.org
Cc: delphij@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
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507250140.j6P1eMFt019110>