Emerging eclipse-sdk (either 2.1.3-r3 or 3.0.0_rc1) with gcc-3.4.0-r6 and gtk in USE flag compiles fine, but hangs on splashscreen. Reproducible: Always Steps to Reproduce: 1. emerge eclipse-sdk (with gcc-3.4.0-r6 and USE="gtk") 2. run eclipse-2 Actual Results: Splashscreen appears, then application hangs. Expected Results: Application should start normally. Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.4.20040605-r1, 2.6.7-gentoo-r6) ================================================================= System uname: 2.6.7-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1600MHz 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="-O2 -march=pentium-m -pipe -fomit-frame-pointer" 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="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apm arts avi berkdb caps crypt cups encode esd foomaticdb gcj gdbm gif gnome gpm gtk gtk2 imlib jack jack-tmpfs java jpeg libg++ libwww mad mikmod mmx mozilla moznocompose moznoirc moznomail mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl slang spell sse sse2 ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
I have the same problem with both eclipse 3.0.0_rc1 and 3.0.0. When gtk+ is compiled with gcc-3.4.0-r6, eclipse hangs at startup. When gtk+ is compiled with gcc-3.3.3-r6, eclipse starts normally. Gentoo Base System version 1.5.1 Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r8) ================================================================= System uname: 2.6.7-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.noved.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/portage-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa avi cdr crypt cups dvd encode esd flac gcj gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mmx mpeg ncurses nls nptl opengl oss pam pdflib perl pic png python readline sdl sse ssl svga tcpd truetype x86 xml2 xmms xv xvid zlib"
Another user posted to the forum thread that the problem was with the gtk+ ebuild and gcc-3.4.0-r6. I can confirm that recompiling gtk+ with gcc-3.3.3-r6 allows eclipse-sdk-3.0.0 to build and run correctly.
Bugwranglers: Apparently, this is a bug with gtk+ merely exhibitied by eclipse. Please have the gtk+ maintainers look it over.
I don't know, is there anything more than 'it hangs' ? I'm not using gcc-3.4 yet, so i can't really do much here atm.
Can't really add much - it just sits there at the splashscreen, using 100% cpu. No errors, no log messages. Check out this forum thread for a bit more info: http://forums.gentoo.org/viewtopic.php?t=187026&highlight=eclipse
I'm new to eclipse. I did an emerge eclipse-sdk and ended up with eclipse 2.1.3. I'm running on KDE. I issued the command eclipse-2 and ended up with a splash screen and nothing else. If you start eclipse from a launcher or by clicking on an icon, that's all you get. However, if you launch from a command line, you discover that the splash screen launched eclipse, and eclipse then crashed. I conclude that the splash screen is waiting to hear that eclipse has successfully initialized before disappearing itself. I recommend you try starting eclipse from an xterm. A crash will give you a traceback. In my case, I tracked the problem down to a library conflict. Unless you set some environmant variables correctly, the loader finds the wrong libzip or something. Something similar may be happening in your case. The new gcc may have a different set of default libraries in its library search path, and these may in turn mask some additional java libraries, just as the zip library was masked in my case. If you have another library masking problem, the crash will be in a native method. my workaround is to set the environmant variables LD_LIBRARY_PATH and LD_PRELOAD in the /usr/bin/eclipse-2 script, as I posted in another bug. Forgive me if this speculation is stupid. I'm new to eclipse, Java, and Gentoo.
seems very plausible. can you give the full crashing ouput ? makes this not a gnome problem.
Evidently, this is a problem relating to gcc-3.4. Since gcc-3.4 is not available on plain x86, I don't consider this a major problem; we're already doing testing on amd64 and ppc, where gcc is stable. Will fix it as 3.4 becomes available in ~x86.
As an update, this behaviour exists with gcc-3.4.1-r1 as well, and with gtk+-2.5.1.
Eclipse 3.1_pre1 is starting for me after upgrading to gcc-3.4.2-r1 and doing an emerge -e world. gtk+ is version 2.4.9. I recompiled Eclipse 3.0.0-r3 and it still hangs.
Can you guys have a look at this as well?
sounds like sse2 problem
eclipse-sdk works fine on my x86 machine. - emerge gcc gtk+ eclipse-sdk -pv [ebuild R ] sys-devel/gcc-3.4.3.20050110 -bootstrap* -boundschecking -build -debug +fortran -gcj -gtk -hardened (-ip28) (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 27,896 kB [ebuild R ] x11-libs/gtk+-2.6.1-r2 -debug -doc +jpeg -static +tiff 10,836 kB [ebuild R ] dev-util/eclipse-sdk-3.0.1-r2 +gnome +gtk -kde -motif -mozilla 54,314 kB - emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 30 2005, 05:41:14)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mno-sse3 -mmmx -pipe -fPIC" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse,387 -msse -msse2 -mno-sse3 -mmmx -pipe -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/" LANG="ko_KR.UTF-8" LC_ALL="ko_KR.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acl alsa apm avi berkdb bitmap-fonts cjk crypt cscope cups curl emacs encode f77 fam flac font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imlib jpeg junit libg++ libwww mikmod mmx motif mp3 mpeg mysql ncurses nls nptl nptlonly nvidia oggvorbis opengl oss pam pdflib perl pic png ppds python quicktime readline sdl spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb xml xml2 xmms xprint xv zlib linguas_ko" Unset: ASFLAGS, CBUILD, CTARGET
Works for me, gcc-3.4.4-r1 and eclipse-3.0.1-r2