Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2002 15:04:21 +0300
From:      Vallo Kallaste <kalts@estpak.ee>
To:        freebsd-current@freebsd.org
Subject:   Re: Followup to XFree86-4-Server and lcms problems
Message-ID:  <20020922120421.GA15591@tiiu.internal>
In-Reply-To: <20020918185929.GA3985@tiiu.internal>
References:  <20020913123532.GA2402@tiiu.internal> <20020918185929.GA3985@tiiu.internal>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 18, 2002 at 09:59:29PM +0300, Vallo Kallaste <vallo> 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 <variable>.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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020922120421.GA15591>