Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: noe@physik.unizh.ch (Norbert Paschedag)
Subject: Re: DU <--> Linux FP exceptions with DU binaries
Date: 1999/01/19	[thread overview]
Message-ID: <782j1i$3nc0@rzurs10.unizh.ch> (raw)
In-Reply-To: 7829jk$33p@news3.newsguy.com

In article <7829jk$33p@news3.newsguy.com>,
Greg Lindahl <lindahl@pbm.com> wrote:
>noe@physik.unizh.ch (Norbert Paschedag) writes:
>
>> Under Digital UNIX we can prevent these exceptions by using flags like '-fpe1'
>> for compilation and the binaries will run happily.
>> Under Linux, however, the exact same binaries still die with 'floating point
>> exceptions'.
>> Could anyone please explain
>
>1) Did you static link the binary?

Yes, sure. 

>2) What kernel?

Anything between 2.035 and 2.1.131.

From what I see I don't think that the math library handles these exceptions,
it only inserts code that checks FP ops and "generates" the traps.
Correct me if I'm wrong here.

There's a flag for CONFIG_MATHEMU in the kernel configuration. In my case
it's set to "y". Does anyone know what *exactly* this does ? 

Norbert




      reply	other threads:[~1999-01-19  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-19  5:00 DU <--> Linux FP exceptions with DU binaries Norbert Paschedag
1999-01-19  5:00 ` Andreas Krall
1999-01-20  5:00   ` Michal Jaegermann
1999-01-20  5:00   ` Norbert Paschedag
1999-01-19  5:00 ` Greg Lindahl
1999-01-19  5:00   ` Norbert Paschedag [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox