Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2000 15:28:00 +0930 (CST)
From:      Greg Lehey <grog@wantadilla.lemis.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   gnu/18542: Compiler fails when compiling XFree86 with optimization
Message-ID:  <200005140558.PAA61713@wantadilla.lemis.com>

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

>Number:         18542
>Category:       gnu
>Synopsis:       Compiler fails when compiling XFree86 with optimization
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 13 23:00:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Greg Lehey
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
LEMIS
		PO Box 460
		Echunga SA 5153
		Australia
>Environment:

	Any recent FreeBSD 5.0-CURRENT, latest development sources for
	XFree86.

>Description:

	When installing XFree86 after a successful 'make world', the
	compiler fails for multiple files with the following message:

	making all in programs/Xserver/Xext/extmod...
	rm -f xf86vmode.o
	cc -c -O2 -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith   -I.. -I../../include -I../../../../exports/include/X11 -I../../../../include/extensions          -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  -DIN_MODULE -DEXTMODULE  xf86vmode.c
	xf86vmode.c: In function `ProcXF86VidModeGetMonitor':
	xf86vmode.c:1320: Unable to generate reloads for:
	(insn 306 304 308 (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 299 (nil))
	    (expr_list:REG_DEAD (reg:SI 0 %eax)
	        (expr_list:REG_UNUSED (scratch:HI)
	            (nil))))

>How-To-Repeat:

	
>Fix:

	Fix not known.  Disabling optimization works around the
	problem.



>Release-Note:
>Audit-Trail:
>Unformatted:


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




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