[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Sam Halliday
Subject: java
Date: Sun, 20 Oct 2002 19:16:29 +0100

hi there,

i was looking for a support email list for glibc, but found none on
www.gnu.org or at redhat...

i am sure that you are fully aware of the recent problem with java-1.4
using internal glibc sysmbols and therefore cannot run with glibc-2.3.1,
the error being
Error occurred during initialization of VM
Unable to load native library:
/opt/non-gnu/java/j2sdk1.4.0/jre/lib/i386/libjava.so: symbol
__libc_waitpid, version GLIBC_2.0 not defined in file libc.so.6 with
link time reference

... but another problem is that now i cannot downgrade glibc and i need a
version of java which works in order to bootstrap a compile of java with
fixed source code. i havnt fixed the source yet, but i think i know where the
problem lies (although i am very busy and ths may take me several weeks
due to other obligations). a quick grep of java sources reveals only one
occurance of this function!
grep -Hrn -e '__libc_waitpid' *
j2se/src/solaris/native/java/lang/UNIXProcess_md.c.linux:33:extern pid_t 
__libc_waitpid(pid_t, int *, int);
j2se/src/solaris/native/java/lang/UNIXProcess_md.c.linux:209:    while ((pid = 
__libc_waitpid(-1, &status, WNOHANG)) > 0) {

i have a funny feeling that all we need to do here is to find a
more elegant way to do what __libc_waitpid(-1, &status, WNOHANG)
does. that should be trivial. i've only looked for a second though. anyone
sure on what __libc_waitpid does exactly? is this even our culprit
symbol/function?? i am not as much a C legend as you guys ;)

is there any chance of a workaround within glibc? or how can i can hack my
own glibc to export the symbols java needs?
PS: please CC responses to me. i would also like to subscribe, but the list 
my address as i am using a local sendmail but claim to have a yahoo address.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]