bin/43299: march=pentium4 miscompiles msun/src/e_pow.c
Mikhail Teterin
mi+mx at aldan.algebra.com
Mon May 12 11:10:10 PDT 2003
The following reply was made to PR bin/43299; it has been noted by GNATS.
From: Mikhail Teterin <mi+mx at aldan.algebra.com>
To: freebsd-gnats-submit at FreeBSD.org, mi at aldan.algebra.com
Cc: das at FreeBSD.org, ura at euro-bill.net, re at FreeBSD.org
Subject: Re: bin/43299: march=pentium4 miscompiles msun/src/e_pow.c
Date: Mon, 12 May 2003 14:02:49 -0400
My most recent encounter with this bug is the failure of the selftest of
ports/graphics/lcms.
I recompiled the libm (lib/msun) with -march=pentium3 and reinstalled
it. After that the lcms passed its own self-test. Note, that lcms did
NOT require recompiling -- using the pentium3 version of libm it had no
problems.
Linux, where most of the gcc's development is going on, does not appear
to suffer. gallatin says, icc does not have this problem. Could it be,
that our own i387 implementation of some of the functions fail on
pentium4 and its SSE2?
May be, the -march setting should be forced down to pentium3 in the
lib/msun subdirectory in case CPUTYPE is set to p4 -- for the time
being?
-mi
P.S. The i386/51210 appears to document the same bug:
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=i386/51210
More information about the freebsd-bugs
mailing list