Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234888 - dev-cpp/glibmm-2.16.4 failed to build
Summary: dev-cpp/glibmm-2.16.4 failed to build
Status: RESOLVED DUPLICATE of bug 217112
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-16 08:27 UTC by Cédric Krier
Modified: 2008-08-21 14:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Krier gentoo-dev 2008-08-16 08:27:01 UTC
Compilation failed with this error:

/bin/sh ../../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\"   -I../../glib -I../../glib -I../../glib -I../../glib -I../.. -I../../gio -I../../gio -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -O2 -march=nocona -fomit-frame-pointer -pipe -Wall -Wno-long-long -MT optioncontext.lo -MD -MP -MF .deps/optioncontext.Tpo -c -o optioncontext.lo optioncontext.cc
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -I../../glib -I../../glib -I../../glib -I../../glib -I../.. -I../../gio -I../../gio -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=nocona -fomit-frame-pointer -pipe -Wall -Wno-long-long -MT optioncontext.lo -MD -MP -MF .deps/optioncontext.Tpo -c optioncontext.cc  -fPIC -DPIC -o .libs/optioncontext.o
optioncontext.cc: In function `virtual ~#`integer_type' not supported by dump_decl#<declaration error>(const gchar*, void*)':
optioncontext.cc:38: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[5]: *** [optioncontext.lo] Error 1
make[5]: *** Waiting for unfinished jobs....


Reproducible: Always




Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.24-hardened-r3-mactel i686)
=================================================================
System uname: 2.6.24-hardened-r3-mactel i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Fri, 15 Aug 2008 17:17:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://mirror.bytemark.co.uk/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/pythonhead /usr/portage/local/layman/sunrise /usr/portage/local/layman/armagetron /usr/portage/local/layman/tryton /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa avahi bash-completion bzip2 cdr cracklib crypt cups dbus dri dvd dvdread gtk hardened ipv6 jpeg lirc logrotate midi mmx motif mpeg nls nptl nptlonly opengl pam pic png readline sdl sse sse2 ssl svg threads truetype unicode urandom v4l2 vim-syntax win32codecs x86 xattr xcb xinerama xorg xscreensaver xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-16 10:29:22 UTC
optioncontext.cc:38: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.

