Re: Newest loader from CVS not working

From: Pawel Worach <pawel.worach_at_gmail.com>
Date: Thu, 02 Jun 2005 22:24:49 +0200
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
_at__at_ -20,6 +20,7 _at__at_
  .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
Received on Thu Jun 02 2005 - 18:24:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:35 UTC