From owner-freebsd-bugs Sat May 13 23: 0:14 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 87F0337BCFC for ; Sat, 13 May 2000 23:00:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA75968; Sat, 13 May 2000 23:00:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id DC76C37BCBB for ; Sat, 13 May 2000 22:57:32 -0700 (PDT) (envelope-from grog@wantadilla.lemis.com) Received: (from root@localhost) by wantadilla.lemis.com (8.9.3/8.9.3) id PAA61713; Sun, 14 May 2000 15:28:00 +0930 (CST) (envelope-from grog) Message-Id: <200005140558.PAA61713@wantadilla.lemis.com> Date: Sun, 14 May 2000 15:28:00 +0930 (CST) From: Greg Lehey Reply-To: grog@wantadilla.lemis.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/18542: Compiler fails when compiling XFree86 with optimization Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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