Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230786 - dev-scheme/drscheme-4.0.1 emerge hangs while running lt-mzscheme3m
Summary: dev-scheme/drscheme-4.0.1 emerge hangs while running lt-mzscheme3m
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Scheme Project
Depends on:
Reported: 2008-07-04 19:14 UTC by Jure Repinc
Modified: 2009-03-22 13:00 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jure Repinc 2008-07-04 19:14:59 UTC
When I try to emerge dev-scheme/drscheme-4.0.1 the process hangs in one spot for ever. At that time it is running lt-mzscheme3m, which has 100% CPU usage constantly.

Reproducible: Always

Steps to Reproduce:
1. try to emerge dev-scheme/drscheme-4.0.1

Actual Results:  
Emerge hangs with this in console:
/var/tmp/portage/dev-scheme/drscheme-4.0.1/work/plt-4.0.1/src/lt/libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -o data.lo create.lo misc.lo rgb.lo scan.lo parse.lo hashtab.lo WrFFrP.lo RdFToP.lo CrPFrDat.lo CrDatFrP.lo WrFFrI.lo RdFToI.lo CrIFrDat.lo CrDatFrI.lo CrIFrBuf.lo CrPFrBuf.lo CrBufFrI.lo CrBufFrP.lo RdFToDat.lo WrFFrDat.lo Attrib.lo CrIFrP.lo CrPFrI.lo Image.lo Info.lo RdFToBuf.lo WrFFrBuf.lo
ar cru .libs/libXpm.a .libs/data.o .libs/create.o .libs/misc.o .libs/rgb.o .libs/scan.o .libs/parse.o .libs/hashtab.o .libs/WrFFrP.o .libs/RdFToP.o .libs/CrPFrDat.o .libs/CrDatFrP.o .libs/WrFFrI.o .libs/RdFToI.o .libs/CrIFrDat.o .libs/CrDatFrI.o .libs/CrIFrBuf.o .libs/CrPFrBuf.o .libs/CrBufFrI.o .libs/CrBufFrP.o .libs/RdFToDat.o .libs/WrFFrDat.o .libs/Attrib.o .libs/CrIFrP.o .libs/CrPFrI.o .libs/Image.o .libs/Info.o .libs/RdFToBuf.o .libs/WrFFrBuf.o
ranlib .libs/libXpm.a
(cd .libs && rm -f && ln -s ../
make[6]: Leaving directory `/var/tmp/portage/dev-scheme/drscheme-4.0.1/work/plt-4.0.1/src/wxxt/contrib/xpm/lib'
make[5]: Leaving directory `/var/tmp/portage/dev-scheme/drscheme-4.0.1/work/plt-4.0.1/src/wxxt/src/x'
make[4]: Leaving directory `/var/tmp/portage/dev-scheme/drscheme-4.0.1/work/plt-4.0.1/src/mred'
cd wxs; make ccsources
make[4]: Entering directory `/var/tmp/portage/dev-scheme/drscheme-4.0.1/work/plt-4.0.1/src/mred/wxs'
make[4]: Nothing to be done for `ccsources'.
make[4]: Leaving directory `/var/tmp/portage/dev-scheme/drscheme-4.0.1/work/plt-4.0.1/src/mred/wxs'
cd gc2; make gen-deps
make[4]: Entering directory `/var/tmp/portage/dev-scheme/drscheme-4.0.1/work/plt-4.0.1/src/mred/gc2'
../../mzscheme/mzscheme3m -cqu "./"

Expected Results:  
Emerge should complete normally.

# emerge --info
Portage 2.2_rc1 (default-linux/amd64/2007.0/no-multilib, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r8 x86_64)
System uname: Linux-2.6.24-gentoo-r8-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5
Timestamp of tree: Fri, 04 Jul 2008 11:36:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r5
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-devel/autoconf:  2.13, 2.62-r1
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-r1
sys-devel/binutils:  2.18-r2
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"
CFLAGS="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/cursors/xorg-x11/default"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
LINGUAS="en sl"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/portage/local/layman/thousand-parsec /root/portageoverlay"
USE="X a52 aac acl acpi alsa amd64 apache2 audiofile avi berkdb bzip2 cairo cdr cli cracklib crypt cups curl dbus dri dts dvd dvdr dvdread eds encode esd exif expat fam fbcon ffmpeg flac foomaticdb fortran freetype ftp gdbm geoip gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv idn imagemagick ipv6 isdnlog jabber jpeg kde kdehiddenvisibility lcms lm_sensors mad matroska midi mmx mng mozilla mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl php png posix ppds pppd python qt3 qt4 quicktime readline reflection samba scanner sdl session slp speex spell spl sqlite sse sse2 ssl stream subversion svg tcpd tetex theora tiff truetype unicode usb vhosts videos vorbis xcomposite xine xml xml2 xorg xosd xprint 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 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="en sl" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2008-07-04 21:11:25 UTC
I'm guessing it's either your use flags (what are they?), gcc-4.3.1, or -frename-registers that's causing this.
Comment 2 Jure Repinc 2008-07-05 00:58:18 UTC
The flags are X, cairo and opengl. I will try to re-emerge the currently installed version 372-r1 which was compiled with old GCC to see if I get the same problem with GCC 4.3.1.
Comment 3 Jure Repinc 2008-07-05 13:49:56 UTC
OK here are the results:
372-r1 compiled just fine with GCC 4.3.1 and -frename-registers enabled
for 4.0.1 I had to disable -frename-registers and then it also compiled fine
So i guess this bug report should go upstream to GCC?
Comment 4 Dmitry Dzhus 2008-07-30 08:00:06 UTC
drscheme-4.0.2 compiles fine for me with gcc-4.3.1 and `-frename-registers`.

   * dev-scheme/drscheme-4.0.2
   Install date: Wed Jul 30 11:29:57 2008
   USE="cairo X -backtrace -llvm -opengl -profile"

This might be an x86_64-specific bug.
Comment 5 Marijn Schouten (RETIRED) gentoo-dev 2008-08-21 11:08:12 UTC
does 4.1 suffer from this?
Comment 6 Jure Repinc 2009-01-16 13:09:11 UTC
I'm just compiling plt-scheme 4.1.3 with gcc 4.3.2 and it has hung again. So yes, 4.1 still suffers. Should the bug be reopened?
Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2009-01-19 13:02:12 UTC
Please try without -frename-registers.