Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57325 - eclipse-sdk 3.0.0 emerging fails : complaining on heap object size
Summary: eclipse-sdk 3.0.0 emerging fails : complaining on heap object size
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 13:34 UTC by guillaume
Modified: 2004-07-31 16:41 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 guillaume 2004-07-16 13:34:30 UTC
it fails with the following trace :
 * Building Mozilla component
g++ -O -fPIC -fno-rtti -Wall -I./ -I/opt/sun-jdk-1.4.2.05/include -I/opt/sun-jdk-1.4.2.05/include/linux -include /usr/lib/mozilla/include/mozilla-config.h -I/usr/lib/mozilla/include -I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/string -I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include/embed_base -I/usr/lib/mozilla/include/gfx -c xpcom.cpp
In file included from /usr/lib/mozilla/include/xpcom/nsIServiceManager.h:178,
                 from /usr/lib/mozilla/include/xpcom/nsDirectoryServiceUtils.h:27,
                 from /usr/lib/mozilla/include/xpcom/nsIFile.h:823,
                 from /usr/lib/mozilla/include/xpcom/nsILocalFile.h:10,
                 from /usr/lib/mozilla/include/embed_base/nsEmbedAPI.h:28,
                 from xpcom.cpp:33:
/usr/lib/mozilla/include/xpcom/nsIServiceManagerUtils.h:48: warning: `class
   nsGetServiceByCID' has virtual functions but non-virtual destructor
/usr/lib/mozilla/include/xpcom/nsIServiceManagerUtils.h:81: warning: `class
   nsGetServiceByContractID' has virtual functions but non-virtual destructor
/usr/lib/mozilla/include/xpcom/nsIServiceManagerUtils.h:114: warning: `class
   nsGetServiceFromCategory' has virtual functions but non-virtual destructor
In file included from xpcom.cpp:37:
/usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:45: warning: `class
   nsArrayEnumerator' only defines a private destructor and has no friends
/usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:45: warning: `class
   nsArrayEnumerator' has virtual functions but non-virtual destructor
/usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:72: warning: `class
   nsSingletonEnumerator' only defines a private destructor and has no friends
/usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:72: warning: `class
   nsSingletonEnumerator' has virtual functions but non-virtual destructor
g++ -shared -fpic -s -o libswt-mozilla-gtk-3062.so xpcom.o -L/usr/lib/mozilla -lxpcom
 * Building resources.core plugin
gcc -fPIC -g -c -I/opt/sun-jdk-1.4.2.05/include -I/opt/sun-jdk-1.4.2.05/include/linux core.c -o core.o
gcc -g -shared -Wl,-soname,libcore.so -o libcore_2_1_0b.so core.o -lc
 * Building GTK+ frontend -- see compilelog.txt for details
Error occurred during initialization of VM
Could not reserve enough space for object heap

!!! ERROR: dev-util/eclipse-sdk-3.0.0 failed.
!!! Function src_compile, Line 246, Exitcode 1
!!! Failed to compile java code (gtk+)


Reproducible: Always
Steps to Reproduce:
1. emerge eclipse-sdk
2.
3.

Actual Results:  
it fails with the following trace :
 * Building Mozilla component
g++ -O -fPIC -fno-rtti -Wall -I./ -I/opt/sun-jdk-1.4.2.05/include
-I/opt/sun-jdk-1.4.2.05/include/linux -include
/usr/lib/mozilla/include/mozilla-config.h -I/usr/lib/mozilla/include
-I/usr/lib/mozilla/include/xpcom -I/usr/lib/mozilla/include/string
-I/usr/lib/mozilla/include/nspr -I/usr/lib/mozilla/include/embed_base
-I/usr/lib/mozilla/include/gfx -c xpcom.cpp
In file included from /usr/lib/mozilla/include/xpcom/nsIServiceManager.h:178,
                 from /usr/lib/mozilla/include/xpcom/nsDirectoryServiceUtils.h:27,
                 from /usr/lib/mozilla/include/xpcom/nsIFile.h:823,
                 from /usr/lib/mozilla/include/xpcom/nsILocalFile.h:10,
                 from /usr/lib/mozilla/include/embed_base/nsEmbedAPI.h:28,
                 from xpcom.cpp:33:
/usr/lib/mozilla/include/xpcom/nsIServiceManagerUtils.h:48: warning: `class
   nsGetServiceByCID' has virtual functions but non-virtual destructor
/usr/lib/mozilla/include/xpcom/nsIServiceManagerUtils.h:81: warning: `class
   nsGetServiceByContractID' has virtual functions but non-virtual destructor
/usr/lib/mozilla/include/xpcom/nsIServiceManagerUtils.h:114: warning: `class
   nsGetServiceFromCategory' has virtual functions but non-virtual destructor
In file included from xpcom.cpp:37:
/usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:45: warning: `class
   nsArrayEnumerator' only defines a private destructor and has no friends
/usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:45: warning: `class
   nsArrayEnumerator' has virtual functions but non-virtual destructor
/usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:72: warning: `class
   nsSingletonEnumerator' only defines a private destructor and has no friends
/usr/lib/mozilla/include/xpcom/nsEnumeratorUtils.h:72: warning: `class
   nsSingletonEnumerator' has virtual functions but non-virtual destructor
g++ -shared -fpic -s -o libswt-mozilla-gtk-3062.so xpcom.o -L/usr/lib/mozilla
-lxpcom
 * Building resources.core plugin
gcc -fPIC -g -c -I/opt/sun-jdk-1.4.2.05/include
-I/opt/sun-jdk-1.4.2.05/include/linux core.c -o core.o
gcc -g -shared -Wl,-soname,libcore.so -o libcore_2_1_0b.so core.o -lc
 * Building GTK+ frontend -- see compilelog.txt for details
Error occurred during initialization of VM
Could not reserve enough space for object heap

!!! ERROR: dev-util/eclipse-sdk-3.0.0 failed.
!!! Function src_compile, Line 246, Exitcode 1
!!! Failed to compile java code (gtk+)


Expected Results:  
success

[root@gui - 22:31:35 - /usr/var/tmp/portage] # emerge info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.4.20040619-r0, 2.6.7-love5)
=================================================================
System uname: 2.6.7-love5 i686 AMD Athlon(TM) MP 2400+
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /etc/tomcat /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 /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/
http://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mirror.sdv.fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups curl dga
directfb doc dvd encode esd evo fam fbcon foomaticdb gdbm ggi gif gnome gphoto2
gpm gtk gtk2 gtkhtml guile imap imlib ipv6 java jikes jpeg kde libg++ libwww mad
mikmod mmx motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline ruby samba scanner sdl slang slp spell ssl
svga tcltk tcpd tetex tiff truetype unicode usb x86 xml2 xmms xosd xv xvid zlib"
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-07-31 14:14:49 UTC
I'm doing eclipse.
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-07-31 16:41:21 UTC
Are you low on memory? Is swap off? Do have any security patches enabled in
your kernel?

Please note that you need about ~700MBs (perhaps more in javadoc) of memory
to compile Eclipse.