i386/81111: /boot/loader causes reboot due to CFLAGS+= -msse3

ZHANG Yu zhangy at haier-ic.com
Mon May 16 08:50:07 PDT 2005


>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 at 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:


More information about the freebsd-i386 mailing list