Firebird compile fails with the following information: g++ -march=pentium4 -O2 -pipe -fomit-frame-pointer -march=pentium4 -O2 -pipe -fomit-frame-pointer -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -DSUPERSERVER -pthread -D_REENTRANT -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mcpu=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -c ../src/jrd/svc.cpp -o ../temp/libfbserver/jrd/svc.o `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. ../src/jrd/svc.cpp: In function `void SVC_read_ib_log(svc*)': ../src/jrd/svc.cpp:2141: internal compiler error: in delete_insn, at cfgrtl.c:146 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/firebird-1.5.1/temp/cc6HmAEC.out file, please attach this to your bugreport. make[2]: *** [../temp/libfbserver/jrd/svc.o] Error 1 rm ../src/jrd/ini.cpp ../src/jrd/dyn_mod.cpp ../src/jrd/grant.cpp ../src/jrd/dfw.cpp ../src/jrd/dyn_def.cpp ../src/jrd/fun.cpp ../src/jrd/dyn.cpp ../src/jrd/dpm.cpp ../src/jrd/met.cpp ../src/jrd/scl.cpp ../src/jrd/dyn_del.cpp ../src/jrd/dyn_util.cpp ../src/jrd/pcmet.cpp make[2]: Leaving directory `/var/tmp/portage/firebird-1.5.1/work/firebird-1.5.1.4481/src' make[1]: *** [libfbserver] Error 2 make[1]: Leaving directory `/var/tmp/portage/firebird-1.5.1/work/firebird-1.5.1.4481/src' make: *** [firebird] Error 2 !!! ERROR: dev-db/firebird-1.5.1 failed. !!! Function src_compile, Line 50, Exitcode 2 !!! error during make !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. attempt to compile firebird 2. ??? 3. fail Here is my emerge info: Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-rc3-mm1 i686) ================================================================= System uname: 2.6.8-rc3-mm1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.6.7-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/fluidportage/trunk" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi aim alsa apache2 apm artswrappersuid avi berkdb bitmap-fonts cdr crypt cups curl dvd encode exif foomaticdb ftp gdbm gif gimp gnome gpm gtk gtk2 gtkhtml imap imlib java joystick jpeg kde ldap libg++ libwww mad mikmod mmap mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nptl offensive oggvorbis opengl oscar oss pam pda pdflib perl php png postgres python qt quicktime readline ruby samba sasl scanner sdl slang sockets spell sse ssl svg svga tcltk tcpd tiff tokenizer truetype usb wmf x86 xml xml2 xmlrpc xmms xprint xsl xv xvid zlib"
Created attachment 39976 [details] broken file Sorry I forgot about the preproccessed source, attaching it now.
This seems to have been a bug in gcc 3.4.1, now that I am on gcc 3.4.2 it is ok. Sorry for the bother.