[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compile problem on i386 under -current #2



Hi again,

A second problem with gcc 2.95.2 on the i386, which I found while
compiling  XFree86 3.9.17, in xc/programs/Xserver/Xext: 

gcc -c -O2 -ansi -Dasm=__asm -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Wno-uninitialized   -I. -I../include -I../../../exports/include/X11
-I../../../include/extensions          -I../../../include/fonts
-I../mi -I../../../programs/Xserver/hw/xfree86/common
-I../../../include/fonts  -I../../.. -I../../../exports/include
-DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY
-DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX
-DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA
-DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE
-DX_BYTE_ORDER=X_LITTLE_ENDIAN -DSMART_SCHEDULE -DNDEBUG
-DFUNCPROTO=15 -DNARROWPROTO     xf86vmode.c
In file included from xf86vmode.c:41:
../include/extnsionst.h:91: warning: function declaration isn't a
prototype
../include/extnsionst.h:100: warning: function declaration isn't a
prototype
../include/extnsionst.h:106: warning: function declaration isn't a
prototype
xf86vmode.c: In function `ProcXF86VidModeGetMonitor':
xf86vmode.c:1320: Unable to generate reloads for:
(insn 300 298 302 (parallel[ 
            (set (reg:SI 0 %eax)
                (fix:SI (fix:SF (subreg:SF (reg:SI 0 %eax) 0))))
            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
                        (const_int -34 [0xffffffde])) 0))
            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
                        (const_int -36 [0xffffffdc])) 0))
            (clobber (mem:SI (plus:SI (reg:SI 6 %ebp)
                        (const_int -40 [0xffffffd8])) 0))
            (clobber (scratch:HI))
        ] ) 145 {fix_truncsfsi2+1} (insn_list 293 (nil))
    (expr_list:REG_DEAD (reg:SI 0 %eax)
        (expr_list:REG_UNUSED (scratch:HI)
            (nil))))
*** Error code 1


Removing -O2 makes it compile again. 

You can get XFree 3.9.17 source from
<ftp://ftp.xfree86.org/pub/XFree86/snapshots/3.9.17/source/> 
Only X3917src-1.tgz is needed to build the server.
-- 
					Matthieu