Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2005 15:45:20 GMT
From:      ZHANG Yu <zhangy@haier-ic.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/81111: /boot/loader causes reboot due to CFLAGS+= -msse3
Message-ID:  <200505161545.j4GFjKYl087676@www.freebsd.org>
Resent-Message-ID: <200505161550.j4GFo2Ko059351@freefall.freebsd.org>

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


>Number:         81111
>Category:       i386
>Synopsis:       /boot/loader causes reboot due to CFLAGS+= -msse3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 16 15:50:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     ZHANG Yu
>Release:        5.4-RELEASE
>Organization:
Haier (Beijing) IC Design Co., Ltd.
>Environment:
FreeBSD www.adnap.cn 5.4-STABLE FreeBSD 5.4-STABLE #5: Tue May 10 23:32:43 CST 2005     root@www.adnap.cn:/usr/obj/usr/src/sys/ADNAP  i386

>Description:
My CPU is Celeron-D 2.4GHz, which supports the SSE3 instruction set.  So I added the following line in /etc/make.conf:

CFLAGS+= -mfpmath=sse -mmmx -msse -msse2 -msse3 ...

With this -msse3 option, the /boot/loader caused the PC to reboot every time before loading the kernel.
>How-To-Repeat:
1. recompile and install /usr/src/sys/boot/ with CFLAGS+= -msse3 option.
2. reboot PC
>Fix:
I sugguest adding a -mno-sse3 for CFLAGS in the file /usr/src/sys/boot/i386/Makefile.inc.
>Release-Note:
>Audit-Trail:
>Unformatted:



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