Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420201 - cc1 loops at 100% CPU in bootstrapping, stuck on elfutils
Summary: cc1 loops at 100% CPU in bootstrapping, stuck on elfutils
Status: RESOLVED DUPLICATE of bug 262653
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-08 07:54 UTC by Rabbe Fogelholm
Modified: 2012-06-08 13:36 UTC (History)
0 users

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 Rabbe Fogelholm 2012-06-08 07:54:08 UTC
The looping occurs in the step 

env FEATURES="-collision-protect" emerge --oneshot sys-apps/portage

which pulls in many dependencies, one of them being elfutils. The looping process is 'cc1'. By inserting clauses in etc/portage/package.mask I tried if any of the available versions of elfutils might be possible to emerge, but no luck.

Below it can be seen that I used `MAKEOPTS=-j5', but it does not help to undo this. Probably the 'cc1' execution is not parallelized anyway.

The host OS is OpenSUSE 11.4 on a quad-core AMD64 machine. The output of `emerge --info' is:

Portage 2.2.01.20430-prefix (prefix/linux/amd64, gcc-4.2.4, unavailable, 2.6.37.6-0.7-desktop x86_64)
=================================================================
System uname: Linux-2.6.37.6-0.7-desktop-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2376-with-SuSE-11.4-x86_64
Timestamp of tree: Mon, 07 May 2012 21:50:07 +0000
app-shells/bash:          4.2_p20::gentoo_prefix
sys-devel/binutils:       2.22-r1::gentoo_prefix
sys-devel/gcc:            4.2.4-r01.4::gentoo_prefix
sys-devel/gcc-config:     1.5-r2::gentoo_prefix
sys-devel/make:           3.82::gentoo_prefix
sys-kernel/linux-headers: 3.3::gentoo_prefix (virtual/os-headers)
Repositories: gentoo_prefix
Installed sets: 
ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CPPFLAGS="-I/home/erarafo/g6/usr/include"
CXXFLAGS="-O2 -pipe"
DISTDIR="/home/erarafo/g6/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-L/home/erarafo/g6/usr/lib -Wl,-rpath=/home/erarafo/g6/usr/lib -L/home/erarafo/g6/lib -Wl,-rpath=/home/erarafo/g6/lib"
MAKEOPTS="-j5"
PKGDIR="/home/erarafo/g6/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/erarafo/g6/"
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="/home/erarafo/g6/var/tmp"
PORTDIR="/home/erarafo/g6/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="amd64 bootstrap bzip2 cli cracklib crypt cxx dri iconv ipv6 mmx modules mudflap ncurses nptl openmp pppd prefix readline session sse sse2 tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-08 09:26:24 UTC

*** This bug has been marked as a duplicate of bug 262653 ***
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-06-08 13:36:35 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 262653 ***

Yup, it is a dupe. I've "fixed" (workaround) it in the bootstrap-prefix.sh script however.