Gentoo Archives: gentoo-alpha

From: "Jose Luis Rivero (YosWinK)" <yoswink@g.o>
To: gentoo-alpha@l.g.o
Subject: Re: [gentoo-alpha] Recent Glibc breaks CPQ-Java?
Date: Sun, 10 Jul 2005 23:10:51
Hi Brian:

Sorry for my delayed response ... i'm quite busy lately trying to finish 
some real live (tm) issues.

> I've rebuilt my glibc recently and now I'm getting a > strange error with java-config. (mainly I did this because the gcc > version upgraded to 3.3.6 ). > > Can't load library "/opt/compaq-jdk-1.3.1/jre/lib/alpha/", > because /op > t/compaq-jdk-1.3.1/jre/lib/alpha/ symbol __libc_wait, > version GLIBC_2 > .0 not defined in file with link time reference > Could not create the Java virtual machine. > > Any ideas? >
First of all, i would like to clarify that java related bugs in gentoo alpha aren't the first in our TODO list. This has a quite simple explanation: Only java virtual machine actually in portage is "java-compaq" which is not maintained upstream since 1.3.1, so try to solve bugs without upstream support and without new 1.4 (or 1.5) java branch could be very bad idea. Summarizing: java bugs are always welcome (of course) but response might be very slow or non-existant. After this, I have to say that last month i was playing with java trying to make things work on alpha and i found same problem with __libc_wait. I found a patch (in some alpha related malling list) that works fine for me, if you want give it a look: - 1. Download the patch - 2. Place where you want, and compile it with: gcc -shared -o libcwait.c -fpic -O - 3. Preload the patch writing at the beginning of /opt/compaq-jdk/bin/java LD_PRELOAD=/path-to-file/ export LD_PRELOAD I would appreciate a lot that you report the results, maybe we could include it into the tree if it solves some of our problems. I hope back to have some free time for Gentoo at the end of this month to continue playing with java and trying to get 1.4 branch in alpha. Bye and sorry again for the delay. -------------------------------- YosWinK @ Gentoo GDP Gentoo Alpha Dev -- gentoo-alpha@g.o mailing list


Subject Author
Re: [gentoo-alpha] Recent Glibc breaks CPQ-Java? Brian Parkhurst <brianp@×××××××.net>