Re: Newest loader from CVS not working

From: Pawel Worach (pawel.worach_at_gmail.com)
Date: 06/02/05

  • Next message: Hajimu UMEMOTO: "Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net"
    Date: Thu, 02 Jun 2005 22:24:49 +0200
    To: obrien@freebsd.org
    
    

    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
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Hajimu UMEMOTO: "Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net"