Hi,
I am running Paul's 2.1.125 kernel on my G3 system and I ran your test code
on my system and it worked perfectly:
Here is the output of the compile and run:
[root@kbhend local]# javac Test.java
[root@kbhend local]# java Test
OK
I think this is a library conflict. After you used rpm to upgrade to glibc
version 1m, did you perform a complete shutdown and restart? Doing an
ldconfig is not enough to flush the contents of the shared library cache
for libraries that are currently being used (like glibc) by other programs.
(I have found this out the hard way!)
You will get the seg-fault you describe with the old glibc installed from R4.
Please try the following:
rpm -Uvh glibc*1m* (you might have to try rpm --force -ivh glibc*1m*)
shutdown -r now
Once it gets back up, check what rpm -q glibc returns.
If should be the 1m version. Then retry your sample program.
It should work. It works fine on my system.
If it still fails, e-mail me directly and we can see what other libraries
differ between your linuxppc machine and mine.
I hope this helps.
Kevin
(Blackdown porting team for PPC).
----------------------------------------------------------
Kevin B. Hendricks
Associate Professor, Operations & Information Technology
School of Business, College of William & Mary
Williamsburg, VA 23187, [EMAIL PROTECTED]
http://business.tyler.wm.edu