From owner-freebsd-current Sun Sep 22 5: 4:27 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 E38C537B401 for ; Sun, 22 Sep 2002 05:04:24 -0700 (PDT) Received: from MX3.estpak.ee (ld1.estpak.ee [194.126.101.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65C7B43E6E for ; Sun, 22 Sep 2002 05:04:23 -0700 (PDT) (envelope-from kalts@estpak.ee) Received: from tiiu.internal (80-235-37-187-dsl.lsn.estpak.ee [80.235.37.187]) by MX3.estpak.ee (Postfix) with ESMTP id B4A3F88016 for ; Sun, 22 Sep 2002 15:04:21 +0300 (EEST) Received: from tiiu.internal (localhost [127.0.0.1]) by tiiu.internal (8.12.6/8.12.6) with ESMTP id g8MC4LC0015726 for ; Sun, 22 Sep 2002 15:04:21 +0300 (EEST) (envelope-from vallo@tiiu.internal) Received: (from vallo@localhost) by tiiu.internal (8.12.6/8.12.6/Submit) id g8MC4LlT015725 for freebsd-current@freebsd.org; Sun, 22 Sep 2002 15:04:21 +0300 (EEST) Date: Sun, 22 Sep 2002 15:04:21 +0300 From: Vallo Kallaste To: freebsd-current@freebsd.org Subject: Re: Followup to XFree86-4-Server and lcms problems Message-ID: <20020922120421.GA15591@tiiu.internal> Reply-To: kalts@estpak.ee References: <20020913123532.GA2402@tiiu.internal> <20020918185929.GA3985@tiiu.internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20020918185929.GA3985@tiiu.internal> 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 Wed, Sep 18, 2002 at 09:59:29PM +0300, Vallo Kallaste wrote: > In case someone is interested about consistent test case, here's > additional info. Now I built both world and kernel with CPUTYPE=3Dp2 > and kan's patch. I haven't changed anything except uncommenting the > aforementioned CPUTYPE clause in make.conf. The package build run > ends up with same failure on the same place as before. I'm going to > update the system sources because of recent gcc import.. in hopes > it'll fix the bug. The failure below is triggered consistently by setting CPUTYPE to any of p[234] in /etc/make.conf. /usr/share/mk/bsd.cpu.mk defines _CPUCFLAGS =3D -mcpu=3Dpentiumpro and CPUTYPE =3D i386 in case MACHINE_ARCH=3Di386 and CPUTYPE is unset. Setting CPUTYPE=3Dp[234] will cause precise setting of -march as seen below, in this case -march=3Dpentium2 and this is the bugger. CPUTYPE=3Di686 in make.conf will cause -march=3Dpentiumpro and this works. It's probably worth to mention in some kind of document that precise setting of CPUTYPE to p[234] can cause all sorts of weirdness and the more broad definition CPUTYPE=3Di686 is more likely to work. > rm -f miPck1Prim.o > LD_LIBRARY_PATH=3D/usr/local/src/portbuild/usr/ports/x11-servers/XFree86-= 4-Server/work/xc/exports/lib cc -O -pipe -march=3Dpentium2 -march=3Dpentium= 2 -ansi -pedantic -Dasm=3D__asm -Wall -Wpointer-arith -fno-merge-constan= ts -I. -I../include -I/usr/local/src/portbuild/usr/ports/x11-servers/XFre= e86-4-Server/work/xc/exports/include/X11 -I../../../include -I/usr/local/= src/portbuild/usr/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserv= er/include -I/usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Serv= er/work/xc -I/usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Serve= r/work/xc/exports/include -I/usr/X11R6/include -DCSRG_BASED -DSHAPE -DXINP= UT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExten= sion -DPANORAMIX -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSIN= GLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86V= IDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=3DX_LI= TTLE_ENDIAN -DNDEBUG -DFUNCPROTO=3D15 -DNARROWPROTO -DIN_MODULE -DXFree86= Module -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 S= 2 A16]))) 167 {floathisf2} (insn_list 271 (nil)) > (nil)) > miPck1Prim.c:337: confused by earlier errors, bailing out > *** Error code 1 >=20 > Stop in /usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Server/w= ork/xc/programs/Xserver/PEX5/ddpex/mi/level1. > *** Error code 1 >=20 > Stop in /usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Server/w= ork/xc/programs/Xserver/PEX5. > *** Error code 1 >=20 > Stop in /usr/local/src/portbuild/usr/ports/x11-servers/XFree86-4-Server/w= ork/xc/programs/Xserver. > *** Error code 1 (ignored) > *** Error code 1 >=20 > Stop in /usr/ports/x11-servers/XFree86-4-Server. > *** Error code 1 >=20 > Stop in /usr/ports/x11/wrapper. > *** Error code 1 >=20 > Stop in /usr/ports/x11/XFree86-4. --=20 Vallo Kallaste kalts@estpak.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message