Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141511 - sys-devel/gcc-4.1.1 stuck during compile
Summary: sys-devel/gcc-4.1.1 stuck during compile
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-23 10:54 UTC by Ryan McLinko
Modified: 2006-07-23 11:51 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 Ryan McLinko 2006-07-23 10:54:25 UTC
When I attempt to emerge sys-devel/gcc-4.1.1, it begins compiling and then gets stuck after the following lines (as in I've tried this twice and the second time let it sit for two days without it moving at all)

insn-attrtab.c is unchanged
echo timestamp > s-attrtab
stage1/xgcc -Bstage1/ -B/usr/i686-pc-linux-gnu/bin/  -02 -march=pentium2 -pipe -fprofile-generate -DIN_GCC  -W -Wall -Write-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute  -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/. -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../include -I/var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/../libcpp/include  -c insn-attrtab.c \  -o insn-attrtab.o

I've read that this insn-attrtab takes up a lot of memory and I only have 32 MB, but this shouldn't be a problem.

emerge --info:

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.16-gentoo-r12 i686)
=================================================================
System uname: 2.6.16-gentoo-r12 i686 Pentium II (Deschutes)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=i686 -pipe"
DCCC_PATH="/usr/lib/distcc/bin"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GCC_SPECS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HOME="/root"
HOSTNAME="mclinkor"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info"
INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="-j3"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos s390
sh sparc x86 x86-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="5889"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/root"
PYTHONPATH="/usr/lib/portage/pym"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/bash"
SHLVL="1"
SSH_CLIENT="18.248.6.224 1249 22"
SSH_CONNECTION="18.248.6.224 1249 18.248.5.247 22"
SSH_TTY="/dev/pts/1"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cli crypt cups
dlloader dri eds emboss encode esd expat foomaticdb fortran gdbm gif gpm
gstreamer imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg
ncurses nls nptl ogg oss pam pcre pdflib perl png pppd python qt qt3 qt4
quicktime readline reflection sdl session spell spl ssl tcpd truetype
truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib
input_devices_keyboard input_devices_mouse input_devices_evdev userland_GNU
kernel_linux elibc_glibc"
USER="root"
USERLAND="GNU"
USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS DVB_CARDS LIRC_DEVICES
INPUT_DEVICES LINGUAS USERLAND KERNEL ELIBC"
USE_EXPAND_HIDDEN="USERLAND KERNEL ELIBC"
XARGS="xargs -r"
_="/usr/bin/emerge"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 11:21:04 UTC
Err, tough luck w/ 32 megs of RAM, sorry... 

*** This bug has been marked as a duplicate of 20600 ***
Comment 2 Ryan McLinko 2006-07-23 11:39:59 UTC
So I can't use gcc-4.1.1 with 32 MB of RAM?  Is there a limit in gentoo where certain packages won't emerge with that much RAM.  That seems kind of strange.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 11:51:01 UTC
Err, minimal advertised hardware requirements for installing Gentoo are 64MB of RAM. Sorry, we can't do anything here, compile it somewhere else and install from binpkgs.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=2

*** This bug has been marked as a duplicate of 20600 ***