ports/45576: port lcms fails test after build on current

Dofri Jonsson imp at hell.is
Fri Apr 11 08:40:20 UTC 2003


The following reply was made to PR ports/45576; it has been noted by GNATS.

From: Dofri Jonsson <imp at hell.is>
To: freebsd-gnats-submit at FreeBSD.org, leafy at leafy.idv.tw
Cc:  
Subject: Re: ports/45576: port lcms fails test after build on current
Date: Fri, 11 Apr 2003 08:33:37 +0000

 Actually, this is a bug in gcc that miscompiles some floating point 
 calculations with -march=pentium4.
 Specifically, libm (msun) is miscompiled, causing the tests in lcms to fail.
 Recompile world with -march=pentium3 or less, or CFLAGS=-mno-sse2 for a 
 workaround.
 
 I have verified this in both gcc 3.2.1 and gcc 3.2.2.
 
 See PR bin/43299: march=pentium4 miscompiles msun/src/e_pow.c for more 
 details.
 



More information about the freebsd-ports-bugs mailing list