Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230777 - Compile of mythtv-0.21_p17435 or p17637 pegs CPU and hard drive and fails to complete
Summary: Compile of mythtv-0.21_p17435 or p17637 pegs CPU and hard drive and fails to ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL: http://svn.mythtv.org/trac/ticket/550...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-04 18:14 UTC by Gregg Casillo
Modified: 2008-10-02 14:44 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 Gregg Casillo 2008-07-04 18:14:16 UTC
I have tried unsuccessfully for a week and a half to emerge/update/compile the latest MythTV builds (0.21_p17435 and 0.21_p17637). After starting the emerge, the compile rolls along until it reaches moc_hdhrsignalmonitor.cpp at which point the CPU is pegged and the hard drive spins hard. I have to CTRL-C to stop the emerge and return things to normal. This is on my dedicated MythTV HTPC (front & backend) which runs on a Core 2 Duo (AMD64). Conversely, I am able to emerge either build of MythTV on my desktop which runs on a Pentium 4 (x86). I recently updated to gcc-4.3.1, and I suspect this may be the culprit.

Reproducible: Always

Steps to Reproduce:
1. emerge mythtv
2. compile pegs CPU and hdd at moc_hdhrsignalmonitor.cpp
3. CTRL-C to end compile and return to normal

Actual Results:  
I am using an earlier emerge/build of mythtv-0.21_p17435, so this is low priority for me.

Expected Results:  
Emerged mythtv-0.21_p17637 with aplomb.

Please see the link to the MythTV bugtracker for more details. A dev there has reported the incident to the GCC team and closed the bug.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-04 20:43:02 UTC
Please provide `emerge --info`.
Comment 2 Gregg Casillo 2008-07-08 03:17:07 UTC
Portage 2.2_rc1 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.2.5
Timestamp of tree: Sat, 05 Jul 2008 23:15:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r5
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-r3
sys-devel/autoconf:  2.62-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-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 /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ http://files.gentoo.org http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://prometheus.cs.wmich.edu/gentoo"
LDFLAGS=""
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.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 arts audiofile bash-completion berkdb bzip2 cddb cdparanoia cdr cli cracklib crypt ctype dvd dvdread encode ffmpeg flac gdbm gif iconv imap imlib innodb ivtv joystick jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas libwww lirc lm_sensors mad maildir matroska midi mime mjpeg mmx mng modperl mp3 mpeg mudflap multilib mysql na_dd na_icons ncurses nfs nls nptl nptlonly nvidia ogg openal opengl openmp pcre perl php png python qt quicktime readline samba sasl sdl spamassassin speex spl sse sse2 ssl svg tcpd theora tiff transcode truetype unicode usb v4l v4l2 vhosts vim-syntax vorbis vpopmail x264 xine xml xorg xpm xv xvid xvmc 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2008-07-08 13:41:26 UTC
gcc 4.3.x does take considerably more memory to compile C++ code. Your CPU and hard drive are pegged because your system is actively swapping. Either leave it be and hope it completes. You'll need somewhere between 2.5g to 3g of RAM + swap to be able to successfully compile MythTV 0.21.x. MythTV 0.22.x (aka trunk) will require nearly 4g.
Comment 4 Gregg Casillo 2008-07-10 18:54:58 UTC
After an update to gcc-4.3.1-r1, I was able to successfully emerge mythtv-0.21_p17722. Thanks to all devs involved in squashing this bug!
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2008-10-02 14:44:37 UTC
reported to work by the reporter