A quick search revealed two other bugs for libpcre, but they looked to be different bugs. I tried to build it three times, and it failed each time. This system has a fresh installation. The build failed on this command: i686-pc-linux-gnu-g++ -c -O2 -march=pentium2 -pipe -fPIC -I. -I. -DSUPPORT_UTF8 -DPOSIX_MALLOC_THRESHOLD=10 ./pcre_stringpiece.cc -o pcre_stringpiece.o >/dev/null 2>&1 make: *** [pcre_stringpiece.o] Error 1 make: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++: Internal error: Killed (program cc1plus) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make: *** [pcrecpp_unittest.o] Error 1 {standard input}: Assembler messages: {standard input}:14818: Warning: end of file not at end of a line; newline inserted {standard input}:15642: Error: no such instruction: `r' emerge --info Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.4.31 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Celeron (Mendocino) Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.phy.olemiss.edu/mirror/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="C" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dri eds emboss encode esd expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer gtk2 imlib isdnlog jpeg libg++ libwww mad memlimit mikmod motif mp3 mpeg ncurses nptl ogg opengl oss pam pcre pdflib perl png posix pppd python quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev vorbis xml xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Can you reproduce the problem, i.e. - does it fail at *exactly* the same place again? Also, upgrade gcc to latest stable version at least (3.4.5-r1) when reporting compiler issues.
Yes, after upgrading gcc to 3.4.5-r1 the build went smoothly. I should have tried that before posting. Marking as closed.