From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 26 12:10:02 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 845B216A41A for ; Fri, 26 Oct 2007 12:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5EB4B13C4B5 for ; Fri, 26 Oct 2007 12:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9QCA2tH021421 for ; Fri, 26 Oct 2007 12:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9QCA26X021420; Fri, 26 Oct 2007 12:10:02 GMT (envelope-from gnats) Resent-Date: Fri, 26 Oct 2007 12:10:02 GMT Resent-Message-Id: <200710261210.l9QCA26X021420@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kyryll A Mirnenko Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A15A16A418 for ; Fri, 26 Oct 2007 12:07:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 78EB013C4B3 for ; Fri, 26 Oct 2007 12:07:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9QC753x099077 for ; Fri, 26 Oct 2007 12:07:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l9QC75uH099076; Fri, 26 Oct 2007 12:07:05 GMT (envelope-from nobody) Message-Id: <200710261207.l9QC75uH099076@www.freebsd.org> Date: Fri, 26 Oct 2007 12:07:05 GMT From: Kyryll A Mirnenko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: gnu/117530: gcc4.2.1 in 7.0 produces internal errors for some flags X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 12:10:02 -0000 >Number: 117530 >Category: gnu >Synopsis: gcc4.2.1 in 7.0 produces internal errors for some flags >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 26 12:10:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Kyryll A Mirnenko >Release: RELENG_7 >Organization: >Environment: FreeBSD miryanote 7.0-BETA1 FreeBSD 7.0-BETA1 #1: Wed Oct 24 00:22:59 EEST 2007 root@miryanote:/usr/obj/usr/src/sys/MY-LITE i386 >Description: gcc produces an internal error for a specific CFLAGS; with CFLAGS=-O2 -ffast-math -pipe building of x11-fonts/libXfont fails this way: ===> Building for libXfont-1.3.1,1 .. /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts -I../../include -I../../src/stubs -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -ffast-math -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontxlfd.lo -MD -MP -MF .deps/fontxlfd.Tpo -c -o fontxlfd.lo fontxlfd.c cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts -I../../include -I../../src/stubs -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2 -pipe -ffast-math -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontxlfd.lo -MD -MP -MF .deps/fontxlfd.Tpo -c fontxlfd.c -fPIC -DPIC -o .libs/fontxlfd.o fontxlfd.c: In function 'xlfd_double_to_text': fontxlfd.c:190: error: unable to find a register to spill in class 'AREG' fontxlfd.c:190: error: this is the insn: (insn:HI 388 105 389 17 (set (reg:HI 1 dx [121]) (unspec:HI [ (compare:CCFP (reg/v:DF 83 [ value ]) (const_double:DF 0.0 [0x0.0p+0])) ] 21)) 13 {*cmpfp_0} (nil) (nil)) fontxlfd.c:190: confused by earlier errors, bailing out *** Error code 1 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src/util. *** Error code 1 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src. *** Error code 1 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1. *** Error code 1 Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1. *** Error code 1 Stop in /usr/ports/x11-fonts/libXfont. gcc-3.4.6 from 6.2 was able to build the same port with the same CFLAGS >How-To-Repeat: Set the CFLAGS to what written above and try building x11-fonts/libXfont on 7.0 >Fix: >Release-Note: >Audit-Trail: >Unformatted: