From owner-freebsd-current Fri Sep 13 12: 9:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B46B237B400 for ; Fri, 13 Sep 2002 12:09:07 -0700 (PDT) Received: from ncsmtp03.ogw.rr.com (ncsmtp03.ogw.rr.com [24.93.67.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52E8B43E65 for ; Fri, 13 Sep 2002 12:09:06 -0700 (PDT) (envelope-from morganw@chemikals.org) Received: from mail7.sc.rr.com (fe7 [24.93.67.54]) by ncsmtp03.southeast.rr.com (8.12.5/8.12.2) with ESMTP id g8CEKnoQ008158; Thu, 12 Sep 2002 10:21:54 -0400 (EDT) Received: from cae57-176-076.sc.rr.com ([66.57.176.76]) by mail7.sc.rr.com with Microsoft SMTPSVC(5.5.1877.757.75); Thu, 12 Sep 2002 10:21:38 -0400 Date: Thu, 12 Sep 2002 10:21:38 -0400 (EDT) From: Wesley Morgan To: Vallo Kallaste Cc: freebsd-current@freebsd.org Subject: Re: Can't compile XFree86-4-Server In-Reply-To: <20020912123701.GA63535@tiiu.internal> Message-ID: <20020912102025.F13039-100000@volatile.chemikals.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 .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