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 <[EMAIL PROTECTED]> 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=3.4 to the Makefile.
>>
>>      Would it be a good idea to add this to all the xorg-6.9 Makefiles ?
> 
> Looking at bsd.gcc.mk, maybe "USE_GCC=3.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 -- seems
that there is a '#include <sys/types.h>' 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     [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/HAPPY-IDIOT-TALK  i386

happy-idiot-talk:/usr/src:% sudo portupgrade -m CC=gcc34 -Ni 
x11-servers/xorg-server

[...]

LD_LIBRARY_PATH=/home/ports/usr/ports/x11-servers/xorg-server/work/xc/exports/lib
 
XLOCALEDIR=/home/ports/usr/ports/x11-servers/xorg-server/work/xc/exports/lib/locale
 gcc34 -c -O -pipe -march=k6 -ansi -pedantic  -Dasm=__asm -Wall -Wpointer-arith 
-Wundef    -I. -I../include 
-I/home/ports/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-server/work/xc/programs/Xserver/hw/xfree86/common
 -I/home/ports/usr/ports/x11-servers/xorg-server/work/xc/include/fonts          
       -I/home/ports/usr/ports/x11-servers/xorg-server/work/xc 
-I/home/ports/usr/ports/x11-servers/xorg-server/work/xc/exports/include 
-I/usr/X11R6/include -I/usr/X11R6/include -DCSRG_BASED -DSHAPE -DXINPUT -DXKB  
-DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPANORAMI
X  -DRENDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE  -DGCCUSESGAS 
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension 
-DXFree86LOADER -DDLOPEN_HACK -DXFree86Server -DXF86VIDMODE -DXvMCExtension 
-DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN 
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) * 1000) + 0)" 
-DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO   -DMITMISC -DXTEST -DXTRAP -DXSYNC 
-DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE 
-DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DXF86DRI 
-DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA    -DRES -DHAS_XVMCSHM   
xvdisp.c
rm -f xvmc.o
LD_LIBRARY_PATH=/home/ports/usr/ports/x11-servers/xorg-server/work/xc/exports/lib
 
XLOCALEDIR=/home/ports/usr/ports/x11-servers/xorg-server/work/xc/exports/lib/locale
 gcc34 -c -O -pipe -march=k6 -ansi -pedantic  -Dasm=__asm -Wall -Wpointer-arith 
-Wundef    -I. -I../include 
-I/home/ports/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-server/work/xc/programs/Xserver/hw/xfree86/common
 -I/home/ports/usr/ports/x11-servers/xorg-server/work/xc/include/fonts          
       -I/home/ports/usr/ports/x11-servers/xorg-server/work/xc 
-I/home/ports/usr/ports/x11-servers/xorg-server/work/xc/exports/include 
-I/usr/X11R6/include -I/usr/X11R6/include -DCSRG_BASED -DSHAPE -DXINPUT -DXKB  
-DXAPPGROUP -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPANORAMI
X  -DRENDER -DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE  -DGCCUSESGAS 
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension 
-DXFree86LOADER -DDLOPEN_HACK -DXFree86Server -DXF86VIDMODE -DXvMCExtension 
-DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN 
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((9) * 100000) + ((0) * 1000) + 0)" 
-DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO   -DMITMISC -DXTEST -DXTRAP -DXSYNC 
-DXCMISC -DXRECORD -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE 
-DDPMSExtension -DEVI -DSCREENSAVER -DXV -DXVMC -DGLXEXT -DXF86DRI 
-DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA    -DRES -DHAS_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 type 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 type 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 type 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 type 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 type 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 type 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 type 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/Xserver/Xext.
*** Error code 1

Stop in /home/ports/usr/ports/x11-servers/xorg-server/work/xc/programs/Xserver.
*** 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:56 
+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

-- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to