From owner-freebsd-stable@FreeBSD.ORG Thu Jan 26 00:13:57 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA7E316A420 for ; Thu, 26 Jan 2006 00:13:57 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8BAE43D48 for ; Thu, 26 Jan 2006 00:13:54 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.4/8.13.4) with ESMTP id k0Q0DgCb084320; Thu, 26 Jan 2006 00:13:43 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <43D81430.5060900@infracaninophile.co.uk> Date: Thu, 26 Jan 2006 00:13:36 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5 (X11/20060113) MIME-Version: 1.0 To: Peter Jeremy References: <43D76846.8090200@izb.knu.ac.kr> <200601251229.k0PCTKNY033601@drugs.dv.isc.org> <20060125132352.44e452d3.steve@sohara.org> <20060125202620.GF25397@cirb503493.alcatel.com.au> In-Reply-To: <20060125202620.GF25397@cirb503493.alcatel.com.au> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig522320D99E7F4C95AA9B3811" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Thu, 26 Jan 2006 00:13:43 +0000 (GMT) X-Virus-Scanned: ClamAV 0.88/1250/Wed Jan 25 20:39:41 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,NO_RELAYS, UPPERCASE_25_50 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on happy-idiot-talk.infracaninophile.co.uk Cc: stable@freebsd.org Subject: Re: xorg-server 6.9.0 won't build on 4.11-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 00:13:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig522320D99E7F4C95AA9B3811 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Peter Jeremy wrote: > On Wed, 2006-Jan-25 13:23:52 +0000, Steve O'Hara-Smith wrote: >> On Wed, 25 Jan 2006 23:29:20 +1100 >> Mark Andrews wrote: >>> Or I suspect you can get away with just using gcc33 which >>> has va_copy() builtin. >> Hmm I have gcc34 courtesy of some other ports build dependency, >> so I suppose I could add a USE_GCC=3D3.4 to the Makefile. >> >> Would it be a good idea to add this to all the xorg-6.9 Makefiles ? >=20 > Looking at bsd.gcc.mk, maybe "USE_GCC=3D3.3+" would be acceptable. I > find ports that depend on specific version of gcc annoying - it's > not especially fast to build and having multiple versions lying > around starts to eat disk space. Nice idea, but unfortunately this trick seems not to work, at least with gcc34, due to problems with system C header files under 4.11-STABLE -- se= ems that there is a '#include ' missing somewhere. happy-idiot-talk:~:% uname -a FreeBSD happy-idiot-talk.infracaninophile.co.uk 4.11-STABLE FreeBSD 4.11-= STABLE #96: Thu Dec 29 14:07:11 GMT 2005 root@happy-idiot-talk.infrac= aninophile.co.uk:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK i386 happy-idiot-talk:/usr/src:% sudo portupgrade -m CC=3Dgcc34 -Ni x11-server= s/xorg-server [...] LD_LIBRARY_PATH=3D/home/ports/usr/ports/x11-servers/xorg-server/work/xc/e= xports/lib XLOCALEDIR=3D/home/ports/usr/ports/x11-servers/xorg-server/wor= k/xc/exports/lib/locale gcc34 -c -O -pipe -march=3Dk6 -ansi -pedantic -D= asm=3D__asm -Wall -Wpointer-arith -Wundef -I. -I../include -I/home/por= ts/usr/ports/x11-servers/xorg-server/work/xc/exports/include/X11 -I/home/= ports/usr/ports/x11-servers/xorg-server/work/xc/include/extensions = -I/home/ports/usr/ports/x11-servers/xorg-server/work/xc/include= /fonts -I../mi -I../render -I/home/ports/usr/ports/x11-servers/xorg-serve= r/work/xc/programs/Xserver/hw/xfree86/common -I/home/ports/usr/ports/x11-= servers/xorg-server/work/xc/include/fonts -I/home/ports/u= sr/ports/x11-servers/xorg-server/work/xc -I/home/ports/usr/ports/x11-serv= ers/xorg-server/work/xc/exports/include -I/usr/X11R6/include -I/usr/X11R6= /include -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DXAPPGROUP -DXCSECURITY -D= TOGCUP -DXF86BIGFONT -DDPMSExtension -DPANORAMI X -DRENDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -= DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree= 86LOADER -DDLOPEN_HACK -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSM= ART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=3DX_LITTLE_ENDIA= N -DXORG_VERSION_CURRENT=3D"(((6) * 10000000) + ((9) * 100000) + ((0) * 1= 000) + 0)" -DNDEBUG -DFUNCPROTO=3D15 -DNARROWPROTO -DMITMISC -DXTEST = -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF8= 6MISC -DDBE -DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DXF= 86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DRES -DH= AS_XVMCSHM xvdisp.c rm -f xvmc.o LD_LIBRARY_PATH=3D/home/ports/usr/ports/x11-servers/xorg-server/work/xc/e= xports/lib XLOCALEDIR=3D/home/ports/usr/ports/x11-servers/xorg-server/wor= k/xc/exports/lib/locale gcc34 -c -O -pipe -march=3Dk6 -ansi -pedantic -D= asm=3D__asm -Wall -Wpointer-arith -Wundef -I. -I../include -I/home/por= ts/usr/ports/x11-servers/xorg-server/work/xc/exports/include/X11 -I/home/= ports/usr/ports/x11-servers/xorg-server/work/xc/include/extensions = -I/home/ports/usr/ports/x11-servers/xorg-server/work/xc/include= /fonts -I../mi -I../render -I/home/ports/usr/ports/x11-servers/xorg-serve= r/work/xc/programs/Xserver/hw/xfree86/common -I/home/ports/usr/ports/x11-= servers/xorg-server/work/xc/include/fonts -I/home/ports/u= sr/ports/x11-servers/xorg-server/work/xc -I/home/ports/usr/ports/x11-serv= ers/xorg-server/work/xc/exports/include -I/usr/X11R6/include -I/usr/X11R6= /include -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DXAPPGROUP -DXCSECURITY -D= TOGCUP -DXF86BIGFONT -DDPMSExtension -DPANORAMI X -DRENDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -= DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree= 86LOADER -DDLOPEN_HACK -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSM= ART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=3DX_LITTLE_ENDIA= N -DXORG_VERSION_CURRENT=3D"(((6) * 10000000) + ((9) * 100000) + ((0) * 1= 000) + 0)" -DNDEBUG -DFUNCPROTO=3D15 -DNARROWPROTO -DMITMISC -DXTEST = -DXTRAP -DXSYNC -DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF8= 6MISC -DDBE -DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DXF= 86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DRES -DH= AS_XVMCSHM xvmc.c In file included from xvmc.c:27: /usr/include/sys/ipc.h:54: error: syntax error before "ushort" /usr/include/sys/ipc.h:55: error: ISO C forbids data definition with no t= ype or storage class /usr/include/sys/ipc.h:56: error: syntax error before "uid" /usr/include/sys/ipc.h:56: error: ISO C forbids data definition with no t= ype or storage class /usr/include/sys/ipc.h:57: error: syntax error before "gid" /usr/include/sys/ipc.h:57: error: ISO C forbids data definition with no t= ype or storage class /usr/include/sys/ipc.h:58: error: syntax error before "mode" /usr/include/sys/ipc.h:58: error: ISO C forbids data definition with no t= ype or storage class /usr/include/sys/ipc.h:59: error: syntax error before "seq" /usr/include/sys/ipc.h:59: error: ISO C forbids data definition with no t= ype or storage class /usr/include/sys/ipc.h:60: error: syntax error before "key" /usr/include/sys/ipc.h:60: error: ISO C forbids data definition with no t= ype or storage class /usr/include/sys/ipc.h:95: error: syntax error before "ftok" /usr/include/sys/ipc.h:95: error: ISO C forbids data definition with no t= ype or storage class In file included from xvmc.c:29: /usr/include/sys/shm.h:55: error: field `shm_perm' has incomplete type *** Error code 1 Stop in /home/ports/usr/ports/x11-servers/xorg-server/work/xc/programs/Xs= erver/Xext. *** Error code 1 Stop in /home/ports/usr/ports/x11-servers/xorg-server/work/xc/programs/Xs= erver. *** Error code 1 Stop in /usr/ports/x11-servers/xorg-server. ---> Build of x11-servers/xorg-server ended at: Wed, 25 Jan 2006 23:59:5= 6 +0000 (consumed 00:03:43) >> As an aside running a 6.8.2 server on top of 6.9 libraries produces >> an interesting effect - after a few minutes the mouse pointer dives to= the >> left side of the screen and then will only move vertically. Hmmm... works fine for me. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig522320D99E7F4C95AA9B3811 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD2BQ28Mjk52CukIwRAxYzAJ0cDjH1bi359Do7srGQSiv1J334GwCeJ2tx noU5HktL+XiOCTUgiRJtJLQ= =wHCk -----END PGP SIGNATURE----- --------------enig522320D99E7F4C95AA9B3811--