i386/75898: Exception and reboot: Loader and kernel use SSE2
instructions before they get enabled
Hiroo Ono
hiroo at oikumene.gcd.org
Thu Jun 9 14:20:08 GMT 2005
The following reply was made to PR i386/75898; it has been noted by GNATS.
From: Hiroo Ono <hiroo at oikumene.gcd.org>
To: bug-followup at FreeBSD.org, obrien at FreeBSD.org
Cc: freebsd at chillt.de
Subject: Re: i386/75898: Exception and reboot: Loader and kernel use SSE2 instructions before they get enabled
Date: Thu, 09 Jun 2005 23:10:49 +0900
Hello,
> bsd.cpu.mk as of version 1.42 on 6.0-CURRENT and 1.40.2.1 on
> 5.3-STABLE recognizes the setting CPUTYPE=pentium-m in
> /etc/make.conf, which enables code generation and optimization for
> the Pentium M family. One of the features enabled by this switch is
> SSE2.
> One way of fixing this would be to specifically disable SSE and SSE2
> support in the Makefiles of those parts of the system that run
> before the OSFXSR bit is set
Mr.Obrien committed the fix in
src/sys/boot/i386/Makefile.inc rev.1.10 (HEAD) and 1.9.2.1 (RELENG_5),
src/sys/boot/ficl/Makefile rev.1.41 (HEAD) (not MFC'ed though).
This seems to have fixed the problem in 6-CURRENT. The problem
described in PR/ still remains.
The PR i386/81111 (/boot/loader causes reboot due to CFLAGS+= -msse3)
may relate to this PR.
Also, i386/81694 may be related.
The latter is not MFC'ed and thus RELENG_5 is still affected (I ran
into this problem with 5.4-RELEASE-p1). Would you please MFC it?
More information about the freebsd-i386
mailing list