Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2000 17:50:46 +0900 (JST)
From:      Takayuki HOSODA <lyuka@sakura.finetune.co.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   i386/16802: An user math program have the system on K6-2/III freeze
Message-ID:  <200002180850.RAA01555@sakura.finetune.co.jp>

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

>Number:         16802
>Category:       i386
>Synopsis:       An user math program have the system on K6-2/III freeze
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 18 01:00:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Takayuki HOSODA
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
Finetune co., ltd.
>Environment:
FreeBSD-3.4-RELEASE
(the kernel was build by gcc-2.7.1 with -O2 -i486 options)
The CPU is K6-2/350 or K6-III/400

>Description:
An user math (FFT) program compliled by gcc-2.95 with 
'-O2 -mpreferred-stack-boundary=2' options often have the
system freeze, which is running on AMD's K6-2 or K6-III processor.
 It won't occur on the system running on the intel pentium processor.
 Also, another user program that making use of a public FFT library
(ftp://ftp.fftw.org/pub/fftw/fftw-2.1.3.tar.gz)
configured with '--enable-i386-hacks' shows the same phenomenon.
 No core dumped, no signal recieved, though the user program compiled,
in this case, by gcc-2.7.1 with -g options was runed within the gdb.

>How-To-Repeat:
Generally, tight and fast floating math program compiled by
gcc-2.95 with -mpreferred-stack-boundary=2 options runned on
K6-2 or K6-III processor often cause the system freeze, however,
the same program won't cause the problem runned on the pentium
processor.
 I can send you the program souces in trouble (4KB).
(It can run on pentium processor without problem)

>Fix:
I have no idea for the permanent fix, however, the followings
maight be help for some case at the user hand.

1. You'd better use gcc-2.7.1 instead of gcc-2.95.
2. Don't use -O3 compile option.
3. Never use -mpreferrd-stack-boundary=2 compile option.

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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