Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2000 15:30:36 +0100 (CET)
From:      Theo van Klaveren <havoc@cal30b054.student.utwente.nl>
To:        freebsd-hackers@freebsd.org
Subject:   Compiler error while compiling XFree86-3.9.17
Message-ID:  <Pine.BSF.4.21.0002011522460.320-100000@phoenix.student.utwente.nl>

next in thread | raw e-mail | index | archive | help

I received the following compiler error while compiling the XFree86-3.9.17
snapshot on a (very) fresh -CURRENT system:

<-- begin cut'n'paste -->

cc -c -O2 -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wredundant-decls -Wnested-externs -I. -I.-I../../../include/fonts -I../mi 
-I../../../programs/Xserver/hw/xfree86/common -I../../../include/fonts
-I../../.. -I../../../exports/include -DCSRG_BASED -DSHAPE  -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
Stop in /usr/home/havoc/Build/xc/programs/Xserver/Xext.

<-- end cut'n'paste -->

I assume this is a compiler bug. Is there a workaround or a patch 
available for the system compiler or should I install the gcc-devel port
(for which I probably don't have enough disk space, but oh well)?

    /^\     | Theo van Klaveren       <havoc@phoenix.student.utwente.nl>
 /^\\_//^\  | http://phoenix.student.utwente.nl             ICQ #1353681
 \_/-|-\_/  |
    /       |                          This email was powered by FreeBSD
   
`He's the mad scientist, and I'm his beautiful daughter.'
    - opening sentence from Heinlein's 'The number of the beast'



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002011522460.320-100000>