Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62580 - ibm-jdk-bin-1.4.1 doesnt work fully on ppc64
Summary: ibm-jdk-bin-1.4.1 doesnt work fully on ppc64
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High blocker
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-01 20:30 UTC by Yang Dehua
Modified: 2004-10-30 09:05 UTC (History)
3 users (show)

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 Yang Dehua 2004-09-01 20:30:29 UTC
When I tried to execute demos in /opt/ibm-jdk-bin-1.4.1/share/demo/jfc/SwingSet2, I got an error: Segmentation fault.
I tried also other apps like compiling apache-ant, the same message appeared.

Reproducible: Always
Steps to Reproduce:
1. Enter dir /opt/ibm-jdk-bin-1.4.1/share/demo/jfc/SwingSet2
2. Execute 
Comment 1 Yang Dehua 2004-09-01 20:30:29 UTC
When I tried to execute demos in /opt/ibm-jdk-bin-1.4.1/share/demo/jfc/SwingSet2, I got an error: Segmentation fault.
I tried also other apps like compiling apache-ant, the same message appeared.

Reproducible: Always
Steps to Reproduce:
1. Enter dir /opt/ibm-jdk-bin-1.4.1/share/demo/jfc/SwingSet2
2. Execute java -jar SwingSet2.jar"
3.

Actual Results:  
Segmentation fault

Expected Results:  
Bring a gui up

Gentoo Base System version 1.4.16
Portage 2.0.50-r10 (default-ppc64-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8-custom)
=================================================================
System uname: 2.6.8-custom ppc64 PPC970, altivec supported
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CFLAGS="-O2 -mtune=G5 -maltivec -mabi=altivec -fno-strict-aliasing  -pipe"
CHOST="powerpc64-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=G5 -maltivec -mabi=altivec -fno-strict-aliasing  -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gg3.net/pub/linux/gentoo/
http://mymirror.asiaosc.org/gentoo/ http://mirror.averse.net/pub/gentoo/
http://gentoo.gg3.net/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arts berkdb cjk cups dvd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib
jpeg kde libwww mitshm motif mozilla mysql nls oggvorbis opengl oss pam perl png
ppc64 python qt readline sdl slang ssl tcpd truetype xv"
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2004-09-02 03:34:04 UTC
hi,

ibm-jdk/jre won't work on ppc64 at the moment, because they depend on nptl, which is only available with linux26-headers, but linux26-headers are not stable on ppc64 due to some compilation errors...

look here: http://www-106.ibm.com/developerworks/java/jdk/linux/RHEL30_NPTL.html

So we have to wait until linux26-headers are stable to use java on ppc64 or untill there is a blackdown jre which does not require nptl...

Markus
Comment 3 Tom Gall (RETIRED) gentoo-dev 2004-09-03 20:04:25 UTC
Ok I've thought this over.

Here's what we're going to do. I think the right thing to do is to create a new profile for NTPL which will allow for java support. This will also allow for use of the 26 headers as well. 

So let the fun begin!
Comment 4 Tom Gall (RETIRED) gentoo-dev 2004-10-30 09:05:00 UTC
ok this should be fixed with the 1.4.2 jdk, the 2004.3 profile and USE="nptl"

enjoy!
Comment 5 Tom Gall (RETIRED) gentoo-dev 2004-10-30 09:05:16 UTC
stick a fork in it