Newest loader from CVS not working
Pawel Worach
pawel.worach at gmail.com
Thu Jun 2 20:24:58 GMT 2005
David O'Brien wrote:
> On Sun, May 29, 2005 at 03:51:48AM +0200, Pawel Worach wrote:
>
>>I did some more investigation into this and found that MMX registers are
>>used in the FICL code in the pentium-m case. Here is a full diff of
>>sys/boot built with CPUTYPE?=pentium2 and pentium-m.
>
>
> This is great!
> I know what needs to be done now.
>
Hi David,
I found two more problems, after beeing really puzzled why the p-m loader works
fine after a build where the installed world was built with p2 and the next p-m
build breaks the loader when installed world was built with p-m. It seems like
libstand uses mmx registers and the sys/boot build uses the installed version of
libstand instead of the one in obj/.
libstand p2 vs. p-m save-temps diff: http://62.119.221.30/boot/libstand.diff
wfm fix:
--- lib/libstand/Makefile.orig Thu Jun 2 22:13:31 2005
+++ lib/libstand/Makefile Thu Jun 2 22:13:24 2005
@@ -20,6 +20,7 @@
.endif
.if ${MACHINE_ARCH} == "i386"
CFLAGS+= -mpreferred-stack-boundary=2
+CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2
.endif
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -msoft-float -D_STANDALONE
--
Pawel
More information about the freebsd-current
mailing list