Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 10:21:38 -0400 (EDT)
From:      Wesley Morgan <morganw@chemikals.org>
To:        Vallo Kallaste <kalts@estpak.ee>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Can't compile XFree86-4-Server
Message-ID:  <20020912102025.F13039-100000@volatile.chemikals.org>
In-Reply-To: <20020912123701.GA63535@tiiu.internal>

next in thread | previous in thread | raw e-mail | index | archive | help
I built all of XFree86 yesterday, with no problems. Try applying this
patch to your compiler and rebuiling it:

http://people.freebsd.org/~kan/gcc-all.diff

On a side note to -current / gcc maintainers  -- this patch seems to fix
some critical bugs, will it be committed?


On Thu, 12 Sep 2002, Vallo Kallaste wrote:

> Hi
>
> For a few days the XFree86-4-Server compilation fails with following
> error. I'm running -current as of yesterday with kan's patch. The
> world and kernel is built with CPUTYPE=p4 and I'm trying to build
> complete set of packages for an old P2, thus CPUTYPE=p2 for entire
> package build.
>
> rm -f miPck1Prim.o
> LD_LIBRARY_PATH=../../../../../../exports/lib cc -O -pipe -march=pentium2 -march=pentium2  -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith   -fno-merge-constants -I. 	-I../include 	-I../../../../../../exports/include/X11 	-I../../../include 	-I../../../../../../programs/Xserver/include  -I../../../../../.. -I../../../../../../exports/include   -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension   -DPANORAMIX  -DRENDER  -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG  -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DXFree86Module    -c miPck1Prim.c
> miPck1Prim.c: In function `CheckFAreaPick1':
> miPck1Prim.c:337: unable to find a register to spill in class `FLOAT_REGS'
> miPck1Prim.c:337: this is the insn:
> (insn 275 273 277 (set (subreg:SF (reg/v:DI 29 rmm0 [64]) 0)
>         (float:SF (mem/s/j:HI (reg/v/f:SI 2 ecx [61]) [0 <variable>.x+0 S2 A16]))) 167 {floathisf2} (insn_list 271 (nil))
>     (nil))
> miPck1Prim.c:337: confused by earlier errors, bailing out
> *** Error code 1
>
> Stop in /usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserver/PEX5/ddpex/mi/level1.
> *** Error code 1
>
> Stop in /usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserver/PEX5.
> *** Error code 1
>
> Stop in /usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserver.
> *** Error code 1
>
> Stop in /usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Server/work/xc/programs.
> *** Error code 1
>
> Stop in /usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Server/work/xc.
> *** Error code 1
>
> Stop in /usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Server/work/xc.
> *** Error code 1
>
> Stop in /usr/ports/x11-servers/XFree86-4-Server.
> *** Error code 1
>
> Stop in /usr/ports/x11/XFree86-4.
>

-- 
                                           _ __ ___ ____  ___ ___ ___
          Wesley N Morgan                       _ __ ___ | _ ) __|   \
          morganw@chemikals.org                     _ __ | _ \._ \ |) |
          FreeBSD: The Power To Serve                  _ |___/___/___/
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020912102025.F13039-100000>