Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51693 - Compiling CLISP consumes all available memory
Summary: Compiling CLISP consumes all available memory
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-21 14:13 UTC by Douglas Muth
Modified: 2004-06-17 08:15 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 Douglas Muth 2004-05-21 14:13:11 UTC
When I attempt to compile dev-lisp/clisp-2.33, I make it up to this line:

gcc -march=pentium3 -O2 -pipe -finline-functions -falign-functions=4  -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type  -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -DWANT_XPM=1 -DWANT_XSHAPE=1 genclx.c -o genclx

...and then I watch several hundred Megabytes of memory get used, until both the physical memory (512 Megs) and the swapfile (512 Megs) are both full.  This pretty much forces me to ^C out of that since the system becomes unusable at that point.



Reproducible: Always
Steps to Reproduce:
1.emerge -v clisp

Actual Results:  
Excessive memory consumption as described above.


Expected Results:  
Not eaten up all my memory.  I hope. :-)


Here is the contents of 'emerge info':

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1)
=================================================================
System uname: 2.6.1 i686 Mobile Intel(R) Pentium(R) 4     CPU 2.80GHz
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -finline-functions"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.
2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref 
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -finline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo 
http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif 
gnome gphoto2 gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif mozilla 
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python quicktime 
readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xmms xv zlib"

If it's of any additional help, the actual hardware is a Dell Inspirion 5150 laptop 
computer.

Thanks for your time, folks!
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-23 12:41:15 UTC
matt, can you e-me a list of who all is on the common-lisp team please?  I'd like to create a mail alias for it.
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2004-06-08 00:58:36 UTC
Douglas, I have two recommendations:  you might want to remove -finline-functions from your CFLAGS line in /etc/make.conf.  CLISP is very sensitive to optimizations flags.  You may also like to try the clisp-2.33.1 ebuild which completely ignores portage CFLAGS settings (it is also marked for x86 stable).  Let me know how that goes.
Comment 3 Douglas Muth 2004-06-17 08:15:53 UTC
Hi,

I just tried compiling clisp-2.33.2 and it compiled with no problems. :-)