From owner-freebsd-current Mon Sep 23 6:33:40 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 C818A37B401 for ; Mon, 23 Sep 2002 06:33:38 -0700 (PDT) Received: from nic.upatras.gr (nic.upatras.gr [150.140.129.30]) by mx1.FreeBSD.org (Postfix) with SMTP id 851E943E3B for ; Mon, 23 Sep 2002 06:33:23 -0700 (PDT) (envelope-from keramida@freebsd.org) Received: (qmail 2457 invoked from network); 23 Sep 2002 13:24:46 -0000 Received: from upnet-dialinpool-95.upatras.gr (HELO hades.hell.gr) (150.140.128.159) by nic.upatras.gr with SMTP; 23 Sep 2002 13:24:46 -0000 Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.6/8.12.3) with ESMTP id g8NDVdmh001768; Mon, 23 Sep 2002 16:31:39 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by hades.hell.gr (8.12.6/8.12.3/Submit) id g8NDVd5Q001767; Mon, 23 Sep 2002 16:31:39 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Mon, 23 Sep 2002 16:31:38 +0300 (EEST) From: Giorgos Keramidas X-X-Sender: keramida@hades To: Vallo Kallaste Cc: "David P. Reese Jr." , Subject: Re: trouble building XFree86-4-Server under yesterday's current In-Reply-To: <20020923105518.GB1863@tiiu.internal> Message-ID: <20020923163051.V1756-100000@hades> 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 On 2002-09-23 13:55, Vallo Kallaste wrote: > On Mon, Sep 23, 2002 at 03:08:02AM -0700, "David P. Reese Jr." wrote: > > Current as of yesterday > > > > The XFree86 server build dies with an odd compiler message. I have no clue > > what it means. > > > > [snip] > > LD_LIBRARY_PATH=/usr/ports/x11-servers/XFree86-4-Server/work/xc/exports/lib cc -O -pipe -march=pentium2 -march=pentium2 -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith -fno-merge-constants -I. -I../include -I/usr/ports/x11-servers/XFree86-4-Server/work/xc/exports/include/X11 -I../../../include -I/usr/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserver/include -I/usr/ports/x11-servers/XFree86-4-Server/work/xc -I/usr/ports/x11-servers/XFree86-4-Server/work/xc/exports/include -I/usr/X11R6/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/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserver/PEX5/ddpex/mi/level1. > > *** Error code 1 > > This isn't a yesterdays problem, I've had this for a month or so. > The problem is explicit declaration of -march=p[234], use > CPUTYPE=i686 in /etc/make.conf and you get further. The second way > is to not set CPUTYPE at all, logic in /usr/share/mk/bsd.cpu.mk will > set -mcpu to what appears to fit. If you suspect the machine type optimizations for problems like this, you might want to try adding the following to /etc/make.conf too: NO_CPU_CFLAGS= true # Don't add -march= to CFLAGS automatically NO_CPU_COPTFLAGS=true # Don't add -march= to COPTFLAGS automatically Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message