Sorry that I can't come up with a patch for this problem. g++ -march=athlon-mp -O3 -pipe -fomit-frame-pointer -march=athlon-mp -O3 -pipe -fomit-frame-pointer -I../src/include/gen -I../src/include -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -MMD -fPIC -DPROD_BUILD -march=athlon-mp -O3 -pipe -fomit-frame-pointer -I../src/include/gen -I../src/include -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -MMD -fPIC -DPROD_BUILD -I../src/include/gen -I../src/include -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -MMD -fPIC -DPROD_BUILD -DBOOT_BUILD -I../src/include/gen -I../src/include -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -MMD -fPIC -DPROD_BUILD -c ../src/jrd/jrd.cpp -o ../temp/libfbstatic/jrd/jrd.o ../src/jrd/../jrd/jrd.h:1053: error: previous declaration of 'int debug' with 'C++' linkage ../src/jrd/jrd.cpp:424: error: conflicts with new declaration with 'C' linkage ../src/jrd/../jrd/jrd.h:1054: error: previous declaration of 'ihndl* internal_db_handles' with 'C++' linkage ../src/jrd/jrd.cpp:425: error: conflicts with new declaration with 'C' linkage ../src/jrd/jrd.cpp: In function 'ISC_STATUS check_database(tdbb*, att*, ISC_STATUS*)': ../src/jrd/jrd.cpp:4684: warning: deprecated conversion from string constant to 'TEXT*' make[3]: *** [../temp/libfbstatic/jrd/jrd.o] Error 1 rm ../src/jrd/dyn_util.cpp ../src/jrd/ini.cpp ../src/jrd/dyn_mod.cpp ../src/jrd/dfw.cpp ../src/jrd/dyn_def.cpp ../src/jrd/dpm.cpp ../src/jrd/met.cpp ../src/jrd/dyn.cpp ../src/jrd/grant.cpp ../src/jrd/scl.cpp ../src/jrd/dyn_del.cpp ../src/jrd/pcmet.cpp ../src/jrd/fun.cpp make[3]: Leaving directory `/var/tmp/portage/firebird-1.5.3-r1/work/firebird-1.5.3.4870/src' make[2]: *** [libfbstatic] Error 2 make[2]: Leaving directory `/var/tmp/portage/firebird-1.5.3-r1/work/firebird-1.5.3.4870/src' make[1]: *** [../gen/firebird/bin/gpre_static] Error 2 make[1]: Leaving directory `/var/tmp/portage/firebird-1.5.3-r1/work/firebird-1.5.3.4870/src' make: *** [firebird] Error 2 !!! ERROR: dev-db/firebird-1.5.3-r1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile firebird-1.5.3-r1.ebuild, line 69: Called die pegatoo ~ # emerge --info Portage 2.1.1 (hardened/x86/2.6, gcc-alpha20060902, glibc-2.4-r4, 2.6.16-pegatoo-hardened-r11 i686) ================================================================= System uname: 2.6.16-pegatoo-hardened-r11 i686 AMD Athlon(tm) MP 1600+ Gentoo Base System version 1.12.5 Last Sync: Wed, 11 Oct 2006 10:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LINGUAS="" MAKEOPTS="-j3" PKGDIR="/usr/portage//packages/x86/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="X apache2 berkdb crypt dlloader elibc_glibc hardened input_devices_keyboard input_devices_mouse ipv6 kernel_linux nls nptl nptlonly pam pic readline ssl tcpd userland_GNU userlocales x86 xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> gcc-alpha20060902 Err, huh? It builds just fine w/ gcc-4.1.1 here, no idea about your weirdo gcc snapshot, not to mention that such stuff is completely unsupported.
please excuse me! The gcc 4.2 snapshot is just in the tree, but indeed I agree that bug due to it are invalid. PS. Jakub, please don't remove me from the CC, as I like to get email notification from bugzilla, kthx.