Is it reproducible ?
Comment 2 Cédric Krier gentoo-dev 2008-08-16 10:39:58 UTC
(In reply to comment #1)
> Is it reproducible ?
> 

Yes.
I try now with -J1 but not yet failed.
Comment 3 Radoslaw Madej (radegand) 2008-08-20 21:25:17 UTC
same error: (on two different machines, one is 'athlon-xp', the other one is 'prescott'). Both are using the gentoo hardened profile (with 2.6.25 and 2.6.26 respectively). Also always reproducible. Tried MAKEOPTS="-j1" with no effect - still fails. However, the actuall errors are slightly different for both machines. Athlon:

/bin/sh ../../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\"   -I../../glib -I../../glib -I../../glib -I../../glib -I../.. -I../../gio -I../../gio -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -O2 -march=athlon-xp -pipe -fstack-protector -fstack-protector-all -Wall -Wno-long-long -MT keyfile.lo -MD -MP -MF .deps/keyfile.Tpo -c -o keyfile.lo keyfile.cc
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -I../../glib -I../../glib -I../../glib -I../../glib -I../.. -I../../gio -I../../gio -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=athlon-xp -pipe -fstack-protector -fstack-protector-all -Wall -Wno-long-long -MT keyfile.lo -MD -MP -MF .deps/keyfile.Tpo -c keyfile.cc  -fPIC -DPIC -o .libs/keyfile.o
keyfile.cc: In static member function `#`file_stmt' not supported by dump_decl#<declaration error>':
keyfile.cc:444: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[5]: *** [keyfile.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.16.4/work/glibmm-2.16.4/glib/glibmm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.16.4/work/glibmm-2.16.4/glib/glibmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.16.4/work/glibmm-2.16.4/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.16.4/work/glibmm-2.16.4/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.16.4/work/glibmm-2.16.4'
make: *** [all] Error 2

...and syslog:

grsec: signal 11 sent to /usr/libexec/gcc/i686-pc-linux-gnu/3.4.6/cc1plus[cc1plus:12137] uid/euid:0/0 gid/egid:0/0, parent /usr/i686-pc-linux-gnu/gcc-bin/3.4.6/i686-pc-linux-gnu-g++[i686-pc-linux-g:12136] uid/euid:0/0 gid/egid:0/0
grsec: signal 11 sent to /usr/libexec/gcc/i686-pc-linux-gnu/3.4.6/cc1plus[cc1plus:12154] uid/euid:0/0 gid/egid:0/0, parent /usr/i686-pc-linux-gnu/gcc-bin/3.4.6/i686-pc-linux-gnu-g++[i686-pc-linux-g:12136] uid/euid:0/0 gid/egid:0/0
cc1plus[12154]: segfault at 0 ip 080c8900 sp 5c0d7a20 error 4 in cc1plus[8048000+46a000]
grsec: signal 11 sent to /usr/libexec/gcc/i686-pc-linux-gnu/3.4.6/cc1plus[cc1plus:12154] uid/euid:0/0 gid/egid:0/0, parent /usr/i686-pc-linux-gnu/gcc-bin/3.4.6/i686-pc-linux-gnu-g++[i686-pc-linux-g:12136] uid/euid:0/0 gid/egid:0/0

emerge --info:

Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.5-r4, 2.6.25-hardened i686)
=================================================================
System uname: 2.6.25-hardened i686 AMD Athlon(tm) XP 2000+
Timestamp of tree: Wed, 20 Aug 2008 18:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fstack-protector -fstack-protector-all"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fstack-protector -fstack-protector-all"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ "
LINGUAS="pl en eo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa ao apache2 arts audiofile bash-completion berkdb bzip2 cddb cdparanoia cdr cracklib crypt cups curl dbus dga dri dv dvd dvdnav dvdr dvdread emacs encode exif ffmpeg fftw firefox flac ftp gd gdbm gif gimp gnome gnutls gphoto2 gpm graphviz gtk hal hardened imagemagick ipv6 java javascript jpeg jpeg2k kde kdexdeltas lm_sensors mad midi mime mmap mmx mozilla mp3 mpeg mplsyer msn mysql ncurses nls nptl nptlonly nsplugin odbc offensive ogg opengl pam pcre pdf perl pic png posix profile python qt3 qt3support qt4 quicktime readline real ruby samba sasl sdl session slang sockets socks5 sox speex spell sqlite sqlite3 sse sse2 ssl svg svga sysvipc tcpd tetex threads tiff truetype unicode urandom usb v4l vcd vorbis wifi win32codecs wmf x86 xcomposite xine xinetd xml xorg xosd xpm xscreensaver xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en eo" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

'prescott' fails with:

/bin/sh ../../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\"   -I../../glib -I../../glib -I../../glib -I../../glib -I../.. -I../../gio -I../../gio -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -O2 -march=prescott -fomit-frame-pointer -fstack-protector-all -fstack-protector -pipe -Wall -Wno-long-long -MT optionentry.lo -MD -MP -MF .deps/optionentry.Tpo -c -o optionentry.lo optionentry.cc
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -I../../glib -I../../glib -I../../glib -I../../glib -I../.. -I../../gio -I../../gio -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -march=prescott -fomit-frame-pointer -fstack-protector-all -fstack-protector -pipe -Wall -Wno-long-long -MT optionentry.lo -MD -MP -MF .deps/optionentry.Tpo -c optionentry.cc  -fPIC -DPIC -o .libs/optionentry.o

cc1plus: out of memory allocating 612325613 bytes after a total of 2012880 bytes
make[5]: *** [optioncontext.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/optionentry.Tpo .deps/optionentry.Plo

...also the following error is logged to syslog:

grsec: signal 11 sent to /usr/libexec/gcc/i686-pc-linux-gnu/3.4.6/cc1plus[cc1plus:19295] uid/euid:0/0 gid/egid:0/0, parent /usr/i686-pc-linux-gnu/gcc-bin/3.4.6/i686-pc-linux-gnu-g++[i686-pc-linux-g:19294] uid/euid:0/0 gid/egid:0/0

...then the 'cc1plus' process needs to be killed manually as it hangs forever utilizing 100% of one of the cores (from the 'top' command):

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
18999 root      20   0 1022m 313m 7616 R  101 15.5   7:06.91 cc1plus

..after killing it, full error message from emerge:

cc1plus: out of memory allocating 612325613 bytes after a total of 2012880 bytes
make[5]: *** [optioncontext.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/optionentry.Tpo .deps/optionentry.Plo
{standard input}: Assembler messages:
{standard input}:1459: Warning: end of file not at end of a line; newline inserted
i686-pc-linux-gnu-g++: Internal error: Terminated (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[5]: *** [keyfile.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.16.4/work/glibmm-2.16.4/glib/glibmm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.16.4/work/glibmm-2.16.4/glib/glibmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.16.4/work/glibmm-2.16.4/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.16.4/work/glibmm-2.16.4/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/glibmm-2.16.4/work/glibmm-2.16.4'
make: *** [all] Error 2


emerge --info:

Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.5-r4, 2.6.26-hardened i686)
=================================================================
System uname: 2.6.26-hardened i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Timestamp of tree: Wed, 20 Aug 2008 08:37:04 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -fstack-protector-all -fstack-protector -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -fstack-protector-all -fstack-protector -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ "
LINGUAS="pl en eo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa ao apache2 arts audiofile bash-completion berkdb bluetooth bzip2 cddb cdparanoia cdr cracklib crypt cups curl dbus dga dri dv dvd dvdnav dvdr dvdread emacs encode exif ffmpeg fftw firefox flac ftp gd gdbm gif gnome gnutls gpm graphviz gtk hal hardened imagemagick injection ipv6 ipw3945 java javascript jpeg jpeg2k kde kdexdeltas lm_sensors mad midi mime mmap mmx mozilla mp3 mpeg mplsyer msn mysql ncurses nls nptl nptlonly nsplugin nv odbc offensive ogg opengl pam pcre pdf perl pic png posix profile python qt3 qt3support qt4 quicktime readline real ruby samba sasl sdl session slang sockets socks5 sox speex spell sqlite sqlite3 sse sse2 ssl svg svga sysvipc tcpd tetex threads truetype unicode urandom usb v4l vcd vorbis wifi win32codecs wmf x86 xcomposite xine xinerama xinetd xml xorg xosd xpm xscreensaver xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en eo" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 4 Willie Wong 2008-08-21 02:23:09 UTC
Same error here. After the first failure, I tried to rerun the emerge, and the build pauses at the step right before the segfault shown below, and kept raking up memory (this was the first time in a long while all the swap was in use and 90% of the memory was dedicated to this compile; nothing else of note was running on the box at the same time), so I killed the merge. Let me know if there is any more information I should give. 

emerge --info:

Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.16-hardened-r10 i686)
=================================================================
System uname: 2.6.16-hardened-r10 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Timestamp of tree: Mon, 18 Aug 2008 19:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en fr zh_TW"
MAKEOPTS="-j1"
PKGDIR="/home/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/home/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aim alsa audiofile bash-completion bcmath bidi blender-game bzip2 cairo canna cdparanoia cdr cjk crypt cups curl djvu dri dts dv dvd dvdread encode exif expat fame ffmpeg firefox flac fpx ftp gd gdbm ggi gif gimp gimpprint glitz glut gphoto2 gpm graphviz gs gtk guile hardened hdri iconv imagemagick imap imlib inkjar java javascript jbig joystick jpeg jpeg2k lame latex lcms libcaca libwww lzo mad maildir math matroska mbox mbrola midi mikmod mime mjpeg mmx mmxext mng motif mozilla moznocompose moznomail moznoroaming mp3 mp4 mpeg musepack nas ncurses nethack network nls nptl nptlonly nsplugin offensive ogg ogg123 openexr opengl oscar pcre pdf perl pic plotutils png pnm pop posix postscript python quicktime readline real recode reiserfs restrict-javascript rle rtc samba sasl sdl slang slp smime soap sox spell srt sse sse2 ssl stroke subtitles svg tcltk tcpd tetex theora tidy tiff timidity tools truetype unicode usb userlocales uudeview vcd vim vim-pager vim-syntax vorbis win32codecs wmf x264 x86 xanim xchatdccserver xchattext xcomposite xine xinetd xml xorg xpm xv xvid zlib" ALSA_CARDS="intel8x0m intel8x0" ALSA_PCM_PLUGINS="dmix share dshare multi null copy empty route rate file softvol linear adpcm alaw asym dsnoop extplug hooks iec958 ioplug ladspa lfloat meter mulaw plug shm" APACHE2_MODULES="alias charset_lite env imagemap include log_config mime mime_magic negotiation rewrite setenvif userdir" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr zh_TW" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Error message:
mv -f .deps/iochannel.Tpo .deps/iochannel.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CO
NFIG_H -DG_LOG_DOMAIN=\"glibmm\"   -I../../glib -I../../glib -I../../glib -I../.
./glib -I../.. -I../../gio -I../../gio -I/usr/include/sigc++-2.0 -I/usr/lib/sigc
++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/u
sr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -march=pentium4 -O2 -pipe -
Wall -Wno-long-long -MT keyfile.lo -MD -MP -MF .deps/keyfile.Tpo -c -o keyfile.l
o keyfile.cc
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"glibmm\" -I../../glib -I
../../glib -I../../glib -I../../glib -I../.. -I../../gio -I../../gio -I/usr/incl
ude/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/
glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -m
arch=pentium4 -O2 -pipe -Wall -Wno-long-long -MT keyfile.lo -MD -MP -MF .deps/ke
yfile.Tpo -c keyfile.cc  -fPIC -DPIC -o .libs/keyfile.o
i686-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus)
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2008-08-21 09:48:40 UTC
@Hardened, could you guys shed some light over this? Glibmm is probably the most boring C++ code for g++ and I really don't see what the code does wrong that causes a g++ segfault.
Comment 6 Gordon Malm (RETIRED) gentoo-dev 2008-08-21 14:10:28 UTC
gcc 3.4.6's SSP has some various "issues" on C++ code.  I doubt they will be fixed.  That's not to say we aren't considering our options.

Workaround to compile this package is to use -hardenednossp specs.  A more permanent workaround is to add "-fno-stack-protector -fno-stack-protector-all" to CXXFLAGS.

*** This bug has been marked as a duplicate of bug 217112 ***
Comment 7 Attila Tóth 2008-08-21 14:31:16 UTC
(In reply to comment #6)
> gcc 3.4.6's SSP has some various "issues" on C++ code.  I doubt they will be
> fixed.  That's not to say we aren't considering our options.
> 
> Workaround to compile this package is to use -hardenednossp specs.  A more
> permanent workaround is to add "-fno-stack-protector -fno-stack-protector-all"
> to CXXFLAGS.
> 
> *** This bug has been marked as a duplicate of bug 217112 ***
> 

Or to use the experimental hardened gcc4 toolchain:
https://hardened.gentooexperimental.org/secure/

Works for me.

Regards,
Dw.