It seems like ibm-jre-bin and ibm-jdk-bin are no longer working on ppc64. I have an up-to-date ppc64 system, running kernel 2.6.12-rc5. When I try running java I get: $ java -version JVMDG218: JVM is not fully initialized - will not do dump processing. Segmentation fault I think this was the only java available for ppc64. :( Maybe someone could check with IBM on this and see if they have a newer version? Thanks.
Assigning to you guys since nobody from the java team has access to a ppc64 machine. Please advise.
happens with 2.6.11-r9 as well, please find the strace attached.
Created attachment 61129 [details] ibm-jre-bin.strace strace of running java -version
Coworkers on the JRE team have suggested that we're running an old version - will try with sr1a
sr1a fails too - will see if it fails when sr2 releases
This problem is very odd. :-/ $ java -version JVMDG218: JVM is not fully initialized - will not do dump processing. Segmentation fault $ JAVA_COMPILER=none java -version Warning: JIT compiler "none" not found. Will use interpreter. java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2) Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxp641420-20040626 (JIT disabled))
Raised a PMR with the JRE team.
Chris can you do an emerge --info pls?
Sure, here's the info: Gentoo Base System version 1.6.12 Portage 2.0.51.22-r1 (default-linux/ppc64/2004.3, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc5 ppc64) ================================================================= System uname: 2.6.12-rc5 ppc64 PPC970FX, altivec supported ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 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.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="ppc64 ~ppc64" AUTOCLEAN="yes" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O3 -mtune=970 -maltivec -mabi=altivec -pipe" CHOST="powerpc64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mtune=970 -maltivec -mabi=altivec -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc64 X a52 aac alsa altivec berkdb bitmap-fonts bzip2 cdr crypt cups curl dv dvdr encode fam fbcon font-server fortran gdbm gif gpm gtk gtk2 imap jpeg kdeenablefinal lzo mad matroska mbox mjpeg mng motif mozilla mpeg ncurses nodrm ogg opengl perl png python qt readline sdl ssl svg theora tiff truetype truetype-fonts type1-fonts unicode vorbis xml2 xprint xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Test box access granted to JRE dev team
*** Bug 98946 has been marked as a duplicate of this bug. ***
I tried the new IBM sr2 version, but it had the same problem. The problem seems to have someting to do with jit compiler, there is no problem to run java programs when jit is disabled in my system(2.6.12-r4).
Any progress in this regard?
Sadly it seems the JIT compiler team isn't responding anymore. For now, the workaround seems to be to disable the JIT.
This can be done with set/export JAVA_COMPILER=NONE or adding -Djava.compiler=NONE to your java command.
IBM Java5 betas are out: http://www-128.ibm.com/developerworks/java/jdk/java5beta/ I think it is a good idea to test them, isn't it?
Yes, I just tried IBM java5 beta, and it worked with jit enabled. I also ran some apps including eclipse 3.1.1, jboss 4.0.2, and azureus, all of them worked well. i noticed that this beta java5 was much faster than v1.4.2 under my system.
ibm-jdk-bin-1.5.0 is in portage now. it is still hard masked but ~ppc64, so I guess I can close this bug. That version will go stable as normal (4 weeks out of p.masked and no bugs during this period). If anybody wants this still being open, then please reopen.