gnu/117530: gcc4.2.1 in 7.0 produces internal errors for some flags
Kyryll A Mirnenko
mirya at zoc.com.ua
Fri Oct 26 05:10:02 PDT 2007
>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 at 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:
More information about the freebsd-bugs
mailing list