Summary: | new gcc register allocator breaks for some packages | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brant Gurganus <brant> |
Component: | [OLD] Core system | Assignee: | Please assign to toolchain <gcc-porting> |
Status: | RESOLVED UPSTREAM | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
preprocessed sources
preprocessed sources of freetype preprocessed binutils source |
Description
Brant Gurganus
2004-02-18 10:36:46 UTC
Created attachment 25865 [details]
preprocessed sources
I removed -fnew-ra from my CFLAGS and it compiled fine this time. Freetype-2.1.5 does not compile with the -fnew-ra option on either: /var/tmp/portage/freetype-2.1.5/work/freetype-2.1.5/src/type1/t1load.c: In function `parse_charstrings': /var/tmp/portage/freetype-2.1.5/work/freetype-2.1.5/src/type1/t1load.c:1170: internal compiler error: in check_colors, at ra-colorize.c:2053 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/freetype-2.1.5/temp/ccWVwJSI.out file, please attach this to your bugreport make: *** [/var/tmp/portage/freetype-2.1.5/work/freetype-2.1.5/objs/type1.lo] Error 1 !!! ERROR: media-libs/freetype-2.1.5 failed. !!! Function src_compile, Line 33, Exitcode 2 !!! (no error message) Emerge --info: Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo) ================================================================= System uname: 2.6.3-gentoo i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -fprefetch-loop-arrays -fomit-frame-pointer -pipe -fnew-ra -ftracer -ffast-math" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -fprefetch-loop-arrays -fomit-frame-pointer -pipe -fnew-ra -ftracer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://128.213.5.34/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.netnitco.net" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 accessibility acl acpi alsa avi berkdb caps cdr chroot cjk crypt cups doc encode esd flac foomaticdb gdbm gif gnome gnutls gpm gtk gtk2 guile idea imlib innodb ipv6 java javamail javascript jikes jpeg junit justify kerberos krb4 lcms ldap libg++ libwww mad md5sum mikmod mmap mmx mozilla moznocompose moznoirc mpeg mysql nas ncurses nls nptl odbc offensive oggvorbis opengl oss pam pdflib perl png pnp ppds pwdb python quicktime readline ruby samba sdl skey slang spell sse ssl tcltk tcpd tetex threads tiff truetype trusted video_cards_radeon wmf wsconvert x86 xml xml2 xmms xv zlib" Created attachment 25885 [details]
preprocessed sources of freetype
Created attachment 25894 [details] preprocessed binutils source binutils broken the registry allocator as well. gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=pentium4 -mcpu=pentium4 -fprefetch-loop-arrays -pipe -ftracer -ffast-math -fnew-ra -c corefile.c -o corefile.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=pentium4 -mcpu=pentium4 -fprefetch-loop-arrays -pipe -ftracer -ffast-math -fnew-ra -c format.c coffgen.c: In function `_bfd_coff_read_string_table': coffgen.c:1686: internal compiler error: Didn't find a coloring. Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/binutils-2.14.90.0.7-r4/temp/ccLeODiW.out file, please attach this to your bugreport make[3]: *** [coffgen.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=pentium4 -mcpu=pentium4 -fprefetch-loop-arrays -pipe -ftracer -ffast-math -fnew-ra -c format.c -fPIC -DPIC -o .libs/format.o gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=pentium4 -mcpu=pentium4 -fprefetch-loop-arrays -pipe -ftracer -ffast-math -fnew-ra -c format.c -o format.o >/dev/null 2>&1 make[3]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.7-r4/work/binutils-2.14.90.0.7/bfd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.7-r4/work/binutils-2.14.90.0.7/bfd' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/binutils-2.14.90.0.7-r4/work/binutils-2.14.90.0.7/bfd' make: *** [all-bfd] Error 2 !!! ERROR: sys-devel/binutils-2.14.90.0.7-r4 failed. !!! Function src_compile, Line 130, Exitcode 2 !!! (no error message) emerge --info: Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo) ================================================================= System uname: 2.6.3-gentoo i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -fprefetch-loop-arrays -fomit-frame-pointer -pipe -ftracer -ffast-math -fnew-ra" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -mcpu=pentium4 -fprefetch-loop-arrays -fomit-frame-pointer -pipe -ftracer -ffast-math -fnew-ra" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://128.213.5.34/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.netnitco.net" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 accessibility acl acpi alsa avi berkdb caps cdr chroot cjk crypt cups doc encode esd flac foomaticdb gdbm gif gnome gnutls gpm gtk gtk2 guile idea imlib innodb ipv6 java javamail javascript jikes jpeg junit justify kerberos krb4 lcms ldap libg++ libwww mad md5sum mikmod mmap mmx mozilla moznocompose moznoirc mpeg mysql nas ncurses nls nptl odbc offensive oggvorbis opengl oss pam pdflib perl png pnp ppds pwdb python quicktime readline ruby samba sdl skey slang spell sse ssl tcltk tcpd tetex threads tiff truetype trusted video_cards_radeon wmf wsconvert x86 xml xml2 xmms xv zlib" As the options's help say - its in testing currently. Think you can file a bug upstream, as to be honest, I do not see this currently as a high priority? Well, for now, those packages could have that CFLAG masked. I'll file upstream. This is resolved wontfix upstream. I believe the new register allocator code was removed. See http://gcc.gnu.org/gcc-4.0/changes.html. Reopenning for proper resolution. (In reply to comment #9) > I believe the new register allocator code was removed. See > http://gcc.gnu.org/gcc-4.0/changes.html. Reopenning for proper resolution. What do you want to resolve here? It's been removed. |