From owner-freebsd-current Mon Sep 23 3:55:23 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 6A71037B401 for ; Mon, 23 Sep 2002 03:55:22 -0700 (PDT) Received: from MX3.estpak.ee (ld1.estpak.ee [194.126.101.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45D9543E42 for ; Mon, 23 Sep 2002 03:55:21 -0700 (PDT) (envelope-from kalts@estpak.ee) Received: from tiiu.internal (80-235-38-139-dsl.lsn.estpak.ee [80.235.38.139]) by MX3.estpak.ee (Postfix) with ESMTP id AA12688021; Mon, 23 Sep 2002 13:55:19 +0300 (EEST) Received: from tiiu.internal (localhost [127.0.0.1]) by tiiu.internal (8.12.6/8.12.6) with ESMTP id g8NAtJBK001924; Mon, 23 Sep 2002 13:55:19 +0300 (EEST) (envelope-from vallo@tiiu.internal) Received: (from vallo@localhost) by tiiu.internal (8.12.6/8.12.6/Submit) id g8NAtIon001923; Mon, 23 Sep 2002 13:55:18 +0300 (EEST) Date: Mon, 23 Sep 2002 13:55:18 +0300 From: Vallo Kallaste To: "David P. Reese Jr." Cc: current@freebsd.org Subject: Re: trouble building XFree86-4-Server under yesterday's current Message-ID: <20020923105518.GB1863@tiiu.internal> Reply-To: kalts@estpak.ee References: <20020923100802.GA98826@tombstone.gomerbud.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020923100802.GA98826@tombstone.gomerbud.com> User-Agent: Mutt/1.5.1i-ja.1 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 Mon, Sep 23, 2002 at 03:08:02AM -0700, "David P. Reese Jr." wrote: > Current as of yesterday > > [daver@metropolis:/usr/ports/sysutils/xmbmon]$ uname -a > FreeBSD metropolis.gomerbud.com 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sun Sep 22 10:42:53 PDT 2002 root@metropolis.gomerbud.com:/usr/obj/usr/src/sys/METROPOLIS i386 > > 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. -- Vallo Kallaste kalts@estpak.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message