|
From: Henry N. <Hen...@ar...> - 2004-08-21 22:55:16
|
Joe Wells (reverse mailbox letters to reply) wrote: > Peng <rin...@gm...> writes: > > >>The floating point error is probably caused by the CFLAGS. I solved >>it by recompiling the system (at least, xfree) with "-march=i686". > > > By the way, this is equivalent to -march=pentiumpro. Inside GCC, > using -march=pentiumpro instead of -march=pentium4 uses the > PROCESSOR_PENTIUMPRO flag instead of PROCESSOR_PENTIUM4, and turns off > PTA_SSE, PTA_SSE2, PTA_MMX, PTA_PREFETCH_SSE. (Both -march=pentium2 > and -march=pentium3 also use PROCESSOR_PENTIUMPRO.) > > I am making a wild guess that it will be enough to turn off PTA_MMX. > I want to try some recompiling with "-march=pentium4 -mno-mmx" to see > if that is enough to fix things. > I'm view into compile scripts. Kernel was compiled for i586. Show into conf/linux-config: CONFIG_M586=y # CONFIG_M586MMX is not set # CONFIG_M686 is not set # CONFIG_MPENTIUMII is not set # CONFIG_MPENTIUMIII is not set # CONFIG_MPENTIUMM is not set # CONFIG_MPENTIUM4 is not set ... But the colinux libraries and daemons will compile for 686. See into build-common.sh: TARGET=i686-pc-mingw32 This compile the cross compiler for i686 and all targets was compile for i686, also if the build do no set any CFLAGS. Is this your problem? If yes, should we compile all for i586 only? I'm using Pentuim4 and do not get any errors. Henry |