Date: Mon, 23 Sep 2002 13:55:18 +0300 From: Vallo Kallaste <kalts@estpak.ee> To: "David P. Reese Jr." <daver@gomerbud.com> Cc: current@freebsd.org Subject: Re: trouble building XFree86-4-Server under yesterday's current Message-ID: <20020923105518.GB1863@tiiu.internal> In-Reply-To: <20020923100802.GA98826@tombstone.gomerbud.com> References: <20020923100802.GA98826@tombstone.gomerbud.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 23, 2002 at 03:08:02AM -0700, "David P. Reese Jr." <daver@gomerbud.com> 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 <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/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020923105518.GB1863>