Floating point exceptions with -pthread

Daniel Eischen deischen at freebsd.org
Wed May 4 12:15:45 PDT 2005


On Wed, 4 May 2005, Marc Olzheim wrote:

> On Wed, May 04, 2005 at 11:04:07AM -0400, Daniel Eischen wrote:
> > This one seems to work but doesn't use libm.
>
> Hmm, I can't get it to crash...
> How did you compile it ?

gcc -Wall -o name name.c -lpthread

I didn't get it to crash either.

> It seems to me like something about the floorf() assembly might have
> something to do with it.

Yeah, I was just trying to narrow down the problem a bit more.

-- 
DE



More information about the freebsd-threads mailing list