Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94906 - ibm-jre-bin and ibm-jdk-bin not working on ppc64
Summary: ibm-jre-bin and ibm-jdk-bin not working on ppc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC64 Linux
: High major (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
: 98946 (view as bug list)
Depends on:
Blocks: 93807 113192
  Show dependency tree
 
Reported: 2005-06-03 03:36 UTC by Chris L. Mason
Modified: 2006-02-01 10:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ibm-jre-bin.strace (ibm-jre-bin.strace,187.74 KB, application/octet-stream)
2005-06-12 17:21 UTC, Omkhar Arasaratnam (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris L. Mason 2005-06-03 03:36:25 UTC
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.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-06-12 06:05:08 UTC
Assigning to you guys since nobody from the java team has access to a ppc64
machine. Please advise.
Comment 2 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-06-12 17:18:42 UTC
happens with 2.6.11-r9 as well, please find the strace attached.
Comment 3 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-06-12 17:21:56 UTC
Created attachment 61129 [details]
ibm-jre-bin.strace

strace of running java -version
Comment 4 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-06-13 10:40:18 UTC
Coworkers on the JRE team have suggested that we're running an old version -
will try with sr1a
Comment 5 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-06-13 12:45:25 UTC
sr1a fails too - will see if it fails when sr2 releases
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2005-06-15 03:19:21 UTC
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)) 
Comment 7 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-06-15 06:13:24 UTC
Raised a PMR with the JRE team.
Comment 8 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-06-15 06:33:39 UTC
Chris can you do an emerge --info pls?
Comment 9 Chris L. Mason 2005-06-15 07:03:59 UTC
 
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 
 
Comment 10 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-06-16 06:37:44 UTC
Test box access granted to JRE dev team
Comment 11 Petteri Räty (RETIRED) gentoo-dev 2005-07-15 00:06:51 UTC
*** Bug 98946 has been marked as a duplicate of this bug. ***
Comment 12 Yang Dehua 2005-07-15 00:19:23 UTC
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).
Comment 13 Yang Dehua 2005-08-09 17:45:35 UTC
Any progress in this regard?
Comment 14 Omkhar Arasaratnam (RETIRED) gentoo-dev 2005-08-10 06:14:23 UTC
Sadly it seems the JIT compiler team isn't responding anymore.

For now, the workaround seems to be to disable the JIT.
Comment 15 Brent Baude (RETIRED) gentoo-dev 2005-08-30 06:20:31 UTC
This can be done with set/export JAVA_COMPILER=NONE or adding
-Djava.compiler=NONE to your java command.
Comment 16 Markus Rothe (RETIRED) gentoo-dev 2005-10-06 23:23:17 UTC
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?
Comment 17 Yang Dehua 2005-10-07 02:17:42 UTC
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. 
Comment 18 Markus Rothe (RETIRED) gentoo-dev 2006-02-01 10:30:23 UTC
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.