When trying to update sys-apps/sandbox it fails at the compile stage. It did worked on 64bit systems, it only fails on 32bit, hardened gcc profiles. It always fails after debug.lo from libsbutil: ......... Making all in libsbutil CC get_sandbox_conf.lo CC get_sandbox_confd.lo CC get_sandbox_lib.lo CC get_sandbox_rc.lo CC get_sandbox_log.lo CC get_tmp_dir.lo CC is_env_on.lo CC is_env_off.lo CC sb_backtrace.lo CC sb_efuncs.lo CC sb_open.lo CC sb_read.lo CC sb_write.lo CC sb_write_fd.lo CC sb_close.lo CC sb_printf.lo CC sb_proc.lo CC sb_memory.lo CC debug.lo i686-pc-linux-gnu-gcc: internal compiler error: Segmentation fault (program cc1) ...... Reproducible: Always Steps to Reproduce: 1.emerge -v sys-apps/sandbox 2. 3. Actual Results: Making all in libsbutil CC get_sandbox_conf.lo CC get_sandbox_confd.lo CC get_sandbox_lib.lo CC get_sandbox_rc.lo CC get_sandbox_log.lo CC get_tmp_dir.lo CC is_env_on.lo CC is_env_off.lo CC sb_backtrace.lo CC sb_efuncs.lo CC sb_open.lo CC sb_read.lo CC sb_write.lo CC sb_write_fd.lo CC sb_close.lo CC sb_printf.lo CC sb_proc.lo CC sb_memory.lo CC debug.lo i686-pc-linux-gnu-gcc: internal compiler error: Segmentation fault (program cc1) Expected Results: Program should compile. emerge --info: Portage 2.1.12.2 (hardened/linux/x86, gcc-4.6.3-vanilla, glibc-2.15-r3, 3.0.9-grsec-i005 i686) ================================================================= System uname: Linux-3.0.9-grsec-i005-i686-Intel-R-_Celeron-R-_CPU_2.80GHz-with-gentoo-2.2 KiB Mem: 500892 total, 69924 free KiB Swap: 996024 total, 961176 free Timestamp of tree: Thu, 27 Jun 2013 02:15:01 +0000 ld GNU ld (GNU Binutils) 2.22 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13::<unknown repository>, 2.69 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo x-overlay hardened-dev ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /local/adm/bin /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control /var/service" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/local/portage/distfiles" FCFLAGS="-march=i686 -O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr" FFLAGS="-march=i686 -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/local/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/local/portage/build" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/local/portage/overlay /local/portage/layman/hardened-development" SYNC="rsync://mirrors.bu.avira.com/gentoo-portage" USE="bzip2 caps crypt cxx hardened pam pic readline sse sse2 ssl unicode x86 zlib" ABI_X86="32" APACHE2_MODULES="alias auth_basic authn_dbd authn_default authn_file authz_default authz_groupfile authz_host authz_user autoindex deflate dir env filter headers log_config mime rewrite setenvif" APACHE2_MPMS="prefork" CURL_SSL="openssl" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python2_7 python3_2" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON It happens consistently on 6 32bit hardened profile boxes, didn't happened on 64bit boxes, didn't happened on 32bit non-hardened profile.
Can you check if you run out of memory and swap? (eg. using `htop`)
Neither swap nor memory are filled. This happens consistently on 6 of my machines, some of them are under load but some are quite 'empty'.
this is fine here
seems like everyone hitting it is on x86 *** This bug has been marked as a duplicate of bug 425524 ***